CN106407437A - Live stream real-time editing system and method - Google Patents

Live stream real-time editing system and method Download PDF

Info

Publication number
CN106407437A
CN106407437A CN201610860678.6A CN201610860678A CN106407437A CN 106407437 A CN106407437 A CN 106407437A CN 201610860678 A CN201610860678 A CN 201610860678A CN 106407437 A CN106407437 A CN 106407437A
Authority
CN
China
Prior art keywords
file
live
stream
real
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.)
Pending
Application number
CN201610860678.6A
Other languages
Chinese (zh)
Inventor
夏永宏
胡小平
李枝广
王智骞
王岩龙
唐贵明
李惠梅
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Win Technology Co Ltd
Original Assignee
Beijing Win Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Win Technology Co Ltd filed Critical Beijing Win Technology Co Ltd
Priority to CN201610860678.6A priority Critical patent/CN106407437A/en
Publication of CN106407437A publication Critical patent/CN106407437A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1724Details of de-fragmentation performed by the file system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures

Abstract

The invention discloses a live stream real-time editing system and method, and relates to the technical field of radio and television living broadcast and network video living broadcast. The live stream real-time editing method comprises that a recording module records live stream data of a live source, and compiles the live stream data into a recording file, and calls a stream data analysis module in real time; the stream data analysis module generates a dynamic index file comprising recording file medium information in dependence on the recorded live stream data; an editing module calls the index file and obtains the recording file medium information to carry out non-linear editing to the live stream. According to the invention, timeliness of recording while editing is improved, and an excess of fragmented recording files are not generated.

Description

The real-time edition system and method for live TV stream
Technical field
The present invention relates to radio and television are live and internet video live broadcasting technical field, more particularly, to a kind of live TV stream real-time Editing system and method.
Background technology
With high speed development from broadcasting and TV cause to digitized direction, the service application based on PC occupies more and more in the industry Consequence.Program is included as the important means collecting quarry, applies quite varied in business departments such as television stations. And with Internet technology in the extensive application of traditional radio, TV and film industries it is desirable to acceptance system is ensureing high reliability and redundancy appearance On the premise of wrong function, to including the seamless connection realized with network, the function of realizing editing when including proposes higher wanting Ask.Such as:Radio and television are live, internet video live broadcasting is required for real-time edition film clips or Highlight, insert during live Enter play, therefore opposite side include side editor ageing requirement higher.
In conventional acceptance system, typically can will include after the file of fragmentating, then edlin is entered to fragmentation file. This way has both sides weak point:
1) the ageing length being limited by fragmentation file edited, since it is desired that wait a fragmentation file to include Cheng Hou, editor module just can get the information of file, thus carrying out real editor.
2) if being sliced into less fragmentation file including, it is the timeliness that can improve editor to a certain extent Property, but also creating the small documents of more fragmentations simultaneously, this brings certain difficulty to the management including file.
Content of the invention
The technical problem to be solved is to provide a kind of real-time edition system and method for live TV stream, methods described Not only increase edit when including ageing, also will not produce excessive fragmentation and include file.
For solving above-mentioned technical problem, the technical solution used in the present invention is:A kind of real-time edition system of live TV stream, It is characterized in that described system includes:
Include module, include strategy for setting, include the live flow data of live source, write as and include file, and in real time Call flow data analysis module;
Flow data analysis module, for according to the live flow data included, generating and comprising to include the dynamic of file medium information State index file;
Editor module, by calling described index file, gets the media information including file, carries out the non-of live TV stream Linear editing.
Further technical scheme is, described system also includes:
Memory module, for storage include module formation include file.
Further technical scheme is, described strategy of including is when including the specified fragmentation length of file arrival, cuts File is included in piece storage, and what new live TV stream write was new includes file.
Further technical scheme is, in described index file, the list of file and the media letter of file included in record Breath;Described media information includes:Include the length of file, video/audio coding/decoding information, frame data index information.
Further technical scheme is, described index file enters action along with the change including file included State updates.
The invention also discloses a kind of real-time edition method of live TV stream is it is characterised in that methods described includes walking as follows Suddenly:
Include the live flow data that module includes live source, write as and include file, and real-time calling flow data analysis module;
Flow data analysis module, according to the live flow data included, generates and comprises to include the dynamic index of file medium information File;
Editor module calls index file, gets and includes the media information of file and carry out the non-linear editing of live TV stream.
Further technical scheme is, methods described also includes the step including file using memory module storage.
Further technical scheme is, methods described also includes, when including the specified fragmentation length of file arrival, cutting File, the new step including file of new live TV stream write are included in piece storage.
Further technical scheme is, includes module and calls flow data analysis module, include one or more GOP it Afterwards, generate and include the index file of file, index file exists with including file, and with the carrying out included, dynamically more New content.
Further technical scheme is, in described index file, the list of file and the media letter of file included in record Breath;Described media information includes:Include the length of file, video/audio coding/decoding information, frame data index information.
Have the beneficial effects that using produced by technique scheme:The method of the invention can be in the process included In, by calling flow data analysis module, generate the index file of a dynamic change.With the carrying out included, index file In dynamic more new record the information including file, call index file during editor module editor and include literary composition it is possible to get The media information of part, carries out the non-linear editing of live TV stream.The present invention when including file and carrying out, or even including one complete Image sets, after video/audio it is possible to enter edlin, not only increase and edit when including ageing, also will not produce The excessive fragmentation of life includes file.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the theory diagram of system described in one embodiment of the invention;
Fig. 2 is the theory diagram of system described in another embodiment of the present invention;
Fig. 3 is the flow chart of one embodiment of the invention methods described;
Fig. 4 is the flow chart of another embodiment of the present invention methods described;
Fig. 5 is the flow chart of third embodiment of the invention methods described;
Wherein:21st, module 22, memory module 23, flow data analysis module 24, editor module are included.
Specific embodiment
With reference to the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Elaborate a lot of details in the following description in order to fully understand the present invention, but the present invention is acceptable To be implemented different from alternate manner described here using other, those skilled in the art can be without prejudice to intension of the present invention In the case of do similar popularization, therefore the present invention is not limited by following public specific embodiment.
As shown in figure 1, the embodiment of the invention discloses a kind of real-time edition system of live TV stream, described system includes:
Include module 21, include strategy for setting, include the live flow data of live source, write as and include file, and real When call flow data analysis module 23;
Flow data analysis module 23, for according to the live flow data included, generating and comprising to include file medium information Dynamic index file, further, described index file enters Mobile state and updates along with the change including file, described rope In quotation part, the list of file and the media information of file included in record;Described media information includes:Include the length of file, Video/audio coding/decoding information, frame data index information;
Editor module 24, by calling described index file, gets the media information including file, carries out live TV stream Non-linear editing.
In one embodiment of the invention, as shown in Fig. 2 described system also includes:Memory module 22, receives for storage What record module was formed includes file.
Further, described system enters edlin while including, when including the specified fragmentation length of file arrival, File is included in section storage, and what new live TV stream write was new includes file.
Described system is included by fragmentation and the side that the information generation index file of file combines is included in analysis in real time Method, is including during file carries out, the data of file is included in analysis in real time, and produces the index information including file, thus The information of file and video/audio can be provided to editor module, editor module passes through to index the information providing it is possible to realize The effect edited when including.This system not only increases edits ageing when including, and also will not produce excessive fragmentation Include file.
As shown in figure 3, the embodiment of the invention also discloses a kind of real-time edition method of live TV stream, methods described include as Lower step:
S101:Include the live flow data that module includes live source, write as and include file, and the analysis of real-time calling flow data Module;
S102:Flow data analysis module, according to the live flow data included, generates and comprises to include the dynamic of file medium information State index file, in described index file, the list of file and the media information of file included in record;Described media information bag Include:Include the length of file, video/audio coding/decoding information, frame data index information;
S103:Editor module calls index file, gets and includes the media information of file and carry out the non-linear of live TV stream Editor.
It should be noted that:Include module and call flow data analysis module, after including one or more GOP, generate Include the index file of file, index file exists with including file, and with the carrying out included, dynamic update content.
When including module and including stream, write as and included file, while calling flow data analysis module.Flow data analyzes mould Block generates index file, analyzes flow data simultaneously, takes media information, writes index file.With the carrying out included, constantly more Listed files information in new index file and the corresponding media information of file.
When can be written generally as including file, a file to be included, write integrated media in file could have been included toward this Information (such as file size).So, the file do not included, complete media information can not be read, cannot be compiled Volume.The present invention separates media information from live TV stream, and writes index file, without waiting for the receipts of file when so editing Record completes, and reads index file and just can obtain media information, thus entering edlin.
When including, after being often cached to a GOP unit, integrally include this GOP.I frame in one GOP, can take Media information with live flow data.Media information may will be taken, it is long that file is included in write file increase after one GOP Degree, so needs to update index file.Include file for one to complete, the next one is included file and produced, also can update index literary composition Part list and the media information adding new file.
As shown in figure 4, the embodiment of the invention also discloses a kind of real-time edition method of live TV stream, methods described include as Lower step:
S201:Include the live flow data that module includes live source, write as and include file, and the analysis of real-time calling flow data Module;
S202:File is included by memory module storage;
S203:Flow data analysis module, according to the live flow data included, generates and comprises to include the dynamic of file medium information State index file, in described index file, the list of file and the media information of file included in record;Described media information bag Include:Include the length of file, video/audio coding/decoding information, frame data index information;
S204:Editor module calls index file, gets and includes the media information of file and carry out the non-linear of live TV stream Editor.
As shown in figure 5, the embodiment of the invention also discloses a kind of real-time edition method of live TV stream, methods described include as Lower step:
S301:Include module to include the live TV stream of live source and start to write and include file;
S302:The audiovisual information in file is included in the analysis in real time of flow data analysis module, including document time length etc. Information, and generate index file;
S303:By calling index file during editor module editor, get live TV stream fileinfo, carry out non-linear volume Volume;
S304:Include module to continue to include live TV stream, and call flow data analysis module, update index file;
S305:Call the index file of dynamic renewal during editor module editor, get the up-to-date information including file, Newly included the editor of content;
S306:Repeat step S304-S305, reaches specified fragmentation length until including file, stops section storage and receives Record file;
S307:Repeat step S301-S306, until the live end of live source, stops including.
The method of the invention can generate one dynamically during including, by calling flow data analysis module The index file of change.With the carrying out included, the information including file of dynamic more new record, editor module in index file Call index file during editor it is possible to get live TV stream fileinfo, carry out non-linear editing.The present invention include written When part is carried out, or even including complete image sets, after video/audio it is possible to enter edlin, not only increase Edit when including ageing, also will not produce excessive fragmentation and include file.
Those skilled in the art are it will also be appreciated that the various illustrative components, blocks listed of the embodiment of the present invention (illustrative logical block), unit, and step can pass through electronic hardware, computer software, or both knots Conjunction is realized.For clearly showing that the replaceability (interchangeability) of hardware and software, above-mentioned various explanations Property part (illustrative components), unit and step have universally described their function.Such work( It can be the design requirement realized by hardware or software depending on specific application and whole system.Those skilled in the art Can be for every kind of specific application, it is possible to use various methods realize described function, but this realization is understood not to Scope beyond embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or unit can pass through general processor, Digital signal processor, special IC (ASIC), field programmable gate array or other programmable logic device, discrete gate Or transistor logic, discrete hardware components, or the design of any of the above described combination are realizing or to operate described function.General place Reason device can be microprocessor, and alternatively, this general processor can also be any traditional processor, controller, microcontroller Device or state machine.Processor can also be realized by the combination of computing device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors one Digital Signal Processor Core of joint, or any other like configuration To realize.
The step of the method described in the embodiment of the present invention or algorithm can be directly embedded into hardware, computing device soft Part module or the combination of both.Software module can be stored in RAM memory, flash memory, ROM memory, EPROM storage Other any form of storage media in device, eeprom memory, depositor, hard disk, moveable magnetic disc, CD-ROM or this area In.Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, and Write information can be deposited to storage medium.Alternatively, storage medium can also be integrated in processor.Processor and storage medium can To be arranged in ASIC, ASIC can be arranged in user terminal.Alternatively, processor and storage medium can also be arranged at use In different part in the terminal of family.
In one or more exemplary designs, above-mentioned functions described by the embodiment of the present invention can be in hardware, soft The combination in any of part, firmware or this three is realizing.If realized in software, these functions can store and computer-readable On medium, or it is transmitted on the medium of computer-readable with one or more instructions or code form.Computer readable medium includes electricity Brain stores medium and is easy to so that allowing computer program transfer to the telecommunication media in other places from a place.Storage medium is permissible It is any general or special computer can be with the useable medium of access.For example, such computer readable media can include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other What can be used for carrying or storing to instruct or data structure and other can be by general or special computer or general or special handlings Device reads the medium of the program code of form.Additionally, any connection can be properly termed computer readable medium, example As if software is to pass through a coaxial cable, fiber optic cables, double from a web-site, server or other remote resource Twisted wire, Digital Subscriber Line (DSL) or with the wireless way for transmittings such as example infrared, wireless and microwave be also contained in defined In computer readable medium.Described video disc (disk) and disk (disc) include Zip disk, radium-shine disk, CD, DVD, floppy disk And Blu-ray Disc, disk is generally with magnetic duplication data, and video disc generally carries out optical reproduction data with laser.Combinations of the above Can also be included in computer readable medium.
Above-described specific embodiment, has been carried out to the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be should be understood that the specific embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all any modification, equivalent substitution and improvement within the spirit and principles in the present invention, done etc., all should comprise Within protection scope of the present invention.

Claims (10)

1. a kind of real-time edition system of live TV stream is it is characterised in that described system includes:
Include module, include strategy for setting, include the live flow data of live source, write as and include file, and real-time calling Flow data analysis module;
Flow data analysis module, for according to the live flow data included, generating the dynamic rope comprising to include file medium information Quotation part;
Editor module, by calling described index file, gets the media information including file, carries out the non-linear of live TV stream Editor.
2. the real-time edition system of live TV stream as claimed in claim 1 is it is characterised in that described system also includes:
Memory module, for storage include module formation include file.
3. live TV stream as claimed in claim 2 real-time edition system it is characterised in that:Described strategy of including is to work as to include literary composition Part reaches when specifying fragmentation length, and file is included in section storage, and what new live TV stream write was new includes file.
4. live TV stream as claimed in claim 1 real-time edition system it is characterised in that:In described index file, record is received The record list of file and the media information of file;Described media information includes:Include the length of file, video/audio compiles solution Code information, frame data index information.
5. live TV stream as claimed in claim 1 real-time edition system it is characterised in that:Described index file is along with receipts Record the change including file and enter Mobile state update.
6. a kind of real-time edition method of live TV stream is it is characterised in that methods described comprises the steps:
Include the live flow data that module includes live source, write as and include file, and real-time calling flow data analysis module;
Flow data analysis module, according to the live flow data included, generates the dynamic index literary composition comprising to include file medium information Part;
Editor module calls index file, gets and includes the media information of file and carry out the non-linear editing of live TV stream.
7. the real-time edition method of live TV stream as claimed in claim 6 is it is characterised in that methods described is also included using storage The step that module stores include file.
8. the real-time edition method of live TV stream as claimed in claim 6 is it is characterised in that methods described also includes working as including literary composition Part reaches when specifying fragmentation length, and file, the new step including file of new live TV stream write are included in section storage.
9. live TV stream as claimed in claim 6 real-time edition method it is characterised in that:
Include module and call flow data analysis module, after including one or more GOP, generate the index literary composition including file Part, index file exists with including file, and with the carrying out included, dynamic update content.
10. live TV stream as claimed in claim 6 real-time edition method it is characterised in that:
In described index file, the list of file and the media information of file included in record;Described media information includes:Receive The length of record file, video/audio coding/decoding information, frame data index information.
CN201610860678.6A 2016-09-28 2016-09-28 Live stream real-time editing system and method Pending CN106407437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610860678.6A CN106407437A (en) 2016-09-28 2016-09-28 Live stream real-time editing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610860678.6A CN106407437A (en) 2016-09-28 2016-09-28 Live stream real-time editing system and method

Publications (1)

Publication Number Publication Date
CN106407437A true CN106407437A (en) 2017-02-15

Family

ID=58015719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610860678.6A Pending CN106407437A (en) 2016-09-28 2016-09-28 Live stream real-time editing system and method

Country Status (1)

Country Link
CN (1) CN106407437A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10867634B1 (en) 2020-05-05 2020-12-15 Disney Enterprises, Inc. Content editing during broadcast

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472118A (en) * 2007-12-24 2009-07-01 新奥特(北京)视频技术有限公司 Method for cutting document during acceptance process of acceptance system
CN102984600A (en) * 2012-12-12 2013-03-20 成都索贝数码科技股份有限公司 Method for non-linear editing software to access file according to time slices, based on internet HTTP
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472118A (en) * 2007-12-24 2009-07-01 新奥特(北京)视频技术有限公司 Method for cutting document during acceptance process of acceptance system
CN102984600A (en) * 2012-12-12 2013-03-20 成都索贝数码科技股份有限公司 Method for non-linear editing software to access file according to time slices, based on internet HTTP
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10867634B1 (en) 2020-05-05 2020-12-15 Disney Enterprises, Inc. Content editing during broadcast

Similar Documents

Publication Publication Date Title
CN103414949B (en) A kind of multimedia edit system based on intelligent television and method
TWI471732B (en) Iterative cloud broadcasting rendering method
CN106791933A (en) The method and system of the online quick editor's video based on web terminal
CN103024603B (en) A kind of for solving playing network video time the device and method that pauses in short-term
US20060236219A1 (en) Media timeline processing infrastructure
CN112261416A (en) Cloud-based video processing method and device, storage medium and electronic equipment
CN103327021B (en) Method, devices and system of multi-device interaction
CN101188697A (en) A method for importing caption in manuscript in non editing status
CN106878771A (en) Broadcast television terminal barrage implementation method and radio data system server
JP2008160837A (en) Method and apparatus for encoding/decoding multimedia data with preview function
WO2023202095A1 (en) Point cloud media encoding method and apparatus, point cloud media decoding method and apparatus, and electronic device and storage medium
CN109218749A (en) The method of Digital video storage
CN111797061B (en) Multimedia file processing method and device, electronic equipment and storage medium
CN1771553A (en) Storage medium in which audio-visual data with event information is recorded, and reproducing apparatus and reproducing method thereof
CN101188698B (en) A device for importing caption in manuscript in non editing status
CN111428077A (en) Information processing method and terminal thereof
CN106407437A (en) Live stream real-time editing system and method
CN1918909B (en) File recording device, file recording method, file recording method program, recording medium containing program of file recording method, file reproduction device, file reproduction method, file repr
CN108550369A (en) A kind of panorama acoustical signal decoding method of variable-length
CN104284099B (en) A kind of method and system shown based on multichannel input large-size screen monitors
JP2008193345A (en) Editing device and editing method
WO2009022781A1 (en) Method and apparatus for generating and reproducing media object-based metadata
WO2012092901A2 (en) Media storage system and method
CN101848366A (en) Filing and program transmitting method and equipment of time shift slicing files in IPTV (Internet Protocol Television) system
CN104038772A (en) Ring tone file generation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215