CN103024289B - A kind of edit methods based on M3U8 list protocol live TV stream and device - Google Patents
A kind of edit methods based on M3U8 list protocol live TV stream and device Download PDFInfo
- Publication number
- CN103024289B CN103024289B CN201210586256.6A CN201210586256A CN103024289B CN 103024289 B CN103024289 B CN 103024289B CN 201210586256 A CN201210586256 A CN 201210586256A CN 103024289 B CN103024289 B CN 103024289B
- Authority
- CN
- China
- Prior art keywords
- file
- stream
- live
- time point
- module
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005243 fluidization Methods 0.000 claims abstract description 14
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000003892 spreading Methods 0.000 description 1
- 238000003860 storage 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
-
- 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
- H04N21/43072—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
-
- 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/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/2368—Multiplexing of audio and video streams
-
- 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/242—Synchronization processes, e.g. processing of PCR [Program Clock References]
-
- 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/26258—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 generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- 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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4341—Demultiplexing of audio and video streams
-
- 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of edit methods based on M3U8 list protocol live TV stream. Described method includes: obtain the broadcast information of the live TV stream based on M3U8 list protocol; The TS file specifying position is obtained according to described fileinfo; Edit described TS file; Appointment address it is pushed to after TS file after editor is carried out fluidization treatment. With it, be capable of for the real-time edition based on M3U8 list protocol live TV stream. The invention also discloses the device for realizing described method.
Description
Technical field
The present invention relates to broadcasting television technology field, particularly relate to a kind of edit methods based on M3U8 list protocol live TV stream and device.
Background technology
TV programme editor is the business that radio, TV and film industries must relate in new media field, and video signal is digitized including by hardware device and corresponding software, and editing link then relies primarily on perfect in shape and function, reliable and stable TV programme editing system. Existing TV programme editing system be all by program by date and the time period first include, afterwards according to process requirements, the digital file included is downloaded to editor terminal, now, program is close of transmission already, such as: the news hookup of CCTV, duration 30 minutes, close of transmission is substantially at 19:30, and the fastest time edited also to wait until 19:31, it is assumed that need editor 15 minutes, so, having edited at 19:45, this edit mode is for new media, ageing very poor.
Existing TV programme editing system mainly completes a few partial function, as: program editing, program prime information mark, audio frequency effect, special technology making, captions making etc., usual system can comprise: video load-on module, video production module, video information labeling module, video processing module. Video load-on module primary responsibility, video is downloaded and video essential information is extracted; Video production module is responsible for video is carried out various processing, as: the functions such as Audio Processing, special technology making, captions making; Information labeling module is responsible for the raw information in video is extracted, as: title, key word, column, channel, be briefly described, host, the content such as welcome guest; Video processing module is processing links last in whole system, and it is responsible for after the various process tissues of early stage to handle together, ultimately generate objective result.
The limitation of above-mentioned existing system is specific as follows:
1, need to wait that television program transmission completes to start editor
This is the shortcoming that existing TV programme editing system is maximum, and existing system is all TV programme included as digital file according to channel and time period, is then scheduled for editor according to process requirements; It practice, TV programme now to be processed terminate already, adding required consuming time of editor, reaching the standard grade of program is ageing very low, and this application required for some timeliness of reaching the standard grade in new media business is unacceptable.
2, the television program video load time is long
Illustrate by about about 30 minutes TV programme, general about 30 seconds of downloading duration under LAN environment, add the time of preliminary analysis, the loading of a program be accomplished by by minute in units of calculate, just needed the wait of a few minutes before making user edit.
Summary of the invention
The embodiment of the present invention provides a kind of edit methods based on M3U8 list protocol live TV stream and device, for realizing for the real-time edition based on M3U8 list protocol live TV stream.
One aspect of the present invention, it is provided that a kind of edit methods based on M3U8 list protocol live TV stream, including: obtain the broadcast information of the live TV stream based on M3U8 list protocol; The TS file specifying position is obtained according to described fileinfo; Edit described TS file; Appointment address it is pushed to after TS file after editor is carried out fluidization treatment. The live TV stream specifying position when live TV stream carries out live, can be carried out real-time edition by this technical scheme, and live by continuing after the file fluidisation after editor, substantially increases the editorial efficiency of TV programme.
Preferably, obtain the step based on the broadcast information of M3U8 list protocol live TV stream to include: load and play the described live TV stream based on M3U8 list protocol; The broadcast information of the described live TV stream that recording played is crossed in internal memory. This technical scheme records the broadcast information of live TV stream when live TV stream is play, and facilitates rapid positional editing position in follow-up editing.
Preferably, the step of the TS file obtaining appointment position according to described fileinfo includes: regulate the playing progress rate of described live TV stream to specifying position; Calculate the time point information of described appointment position; The TS file that described appointment position is corresponding is obtained according to described time point information. This technical scheme can according to user's request positional editing position, it is not necessary to waits that all files finishes the TS file that just can obtain correspondence, improves editorial efficiency.
Preferably, the step of the time point information of the currently assigned position of described calculating includes: according in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information. This technical scheme can calculate time point information according to user position location, obtains corresponding TS file according to time point information from live TV stream interface.
Preferably, also include obtain the step of the TS file specifying position according to described fileinfo after: by the TS file download before described appointment position to local disk. All video files play can be cached in local disk and edit by this technical scheme, and elliptical is downloaded consuming time, it is possible to increase editorial efficiency.
Another aspect of the present invention, provide a kind of editing device based on M3U8 list protocol live TV stream, including broadcast information acquisition module, TS file acquisition module, TS Document Editing module and TS file push module, wherein, described broadcast information acquisition module, for obtaining the broadcast information of the live TV stream based on M3U8 list protocol; Described TS file acquisition module, for obtaining the TS file specifying position according to described fileinfo; Described TS Document Editing module, is used for editing described TS file; Described TS file push module, for being pushed to appointment address after the TS file after editor is carried out fluidization treatment.
Preferably, described broadcast information acquisition module is used for: load and play the described live TV stream based on M3U8 list protocol; The fileinfo of the described live TV stream that recording played is crossed in internal memory.
Preferably, described TS file acquisition module is used for: regulate the playing progress rate of described live TV stream to specifying position; Calculate the time point information of described appointment position; The TS file that described appointment position is corresponding is obtained according to described time point information.
Preferably, described TS file acquisition module is further used for: according in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information.
Preferably, also include download module, for by the TS file download before described appointment position to local disk.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from description, or understand by implementing the present invention. The purpose of the present invention and other advantages can be realized by structure specifically noted in the description write, claims and accompanying drawing and be obtained.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, is used for together with embodiments of the present invention explaining the present invention, is not intended that limitation of the present invention. In the accompanying drawings:
Fig. 1 is the flow chart of the edit methods in the embodiment of the present invention based on M3U8 list protocol live TV stream;
Fig. 2 is the detail flowchart of the edit methods in the embodiment of the present invention based on M3U8 list protocol live TV stream;
Fig. 3 carries out live spreading based on M3U8 list protocol in the embodiment of the present invention to put schematic diagram;
Fig. 4 is the schematic diagram realizing live TV stream in the embodiment of the present invention based on M3U8 list protocol;
Fig. 5 is that in the embodiment of the present invention, the progress under stream editor regulates schematic diagram;
Fig. 6 is the structural representation of the editing device in the embodiment of the present invention based on M3U8 list protocol live TV stream;
Fig. 7 is the preferred structural representation of the editing device in the embodiment of the present invention based on M3U8 list protocol live TV stream.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred embodiment described herein is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the present invention flow chart based on the edit methods embodiment of M3U8 list protocol live TV stream. As it is shown in figure 1, the method comprises the following steps:
Step 101, obtain the broadcast information of live TV stream based on M3U8 list protocol;
Step 102, according to described fileinfo obtain specify position TS file;
Step 103, edit described TS file;
Step 104, by editor after TS file carry out fluidization treatment after be pushed to appointment address.
This embodiment mainly solves to edit in TV programme editing process the problem that timeliness is low, in the live process of the live TV stream based on M3U8 list protocol, specify position to be edited in live TV stream, and obtain the TS file that this position is corresponding, carry out fluidization treatment after this document is edited again and be pushed to designated port and proceed live. Thus achieving and broadcast while compile, thus realizing just can starting editor in the live process of TV programme, substantially increasing the editorial efficiency of TV programme.
Fig. 2 is the present invention detail flowchart based on the edit methods embodiment of M3U8 list protocol live TV stream. As in figure 2 it is shown, the method comprises the following steps:
Step 201, loading also play the described live TV stream based on M3U8 list protocol;
Step 202, in internal memory the broadcast information of the described live TV stream that recording played is crossed;
Step 203, regulate the playing progress rate of described live TV stream to specifying position;
Step 204, calculate the time point information of described appointment position;
Step 205, obtain TS file corresponding to described appointment position according to described time point information;
Step 206, edit described TS file;
Step 207, by editor after TS file carry out fluidization treatment after be pushed to appointment address.
Live stream playing principles is carried out as it is shown on figure 3, include three part: M3U8 and flow (i.e. tv programme source), flow control module and represent module based on M3U8 list protocol, wherein:
M3U8 stream for based on M3U8 list protocol realize live TV stream, live TV stream is obtained by interface, interface shape as:Http: ∥ x.x.x.x/approve/live? type=ipad&channel=CCTV1, it is thus achieved that the content arrived is as follows:
The download of flow control module primary responsibility M3U8 live TV stream and fluidization treatment, actually, M3U8 list protocol is the type of organization of a kind of file group, television program video is organized together with the form of playlist and realizes rotation according to certain rule, as shown in Figure 4, for realizing the schematic diagram of live TV stream based on M3U8 list protocol.
At present, substantially the video file duration in list be fixed on 10 seconds one, each list comprises 3 video files, that is: each list comprises the programme content of 30 seconds, therefore, realize the broadcasting of live TV stream, first have within 30 seconds and realize this list interface of poll video file in download list. Second step is then by fluidization treatment, is fluidized by the digital file after downloading, generates the binary video stream that can play, and be pushed to the address specified according to the specification of TCP/UDP agreement;
Representing module, it may be assumed that streaming player module, the main reception video flowing that realizes plays out and supports playing progress rate control;
Want live TV stream is edited, user must be allowed to be free to control the playing progress rate of live TV stream, the content that yes had broadcasted. Need when user regulates playing progress rate to calculate which TS file of 10 seconds this time point is subordinated to, and be which frame from this TS file commences play out, as it is shown in figure 5, be that the progress under the stream editor of the present embodiment regulates schematic diagram. As shown in Figure 5, in operating process, when user regulated playing progress rate by 15 seconds, first, needing to calculate this broadcast point in 4.TS file, then calculating is commencing play out for the 5th second from 4.TS again, finally, from M3U8 list interface, get the 5th second of 4.TS and start to load, thus realizing the scalable of playing progress rate.
According in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information. This technical scheme can calculate time point information according to user position location, obtains corresponding TS file according to time point information from live TV stream interface. It is exemplified below: while loading and playing live TV stream, all videos fileinfo play be recorded in memory variable A, owing to the duration unification of each video fragment is 10 seconds, therefore, in units of 10 seconds, within 15 seconds, being naturally subordinated in the 2nd unit, namely start to offset loading in 5 seconds from the 2nd unit is the 15th second.
Carry out stream editor then to need on playable basis, increase the design being easy to editor and realized, with spread differring primarily in that of putting, spread to put and have only to consider smooth playing, playing progress rate need not regulate, flow editor then to need constantly to regulate playing progress rate so that the prime information extracting in video, therefore, maximum problem is how the control realizing playing out progress on M3U8 stream glibly.
Obviously, the access M3U8 list source acquisition video that dragging slide block is real-time after carrying out progress adjustment every time carries out fluidization treatment again and is pushed in streaming player again, some is low for this mode efficiency, in above-mentioned handling process, point consuming time is download in fact, the link that can optimize in other words is to download link, if can all video files play be cached in local disk, each adjustment progress simply carries out fluidization treatment at this locality loading video and is pushed to appointment address again, eliminate download consuming time, then the efficiency of editor will be greatly improved.
Therefore, preferred in said method, also include obtain the step of the TS file specifying position according to described fileinfo after: by the TS file download before described appointment position to local disk. All video files play can be cached in local disk and edit by this technical scheme, and elliptical is downloaded consuming time, it is possible to increase editorial efficiency. This technical scheme records the broadcast information of live TV stream when live TV stream is play, and facilitates rapid positional editing position in follow-up editing. User is according to its demand, and positional editing position on the time schedule bar of live TV stream, according to the TS document location that the calculating of the time point information of this position is corresponding, it is not necessary to wait that all files finishes the TS file that just can obtain correspondence, improves editorial efficiency.
As shown in Figure 6, structural representation for a kind of editing device embodiment based on M3U8 list protocol live TV stream of the present invention, including broadcast information acquisition module 601, TS file acquisition module 602, TS Document Editing module 603 and TS file push module 604, wherein, described broadcast information acquisition module, for obtaining the broadcast information of the live TV stream based on M3U8 list protocol; Described TS file acquisition module, for obtaining the TS file specifying position according to described fileinfo; Described TS Document Editing module, is used for editing described TS file; Described TS file push module, for being pushed to appointment address after the TS file after editor is carried out fluidization treatment.
Preferably, described broadcast information acquisition module is used for: load and play the described live TV stream based on M3U8 list protocol; The fileinfo of the described live TV stream that recording played is crossed in internal memory.
Preferably, described TS file acquisition module is used for: regulate the playing progress rate of described live TV stream to specifying position; Calculate the time point information of described appointment position; The TS file that described appointment position is corresponding is obtained according to described time point information.
Preferably, described TS file acquisition module is further used for: according in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information.
As it is shown in fig. 7, be the structural representation of the preferred embodiment of this device, except each module included in Fig. 6, also include download module 605, for by the TS file download before described appointment position to local disk.
Based on methods and apparatus of the present invention, can to TV programme real-time edition, namely edit while television program transmission, the versatility utilizing various systems that the method realizes live TV stream editor is substantially increased, as long as the video flowing namely following M3U8 list protocol all can use the method and device to realize real-time edition based on M3U8 list protocol.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect. And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory and optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe. It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame. These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art. So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (4)
1. based on an edit methods for M3U8 list protocol live TV stream, including:
Obtain the broadcast information of the live TV stream based on M3U8 list protocol, including: load and play the described live TV stream based on M3U8 list protocol; The fileinfo of the described live TV stream that recording played is crossed in internal memory;
The TS file specifying position is obtained according to described fileinfo;
Edit described TS file;
Appointment address it is pushed to after TS file after editor is carried out fluidization treatment;
The step obtaining the TS file specifying position according to described fileinfo includes:
Regulate the playing progress rate of described live TV stream to specifying position;
Calculate the time point information of described appointment position;
The TS file that described appointment position is corresponding is obtained according to described time point information;
The step of the time point information of the currently assigned position of described calculating includes:
According in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information.
2. the method for claim 1, it is characterised in that also include obtain the step of the TS file specifying position according to described fileinfo after:
By the TS file download before described appointment position to local disk.
3. based on an editing device for M3U8 list protocol live TV stream, including broadcast information acquisition module, TS file acquisition module, TS Document Editing module and TS file push module, wherein,
Described broadcast information acquisition module, for obtaining the broadcast information of the live TV stream based on M3U8 list protocol, is additionally operable to load and play the described live TV stream based on M3U8 list protocol; The fileinfo of the described live TV stream that recording played is crossed in internal memory;
Described TS file acquisition module, for obtaining the TS file specifying position according to described fileinfo;
Described TS Document Editing module, is used for editing described TS file;
Described TS file push module, for being pushed to appointment address after the TS file after editor is carried out fluidization treatment;
Described TS file acquisition module is used for:
Regulate the playing progress rate of described live TV stream to specifying position;
Calculate the time point information of described appointment position;
The TS file that described appointment position is corresponding is obtained according to described time point information;
Described TS file acquisition module is further used for:
According in described live TV stream TS file duration and relative to the side-play amount of described duration calculate obtain described time point information.
4. device as claimed in claim 3, it is characterised in that also include download module, for by the TS file download before described appointment position to local disk.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210586256.6A CN103024289B (en) | 2012-12-28 | 2012-12-28 | A kind of edit methods based on M3U8 list protocol live TV stream and device |
| PCT/CN2013/077694 WO2014101379A1 (en) | 2012-12-28 | 2013-06-21 | Method and apparatus for editing live stream based on m3u8 list protocol |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210586256.6A CN103024289B (en) | 2012-12-28 | 2012-12-28 | A kind of edit methods based on M3U8 list protocol live TV stream and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103024289A CN103024289A (en) | 2013-04-03 |
| CN103024289B true CN103024289B (en) | 2016-06-15 |
Family
ID=47972378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210586256.6A Expired - Fee Related CN103024289B (en) | 2012-12-28 | 2012-12-28 | A kind of edit methods based on M3U8 list protocol live TV stream and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103024289B (en) |
| WO (1) | WO2014101379A1 (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103024289B (en) * | 2012-12-28 | 2016-06-15 | 天脉聚源(北京)传媒科技有限公司 | A kind of edit methods based on M3U8 list protocol live TV stream and device |
| CN104427259A (en) * | 2013-09-03 | 2015-03-18 | 广州市千钧网络科技有限公司 | Method and device for playing video and audio special effects in real time |
| CN104661039A (en) * | 2013-11-25 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | Transmission method, server, terminal and system for media stream |
| CN104185031A (en) * | 2014-02-26 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | Video absolute time point determination method and device |
| CN103945260B (en) * | 2014-05-19 | 2017-07-07 | 无锡天脉聚源传媒科技有限公司 | A kind of streaming media on demand editing system and order method |
| CN104219535B (en) * | 2014-09-12 | 2017-09-15 | 无锡天脉聚源传媒科技有限公司 | A kind of performance system and program broadcasting method |
| CN105592319B (en) * | 2014-10-23 | 2019-07-26 | 上海天脉聚源文化传媒有限公司 | A kind of server screenshot method and server |
| CN104822079B (en) * | 2014-12-31 | 2018-12-04 | 北京奇艺世纪科技有限公司 | A kind of real-time release method and system of video file |
| CN104837033B (en) * | 2015-05-20 | 2018-09-25 | 腾讯科技(北京)有限公司 | A kind of information processing method and server |
| CN105578289A (en) * | 2015-12-15 | 2016-05-11 | 无锡天脉聚源传媒科技有限公司 | Plan video dotting method and device |
| CN106060071A (en) * | 2016-06-27 | 2016-10-26 | 杭州当虹科技有限公司 | Live stream video real-time editing system |
| CN111182327B (en) * | 2020-02-12 | 2022-04-22 | 北京达佳互联信息技术有限公司 | Video editing method and device, video distribution server and terminal |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101534326A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | An access method, a device and a system for an RTSP terminal |
| CN101917590A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Network live broadcasting system with playback function and player |
| CN102118428A (en) * | 2010-12-29 | 2011-07-06 | 天脉聚源(北京)传媒科技有限公司 | Method and system for playing streaming media |
| CN102685088A (en) * | 2011-09-06 | 2012-09-19 | 天脉聚源(北京)传媒科技有限公司 | Method for playing M3U8 stream media |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1859526B (en) * | 2006-01-04 | 2010-10-27 | 华为技术有限公司 | Method for Realizing Streaming Media Simulated Live Streaming, Streaming Media Server and Content Management System |
| JP5078710B2 (en) * | 2008-04-01 | 2012-11-21 | キヤノン株式会社 | Receiving apparatus and control method thereof |
| CN102769787B (en) * | 2012-08-02 | 2018-10-19 | 中兴通讯股份有限公司 | The time-shifting method and channel time-shifting equipment of mobile phone terminal channel |
| CN103024289B (en) * | 2012-12-28 | 2016-06-15 | 天脉聚源(北京)传媒科技有限公司 | A kind of edit methods based on M3U8 list protocol live TV stream and device |
-
2012
- 2012-12-28 CN CN201210586256.6A patent/CN103024289B/en not_active Expired - Fee Related
-
2013
- 2013-06-21 WO PCT/CN2013/077694 patent/WO2014101379A1/en active Application Filing
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101534326A (en) * | 2009-04-21 | 2009-09-16 | 华为技术有限公司 | An access method, a device and a system for an RTSP terminal |
| CN101917590A (en) * | 2009-12-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Network live broadcasting system with playback function and player |
| CN102118428A (en) * | 2010-12-29 | 2011-07-06 | 天脉聚源(北京)传媒科技有限公司 | Method and system for playing streaming media |
| CN102685088A (en) * | 2011-09-06 | 2012-09-19 | 天脉聚源(北京)传媒科技有限公司 | Method for playing M3U8 stream media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103024289A (en) | 2013-04-03 |
| WO2014101379A1 (en) | 2014-07-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103024289B (en) | A kind of edit methods based on M3U8 list protocol live TV stream and device | |
| US20220159349A1 (en) | Methods and apparatus for presenting advertisements during playback of recorded television content | |
| JP5668512B2 (en) | Information processing apparatus and information processing method | |
| TWI717744B (en) | Methods and apparatus for updating media presentation data | |
| US20180005667A1 (en) | Server side crossfading for progressive download media | |
| CN102664032B (en) | A kind of playing progress rate adjustment bar of direct broadcast time-shift and control method thereof | |
| CN104244023B (en) | Video cloud editing system and method | |
| US9313084B2 (en) | Systems and methods for client-side media chunking | |
| EP2891319B1 (en) | Electronic media server | |
| US12250226B2 (en) | Location based authentication | |
| CN104410901A (en) | Play method and play device of M3U8 format live stream | |
| US20150100984A1 (en) | Playback device and playback method for multimedia file | |
| CN104219535A (en) | Program system and program broadcasting method | |
| CN101212664B (en) | Program editing, distribution, and request method | |
| US11232816B2 (en) | Multi-window viewing system including editor for reaction video and method for producing reaction video by using same | |
| CN104935972B (en) | One kind broadcasting single edit methods and device | |
| KR102526605B1 (en) | Method of provding advertisement | |
| US12198731B2 (en) | Server side crossfading for progressive download media | |
| JP2011044904A (en) | Content processing apparatus and method, program, and recording medium | |
| CN105049951A (en) | Editing method and device for editing list | |
| JP6555030B2 (en) | Information equipment | |
| CN104935976A (en) | Carousel playlist editing method and apparatus | |
| CN104994443A (en) | Method and device for generating EPG (Electronic Program Guide) video file | |
| CN103702204A (en) | Playing control method and system for live program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method and device for editing live stream on basis of M3U8 listing protocol Effective date of registration: 20170401 Granted publication date: 20160615 Pledgee: Silicon Valley Bank Co.,Ltd. Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd. Registration number: 2017310000019 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160615 Termination date: 20211228 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |