CN114157886B - Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file - Google Patents
Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file Download PDFInfo
- Publication number
- CN114157886B CN114157886B CN202111434352.4A CN202111434352A CN114157886B CN 114157886 B CN114157886 B CN 114157886B CN 202111434352 A CN202111434352 A CN 202111434352A CN 114157886 B CN114157886 B CN 114157886B
- Authority
- CN
- China
- Prior art keywords
- epg
- agenda
- video
- live
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000001172 regenerating effect Effects 0.000 claims description 10
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 9
- 238000012795 verification Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000015572 biosynthetic process Effects 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000003786 synthesis reaction Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 8
- 238000009825 accumulation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26283—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/23439—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/44029—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display for generating different versions
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method for automatically compiling a recorded broadcast to a live broadcast EPG by identifying video files, which comprises the steps of dividing a program list into a user EPG and a live broadcast EPG; newly-built user EPG comprises setting user EPG attribute, splitting EPG agenda program, setting agenda program duration and the like; the newly-built live EPG comprises the steps of reading a user EPG, setting a live video format, synchronizing program information of a user EPG agenda, uploading original video according to an agenda program list, identifying video Meta information, transcoding the video into the live video format and the like; and then starting live broadcasting, and simultaneously carrying out real-time maintenance and program updating on the live broadcasting state, the broadcasting time, whether the original video is uploaded according to a program list and the quality of the combined and optimized live broadcasting video. The invention solves the two-dimensional requirements of information propaganda and live broadcast control by dividing the EPG facing users and the EPG facing a live broadcast system, realizes the possibility of editing the EPG programs of users of non-technical operators, and facilitates the editing and management of program lists.
Description
Technical Field
The invention relates to the technical field of live broadcasting of computer software, in particular to a method for automatically compiling a recorded broadcast-to-live broadcast EPG by identifying video files.
Background
With the rapid development of internet technology, more and more users use terminals such as computers and mobile phones to watch online video live broadcast through a network, especially under the condition of needing home and office, the requirements of enterprises and schools on online conferences and online lessons are more and more strong, but the enterprise end or the school end hopes to completely take the online live broadcast flow as the flow of an enterprise offline meeting or a school class, as if each enterprise meeting flow is different, the video is submitted according to the video recorded by a guest when the guest time is uncertain in the process of playing, the video is repeatedly submitted due to re-recording generated by strict video auditing, and the format and code rate of the recorded video are possibly different from those of the live broadcast video.
The existing live EPG arrangement determines that a unchanged scene is too coarse to cope with application scenes with short display period and changeable process of the enterprise based on video data, and meanwhile, scattered guest videos and related process videos are combined into one live video in order to ensure smooth playing from the technical point of view so as to reduce extra network delay caused by excessive video loading. The method for automatically updating the EPG time table by using the file system to read the video file attribute and automatically converting and generating the video file meeting the live broadcast code rate and recording the frame information after combining the video fragments solves the problems in the process of recording, broadcasting and converting live broadcast.
Disclosure of Invention
Aiming at the technical problems in the related art, the invention provides a method for automatically compiling a recorded broadcast-to-live EPG by identifying video files, which can overcome the defects of the prior art method.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
a method for automatically compiling a recorded broadcast-to-live EPG by identifying video files comprises the following steps:
s1, firstly, dividing an electronic program EPG program list into a user EPG facing a user and a live broadcast EPG facing a live broadcast system;
s2, newly creating the user EPG, and simultaneously, setting the user EPG attribute, splitting EPG agenda programs, setting agenda program time length, setting agenda program playing stages, automatically calculating the program time of each agenda program, generating a version number MD5 and sending user EPG notification;
s3, newly creating a live EPG, and simultaneously, reading a user EPG, setting a live video format, synchronizing program information of a user EPG agenda, uploading original video according to an agenda program list, identifying video Meta information, transcoding the video into the live video format, calculating broadcasting time of each agenda of the live EPG, generating a live EPG MD5 code, merging and optimizing a final live video, regenerating a live EPG Md5, uploading the original video according to the agenda program list and identifying video Meta information;
and S4, after the live EPG and the user EPG are newly established, starting live broadcasting, and simultaneously maintaining the live broadcasting state, the broadcasting time, whether to upload the original video according to a program list and merge and optimize the quality of the live broadcasting video in real time and updating Cheng Jiemu, and further maintaining the modified EPG agenda program, the modified agenda program time length and the modified agenda program playing stage, automatically calculating the program time of each agenda program, generating version numbers and sending user EPG updating notification in real time.
Further, in step S2, the set agenda program duration is to automatically calculate a start time and an end time of each agenda program according to each agenda duration to set a start link; the program playing stage of the agenda is used for setting a live broadcast starting link and a live broadcast ending link of the meeting, and the starting time and the ending time of each agenda program are automatically calculated by combining the starting time of the starting link and the program duration of the meeting after setting; the generation version number MD5 is that the whole file is processed by an MD5 character string transformation algorithm and then MD5 of the file is output, and a unique MD5 information abstract is generated; and the step of sending the user EPG update notification is to send a user EPG change message to a message middleware, and the live EPG generation flow automatically executes synchronous information.
Further, in step S4, the step of updating the agenda program in the live EPG includes receiving a user EPG discovery change notification, synchronizing the start or end of the agenda program, synchronizing the playing phase of the user EPG agenda program, uploading the original video according to the agenda program, identifying the Meta information of the video, transcoding the video into the live format, calculating the playing time of each agenda of the live EPG, generating the MD5 code of the live EPG, merging and optimizing the final live video, and regenerating the MD5 of the live EPG.
Further, in step S3, the reading user EPG needs to read two pieces of core metadata, namely, the agenda sequence number and the live broadcast stage of the agenda program in the user EPG; after the live video format is set, repeated transcoding needs to be avoided before uploading the agenda program video, and a file system monitoring program starts transcoding after the video is successfully uploaded; the synchronous user EPG agenda program information is that a user EPG sends a change message to a message middleware, and a message monitoring process receives two core metadata of an agenda sequence number and a live broadcast stage of an agenda program in a subscription message synchronous user EPG to a live broadcast EPG; after the original video is uploaded according to the agenda program list, generating an original video file version number and an original video file MD5 verification code; the identification video Meta information is automatically identified based on a technical video service; the video transcoding into a live broadcast format is that after the original video of the agenda program is uploaded, the video service performs transcoding into a unified video format and reads transcoding Metadata information, including total frame number and video duration information.
Further, in step S3, the broadcasting time of each agenda of the live broadcast PEG is calculated in two live broadcast modes, i.e., a live broadcast mode one and a live broadcast mode two, where the live broadcast mode one is calculated in a time dimension, and the starting time and the ending time of each agenda program of the live broadcast EPG are automatically calculated by combining the starting time of the starting link with the transcoding video duration of each agenda according to the agenda sequence number of the starting link; and in the second live broadcast mode, the video frame dimension calculation is carried out, and the starting frame and the ending frame of each agenda program of the live broadcast EPG are automatically calculated by taking the starting frame of the starting link as the starting frame and combining the total frame number of the transcoded video of each agenda according to the agenda sequence of the starting link.
In step S3, after the uploading and transcoding of the new video file are successful, the message middleware notifies the video service to arrange the sequence numbers of the live EPG to sequentially merge and transcode the video into a single live file, after the merging is completed, all agenda video files in the live EPG are updated into unified video files, and when each agenda conference video is merged, the live stage information of the current agenda is read and video file stream synthesis is performed on the current agenda transcoded video; and the step of regenerating the live EPG MD5 is to combine all agenda video files into a unified video file, update the live EPG simultaneously, read the final version EPG information to generate EPG information Json, and generate a final MD5 verification code.
The invention has the beneficial effects that: the EPG time table is automatically updated by utilizing the file system to read the video file attributes, and meanwhile, the video files meeting the live broadcast code rate can be automatically converted and generated, so that the online large-meeting recorded broadcast is conveniently converted into the live broadcast EPG and the broadcast control is conveniently arranged.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic overall structure flow diagram of a method for automatically programming a recorded broadcast-to-live EPG by identifying video files according to an embodiment of the present invention.
Fig. 2 is a flowchart of user EPG generation by identifying a method for automatically programming a recorded broadcast to live EPG for video files according to an embodiment of the present invention.
Fig. 3 is a flowchart of generating a live EPG by identifying a method for automatically programming a recorded broadcast to live EPG for a video file according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of the present invention, and the above technical solutions of the present invention will be described in detail below by way of specific usage modes for convenience of understanding the present invention.
As shown in fig. 1, the method for automatically compiling a recorded broadcast-to-live EPG by identifying video files according to an embodiment of the present invention includes the following steps:
firstly, dividing an electronic program EPG program list into a user EPG facing a user and a live EPG facing a live broadcast system; the user EPG is provided for users to know schedule and agenda arrangement references of online conferences, and mainly attracts users to pay attention to play a role in propaganda, the user EPG requires that the conference agenda is consistent with a live EPG agenda, but the agenda time is estimated to be inaccurate to seconds and also meets the inertial requirement of propaganda, for example, the total duration of one conference is not more than 2.5-3 hours, and the speaking time of each guest is not more than 20 minutes; the live EPG is the only basis of the real live program, and the live server pushes the control script schedule. The user EPG example is shown in table 1 and the live EPG example is shown in table 2.
TABLE 1
TABLE 2
As shown in fig. 2, creating the user EPG includes setting the user EPG attribute, splitting the EPG agenda program, setting the agenda program time length, setting the agenda program playing stage, automatically calculating the agenda program time, generating the version number MD5, and sending the user EPG notification.
The setting of the user EPG attribute is, for example: one day can hold multi-field theme live broadcasting, one theme live broadcasting is that one field of forum needs one EPG, and the EPG comprises a sponsoring date, a forum name, a version number, an EPG information version number and an EPG information MD5 verification code, wherein two new user EPG data are generated on the basis of original user EPG information each time the user EPG is updated, one new user EPG data is generated as a revised version (based on the time of the day, such as updating a plurality of version number accumulation 1 in one day, the format is u-yyyyMMDDhmms-v [1-n ]), one new user EPG data is generated as a final version EPG information with last/empty as a version number, and simultaneously two EPG information MD5 verification codes are generated again by using a user EPG information JSON string.
The user EPG is composed of agenda programs, and mainly plays a propaganda effect for meeting users and meets the propaganda inertia requirement, and the split EPG agenda programs comprise agenda sequence numbers, agenda program names, agenda program starting time, agenda program ending time, duration, guest information and playing stages of the agenda programs, wherein the agenda sequence numbers are the only basis for combining the playing sequence of the first live broadcast mode and the video files of the second live broadcast mode.
The setting of the agenda program duration is to automatically calculate the starting time and the ending time of each agenda program according to each agenda duration to set a starting link; the program playing stage of the agenda is used for setting a live broadcast starting link and a live broadcast ending link of the meeting, and the starting time and the ending time of each agenda program are automatically calculated by combining the starting time of the starting link and the program duration of the meeting after setting; the generation version number MD5 is that after the whole file is processed by an MD5 character string transformation algorithm, the MD5 of the file is output, a unique MD5 information abstract is generated, the function of digital signature to prevent tampering is achieved, the generation of EPG information JSON before the EPG is issued executes MD5 comparison, inconsistent rollback is found to the last revision, the revision MD5 comparison is executed in sequence until the MD5 is consistent, safety alarm is initiated, two version numbers are generated when new EPG information is generated, and the final version is: last/empty, process version, i.e. revision: u-yyyMMDDhmms-v (1-n). Executing rollback to the modified version when the EPG is tampered; and the step of sending the user EPG update notification is to send a user EPG change message to a message middleware, and the live EPG generation flow automatically executes synchronous information. The user EPG is generated in an online live broadcast planning period, the schedule of a big meeting, the topic and the agenda and the reference time of the meeting planning are basically determined, the live broadcast video recording is not completed, the agenda is gradually clear, the user is mainly provided with the schedule and agenda reference for knowing the online meeting, and the schedule and agenda of the online meeting can not be changed in 3-5 days before live broadcast color scheduling in general.
When the program list of the user EPG agenda needs to be modified, the agenda sequence number needs to be focused when the user EPG agenda needs to be adjusted, the EPG playing sequence is ensured to be correct, the error of automatic program update EPG time and direct broadcast EPG combined direct broadcast video program is avoided, the agenda program duration and agenda program playing stage are modified, the program time of each agenda is automatically calculated, the version number/MD 5 is generated, and the user EPG update notification is sent.
As shown in fig. 3, performing the new live EPG includes reading the user EPG, setting the live video format, synchronizing the program information of the user EPG agenda, uploading the original video according to the agenda program, identifying the video Meta information, transcoding the video into the live format, calculating the playing time of each agenda of the live EPG, generating the MD5 code of the live EPG, merging and optimizing the final live video, regenerating the live EPG MD5, uploading the original video according to the agenda program, and identifying the video Meta information. The live EPG is a final play program list, the agenda program play metadata information obtains the related attributes of the live EPG and the live video from a file system/streaming media system, the agenda and the user EPG are kept synchronous, the update is automatically calculated by uploading agenda video drive by a manager/user, and in principle, the end of live color bars cannot be changed any more.
The user EPG is read to read two core metadata of a agenda sequence number and a live broadcast stage of a agenda program in the user EPG; the live video format is generally to play super-clear, high-definition, clear and smooth live streams according to the requirements of enterprises on broadcasting image quality and payment conditions, set into a default standard live video format, determine to avoid repeated transcoding after the setting, and start transcoding by a file system monitoring program after the uploading of video is successful before uploading of agenda program video; the synchronous user EPG agenda program information is that a user EPG sends a change message to a message middleware, and a message monitoring process receives two core metadata of an agenda sequence number and a live broadcast stage of an agenda program in a subscription message synchronous user EPG to a live broadcast EPG; after the original video is uploaded according to the agenda program list, generating an original video file version number and an original video file MD5 verification code, wherein two pieces of original video file version number information are generated, one piece of original video file version number information is used as a video file revision to generate a new version number (based on the time of the day, if the version number is updated for a plurality of times a day to accumulate 1, the format is o-yyyMMDDhmms-v [1-n ]), one piece of original video file version is used as a final version number, last/empty is used as a version number, and when the file is tampered, the original video file is rolled back to the final revision, MD5 comparison is sequentially executed until MD5 is consistent, and a safety alarm is initiated; the identification video Meta information is automatically identified based on a technical video service; the video transcoding into a live broadcast format is that after the original video of the agenda program is uploaded, the video service performs transcoding into a unified video format, meanwhile, transcoded Metadata information is read, the transcoded Metadata information comprises information such as total frame number and video duration, two version numbers are generated when new EPG information is generated, and a final version is generated: last/empty, process version, i.e. revision: t-yyyMMDDhmms-v (1-n). The rollback to the modified version is performed when the EPG is tampered with.
Calculating broadcasting time of each agenda of the live broadcast PEG, wherein the broadcasting time of each agenda of the live broadcast PEG is calculated in a live broadcast mode I and a live broadcast mode II, the live broadcast mode I is calculated in a time dimension, and starting time and ending time of each agenda program of the live broadcast EPG are automatically calculated by taking starting time of a starting link as starting time and combining transcoding video duration of each agenda according to agenda sequence numbers of the starting link; and in the second live broadcast mode, the video frame dimension calculation is carried out, and the starting frame and the ending frame of each agenda program of the live broadcast EPG are automatically calculated by taking the starting frame of the starting link as the starting frame and combining the total frame number of the transcoded video of each agenda according to the agenda sequence of the starting link.
The two live modes are aimed at the real situation that the live video of the agenda is determined to be submitted at a later time, which may be caused by the multiple recording and zero-time recording of the video of the agenda. The first live broadcast mode is that each agenda program is an independent video, and the video is sequentially played according to a live broadcast EPG sequence when being played, the problem of disk IO performance of reading a subsequent file stream exists in the first live broadcast mode, delay between two agenda programs can be caused by feeding back the live broadcast stream, and the phenomenon seen by a user is a network buffering delay phenomenon; and in the second live mode, all agenda programs are combined into a single video, and the same video is played, so that the playing delay problem caused by the segmented reading of video files in the live process in the mode 1 can be effectively reduced.
And if the live broadcast preparation time is abundant and the combined video can be completed, adopting a high-quality playing mode II, otherwise adopting a mode I.
The merging and optimizing final live video is realized by informing a video service to arrange live EPG sequence numbers to sequentially merge and convert the coded video into a single live video through a message middleware after the uploading and transcoding of the new video file are successful, updating all agenda video files in the live EPG into a unified video file after the merging is finished, and reading live broadcast stage information of a current agenda and the current agenda transcoding video to carry out video file stream synthesis when merging each agenda meeting video; and the step of regenerating the live EPG MD5 is to combine all agenda video files into a unified video file, update the live EPG simultaneously, read the final version EPG information to generate EPG information Json, and generate a final MD5 verification code.
The step of the live EPG in updating the agenda program comprises the steps of receiving a user EPG discovery change notification, synchronizing the start or end of the agenda program, synchronizing the playing stage of the user EPG agenda program, uploading original video according to the agenda program, identifying video Meta information, transcoding the video into a live format, calculating the playing time of each agenda of the live EPG, generating a live EPG MD5 code, merging and optimizing the final live video and regenerating a live EPG Md5.
When the agenda program video file is updated, uploading an original video according to the agenda program, recording a new video after the agenda guests are replaced, recording video re-recordings caused by auditing and other reasons, re-submitting the new agenda video, starting an updating process by the uploaded original video, identifying video Meta information, transcoding the video into a live broadcast format, calculating the broadcasting time of each agenda of a live broadcast EPG, generating a live broadcast EPG verification code, merging and optimizing the final live broadcast video, and regenerating a live broadcast EPG Md5.
After the live EPG and the user EPG are newly established, the live broadcast is started, and the live broadcast state, the broadcast time, whether the original video is uploaded according to a program list or not and the quality of the combined and optimized live broadcast video are maintained in real time and updated Cheng Jiemu, and the method further comprises the steps of modifying EPG agenda programs, modifying agenda program duration and modifying agenda program playing stages, automatically calculating the program time of each agenda program, generating version numbers and sending user EPG update notices to maintain in real time.
The user EPG is customized by enterprises to define agenda and duration, and the live EPG completely and automatically maintains broadcast control data after the system synchronizes the user EPG agenda definition information; after the user programs the agenda programs in the conference EPG are arranged on the operation, maintenance work only needs to upload video files corresponding to the agenda programs; the program implementation is realized by designating the start link of the agenda, and the automatic calculation of the agenda program time, the automatic optimization of the live stream and the like are completed by automatically identifying the video time length and the video file meta information when the agenda video is uploaded, so that the time programming errors possibly caused by manually programming two program menus EPG are reduced.
In summary, by means of the technical scheme of the invention, the EPG program list is divided into the EPG facing the user and the EPG facing the live broadcast system to solve the two-dimensional requirements of information propaganda and live broadcast control, thereby ensuring propaganda requirements and actual live broadcast progress control accuracy, realizing the possibility of arranging EPG programs facing the user for non-technical operators, facilitating program list editing and management, breaking the tradition of coding by technical staff, and reducing the labor intensity of technical staff.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.
Claims (6)
1. A method for automatically programming a recorded broadcast-to-live EPG by identifying video files, comprising the steps of:
s1, firstly, dividing an electronic program EPG program list into a user EPG facing a user and a live broadcast EPG facing a live broadcast system;
s2, newly creating the user EPG, and simultaneously, setting the user EPG attribute, splitting EPG agenda programs, setting agenda program time length, setting agenda program playing stages, automatically calculating the program time of each agenda program, generating a version number MD5 and sending user EPG notification;
s3, newly creating a live EPG, and simultaneously, reading a user EPG, setting a live video format, synchronizing program information of a user EPG agenda, uploading original video according to an agenda program list, identifying video Meta information, transcoding the video into the live video format, calculating broadcasting time of each agenda of the live EPG, generating a live EPG MD5 code, merging and optimizing a final live video, regenerating a live EPG Md5, uploading the original video according to the agenda program list and identifying video Meta information;
and S4, after the live EPG and the user EPG are newly established, starting live broadcasting, and simultaneously maintaining the live broadcasting state, the broadcasting time, whether to upload the original video according to a program list and merge and optimize the quality of the live broadcasting video in real time and updating Cheng Jiemu, and further maintaining the modified EPG agenda program, the modified agenda program time length and the modified agenda program playing stage, automatically calculating the program time of each agenda program, generating version numbers and sending user EPG updating notification in real time.
2. The method for automatically programming a recorded broadcast-to-live EPG by identifying video files according to claim 1, wherein in step S2, the program duration of the agenda is set by automatically calculating a start time and an end time of each agenda according to each agenda duration to set a start link; the program playing stage of the agenda is used for setting a live broadcast starting link and a live broadcast ending link of the meeting, and the starting time and the ending time of each agenda program are automatically calculated by combining the starting time of the starting link and the program duration of the meeting after setting; the generation version number MD5 is that the whole file is processed by an MD5 character string transformation algorithm and then MD5 of the file is output, and a unique MD5 information abstract is generated; and the step of sending the user EPG update notification is to send a user EPG change message to a message middleware, and the live EPG generation flow automatically executes synchronous information.
3. The method for automatically programming a recorded broadcast to a live broadcast EPG by identifying video files according to claim 1, wherein in step S4, the step of updating the live broadcast EPG includes receiving a user EPG discovery change notification, synchronizing the start or end of the agenda program, synchronizing the user EPG agenda program play phases, uploading original video according to the agenda program, identifying video Meta information, transcoding video to a live broadcast format, calculating the broadcast time of each agenda of the live broadcast EPG, generating the MD5 code of the live broadcast EPG, merging the optimized final live broadcast video, and regenerating the live broadcast EPG MD5.
4. The method for automatically programming a recorded broadcast to live EPG by identifying video files according to claim 1, wherein in step S3, the reading user EPG needs to read two pieces of core metadata, namely, a agenda sequence number in the user EPG and a live broadcast stage in which the agenda program is located; after the live video format is set, repeated transcoding needs to be avoided before uploading the agenda program video, and a file system monitoring program starts transcoding after the video is successfully uploaded; the synchronous user EPG agenda program information is that a user EPG sends a change message to a message middleware, and a message monitoring process receives two core metadata of an agenda sequence number and a live broadcast stage of an agenda program in a subscription message synchronous user EPG to a live broadcast EPG; after the original video is uploaded according to the agenda program list, generating an original video file version number and an original video file MD5 verification code; the identification video Meta information is automatically identified based on a technical video service; the video transcoding into a live broadcast format is that after the original video of the agenda program is uploaded, the video service performs transcoding into a unified video format and reads transcoding Metadata information, including total frame number and video duration information.
5. The method for automatically programming a recorded broadcast to a live broadcast EPG by identifying video files according to claim 1, wherein in step S3, the broadcasting time of each agenda of the live broadcast EPG is calculated by dividing the broadcasting time into two live broadcast modes, namely a live broadcast mode I and a live broadcast mode II, the live broadcast mode I is calculated by a time dimension, and the starting time and the ending time of each agenda program of the live broadcast EPG are automatically calculated by combining the starting time of a starting link with the transcoding video duration of each agenda according to the agenda sequence number of the starting link forwards or backwards; and in the second live broadcast mode, the video frame dimension calculation is carried out, and the starting frame and the ending frame of each agenda program of the live broadcast EPG are automatically calculated by taking the starting frame of the starting link as the starting frame and combining the total frame number of the transcoded video of each agenda according to the agenda sequence of the starting link.
6. The method for automatically compiling a recorded broadcast to a live broadcast EPG through identifying video files according to claim 1, wherein in step S3, the step of merging and optimizing the final live broadcast video is to inform a video service to arrange the sequence numbers of the live broadcast EPG to sequentially merge and transcode the video into a single live broadcast file through a message middleware after the uploading and transcoding of the new video file are successful, update all agenda video files in the live broadcast EPG into a unified video file after merging is completed, and read the information of the live broadcast stage of the current agenda and the transcoded video of the current agenda to carry out video file stream synthesis when merging each agenda meeting video; and the step of regenerating the live EPG MD5 is to combine all agenda video files into a unified video file, update the live EPG simultaneously, read the final version EPG information to generate EPG information Json, and generate a final MD5 verification code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111434352.4A CN114157886B (en) | 2021-11-29 | 2021-11-29 | Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111434352.4A CN114157886B (en) | 2021-11-29 | 2021-11-29 | Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114157886A CN114157886A (en) | 2022-03-08 |
CN114157886B true CN114157886B (en) | 2023-08-08 |
Family
ID=80454384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111434352.4A Active CN114157886B (en) | 2021-11-29 | 2021-11-29 | Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114157886B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130073751A (en) * | 2011-12-23 | 2013-07-03 | 주식회사 케이티 | System and terminal for rearranging live channel and generating complex contents using index file |
CN103596020A (en) * | 2013-09-03 | 2014-02-19 | 百视通网络电视技术发展有限责任公司 | Method and system for mixed arrangement and playing of television programs |
CN103702233A (en) * | 2013-12-16 | 2014-04-02 | Tcl集团股份有限公司 | System and method for realizing virtual live webcast |
KR20140134097A (en) * | 2013-05-13 | 2014-11-21 | 주식회사 알티캐스트 | Method and Apparatus for providing recording service in cloud environment |
CN104754366A (en) * | 2015-03-03 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Audio and video file live broadcasting method, device and system |
CN104869436A (en) * | 2015-05-05 | 2015-08-26 | 成都视达科信息技术有限公司 | Virtual carousel service system and method |
WO2017000695A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Method and device for displaying electronic program guide (epg), and set top box |
CN113365122A (en) * | 2021-06-18 | 2021-09-07 | 帕科视讯科技(杭州)股份有限公司 | Dynamic arrangement method of EPG visual page |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2446623A4 (en) * | 2009-06-24 | 2014-08-20 | Vidyo Inc | System and method for an active video electronic programming guide |
US20160150285A1 (en) * | 2014-11-26 | 2016-05-26 | Time Warner Cable Enterprises Llc | Electronic program guide with on-demand cross-references |
-
2021
- 2021-11-29 CN CN202111434352.4A patent/CN114157886B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130073751A (en) * | 2011-12-23 | 2013-07-03 | 주식회사 케이티 | System and terminal for rearranging live channel and generating complex contents using index file |
KR20140134097A (en) * | 2013-05-13 | 2014-11-21 | 주식회사 알티캐스트 | Method and Apparatus for providing recording service in cloud environment |
CN103596020A (en) * | 2013-09-03 | 2014-02-19 | 百视通网络电视技术发展有限责任公司 | Method and system for mixed arrangement and playing of television programs |
CN103702233A (en) * | 2013-12-16 | 2014-04-02 | Tcl集团股份有限公司 | System and method for realizing virtual live webcast |
CN104754366A (en) * | 2015-03-03 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Audio and video file live broadcasting method, device and system |
CN104869436A (en) * | 2015-05-05 | 2015-08-26 | 成都视达科信息技术有限公司 | Virtual carousel service system and method |
WO2017000695A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Method and device for displaying electronic program guide (epg), and set top box |
CN113365122A (en) * | 2021-06-18 | 2021-09-07 | 帕科视讯科技(杭州)股份有限公司 | Dynamic arrangement method of EPG visual page |
Non-Patent Citations (1)
Title |
---|
G. S. Lee.Interactive data broadcasting services based on middleware technology in T-DMB.《IEEE Transactions on Consumer Electronics》.2008,第54卷(第4期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN114157886A (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20010004417A1 (en) | Video editing system | |
US7330875B1 (en) | System and method for recording a presentation for on-demand viewing over a computer network | |
CN103002330B (en) | Method for editing multiple videos shot at same time and place through network, client side, server and system | |
US20090097815A1 (en) | System and method for distributed and parallel video editing, tagging, and indexing | |
AU2009236622B2 (en) | Method and apparatus for associating metadata with content for live production | |
CN109587570B (en) | Video playing method and device | |
KR20110100638A (en) | Synchronizing presentation states between multiple applications | |
US10313724B1 (en) | Media-broadcasting system with broadcast schedule simulation feature | |
US11689749B1 (en) | Centralized streaming video composition | |
CN101999227A (en) | Method and apparatus for content replacement in live production | |
US20210264686A1 (en) | Method implemented by computer for the creation of contents comprising synthesis images | |
CN114071226A (en) | Video preview graph generation method and device, storage medium and electronic equipment | |
US11962818B2 (en) | Systems and methods for optimizing a set-top box to retrieve missed content | |
US20180098099A1 (en) | Real-time data updates from a run down system for a video broadcast | |
CN114157886B (en) | Method for automatically compiling recorded broadcast to live broadcast EPG by identifying video file | |
US20220171654A1 (en) | Version control system | |
US20110082869A1 (en) | Device and method for processing information | |
GB2563267A (en) | Methods and systems for generating a reaction video | |
CN115314732B (en) | Multi-user collaborative film examination method and system | |
US12010161B1 (en) | Browser-based video production | |
US20200053394A1 (en) | Content processing apparatus, content processing method, and program | |
US11395049B2 (en) | Method and device for content recording and streaming | |
US9691430B2 (en) | Opportunistic frame caching | |
JP5209882B2 (en) | Program distribution system and program distribution program | |
CN113938693A (en) | Enterprise online forum broadcast control system for offline recorded video online live broadcast |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |