[go: up one dir, main page]

CN102752633B - A kind of method of video and audio file synthesis - Google Patents

A kind of method of video and audio file synthesis Download PDF

Info

Publication number
CN102752633B
CN102752633B CN201110452129.2A CN201110452129A CN102752633B CN 102752633 B CN102752633 B CN 102752633B CN 201110452129 A CN201110452129 A CN 201110452129A CN 102752633 B CN102752633 B CN 102752633B
Authority
CN
China
Prior art keywords
file
editing
media file
video
raw media
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
Application number
CN201110452129.2A
Other languages
Chinese (zh)
Other versions
CN102752633A (en
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110452129.2A priority Critical patent/CN102752633B/en
Publication of CN102752633A publication Critical patent/CN102752633A/en
Application granted granted Critical
Publication of CN102752633B publication Critical patent/CN102752633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a kind of method of video and audio file synthesis, by obtaining raw media file from the network terminal;The raw media file is analyzed and merged, the material in the raw media file is imported into timeline, obtains main editing material;Switching between the main editing material on the timeline or the packing of overlapping part are generated into new material, obtain sub- editing material;The main editing material and the sub- editing material are subjected to sequence merging, generate file destination;Program file is exported after the file destination is encapsulated.The embodiment of the present invention to the material on sequence time line by merging, by the unified material of the out points part of all materials, lap, stunt part, subtitle parts etc. form format, exported after encapsulation, in the case where not losing program quality, the quick merging of media file is ensure that, drastically increases producing efficiency.

Description

A kind of method of video and audio file synthesis
Technical field
The present invention relates to digital video-audio industrial field, more particularly to a kind of method of video and audio file synthesis.
Background technology
Continued to develop in current Digital Media, the new matchmaker such as network program request, IPTV, VOD, NVOD, mobile video, hand held television On the premise of body business continues to bring out, the management strategy of new media is also to buy and integrate whole set program or inexpensive deep processing Based on, while take into account high efficiency.Wherein program material source is largely the stream program of finished product, is badly in need of for these Streaming Medias a Quick software for editing, can quickly decaptitating truncates, the unwanted contents such as commercial breaks, picture of prohibiting broadcasting are fallen in editing;It is or quick The camera lens of group contract attribute file, new program stream file is quickly spliced into the case where not losing quality, is published to content Integrated platform.
During the present invention is realized, inventor has found that prior art has following technical problem:
Due to containing the unwanted contents such as some commercial breaks, pictures of prohibiting broadcasting in the program material of needs, to program Material arranged when splicing merges, it is necessary to take a substantial amount of time, and efficiency is low.
The content of the invention
The embodiments of the invention provide a kind of method of video and audio file synthesis, by entering to the material on sequence time line Row merges, by the unified element of the out points part of all materials, lap, stunt part, subtitle parts etc. form format Material, exported after encapsulation, in the case where not losing program quality, ensure that the quick merging of media file, greatly carry High producing efficiency.
In order to achieve the above object, the embodiments of the invention provide a kind of method of video and audio file synthesis, including it is following Step:
Raw media file is obtained from the network terminal;
The raw media file is analyzed, wherein the raw media file includes at least two materials;
Material in the raw media file is merged, specifically included:
Material in the raw media file is imported into timeline, obtains main editing material;
Switching between the main editing material on the timeline or the packing of overlapping part are generated into new material, obtained Sub- editing material;
The main editing material and the sub- editing material are subjected to sequence merging, generate file destination;
Program file is exported after the file destination is encapsulated.
Wherein, the material format includes:H264, Mpeg2_ibp, DVD and VCD.
It is described when analyzing the raw media file, while volume gain adjustment can be done.
It is described the raw media file is analyzed after, to the raw media file carry out property parameters set Put.
The property parameters, which are set, to be included:CBR or VBR are optional;Coded format;Bag long type;Video formats, aspect ration, Code check and pid value are set;Audio code rate, Format Type, sample rate and audio types.
What the technical scheme of the embodiment of the present invention was brought has the beneficial effect that:The embodiment of the present invention passes through to sequence time line On material merge, by the out points part of all materials, lap, stunt part, subtitle parts etc. formed lattice The unified material of formula, is exported after encapsulation, in the case where not losing program quality, ensure that the quick conjunction of media file And drastically increase producing efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of video and audio file synthesis of the embodiment of the present invention one.
Embodiment
Below in conjunction with 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 Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the present invention one discloses a kind of method of video and audio file synthesis, as shown in figure 1, comprising the following steps:
Step S101, raw media file is obtained from the network terminal.
Step S102, the raw media file is analyzed, wherein the raw media file includes at least two Material.
Step S103, the material in the raw media file is merged, generate file destination.
Wherein, because the material format on the timeline all, in the absence of transcoding issues, simply again seals file Fill, ensure that quick merging.In the case of form of the same race, the segments of timeline is within 30:
High definition H264 combined efficiencies 35: 1 (acquiescence 8Mbps),
SD H264 combined efficiencies 50: 1 (acquiescence 3.75Mbps);
High definition Mpeg2-IBP combined efficiencies 30: 1 (acquiescence 15Mbps),
SD Mpeg2-IBP combined efficiencies 45: 1 (acquiescence 3.75Mbps).
Step S104, program file is exported after the file destination is packed.
What the technical scheme of the embodiment of the present invention was brought has the beneficial effect that:The embodiment of the present invention passes through to sequence time line On material merge, by the out points part of all materials, lap, stunt part, subtitle parts etc. formed lattice The unified material of formula, is exported after encapsulation, in the case where not losing program quality, ensure that the quick conjunction of media file And drastically increase producing efficiency.
The embodiment of the present invention two discloses a kind of method of video and audio file synthesis, comprises the following steps:
Step S201, raw media file is obtained from the network terminal.
Step S202, the raw media file is analyzed, wherein the raw media file includes at least two Material.
Wherein, the material format includes:H264, Mpeg2_ibp, DVD and VCD;
It is described when analyzing the raw media file, while volume gain adjustment can be done;
It is described the raw media file is analyzed after, to the raw media file carry out property parameters set Put, wherein property parameters set and included:CBR or VBR are optional;Coded format;Bag long type;Video formats, aspect ration, code check and Pid value is set;Audio code rate, Format Type, sample rate and audio types.
Step S203, the material in the raw media file is imported into timeline, obtains main editing material.
When merging main editing, system can create the former state copy of media file.If original main editing is linked to new File, system can create the main editing with .old file extensions.The main editing reservation links with ancient deed.If retain Linking between original main editing and old media file, system can create the new main editing with .new file extensions.The master Editing is linked to new media file.The numbering of new main editing is also incremented by successively since .01.
Step S204, switching between the main editing material on the timeline or the packing generation of overlapping part is new Material, obtain sub- editing material.
When merging sub- editing, the media file part that occurs in system replicon editing, and create a new master and cut Volume (be sub- editing and new sub- editing duration and).Appended document extension name .new, its numbering is passed successively since .01 Increase.
Step S205, the main editing material and the sub- editing material are subjected to sequence merging, generate file destination.
During collating sequence, system only replicates the media file part being edited into sequence, and is each editing in sequence Create new main editing.File extension .new is affixed to main editing, and its numbering is incremented by successively since h.01.Sequence does not have Rename, but new media file can be re-linked to automatically.
Step S206, program file is exported after the file destination is encapsulated, the program file can be transmitted directly to matchmaker Money or content distribution platform.
What the technical scheme of the embodiment of the present invention was brought has the beneficial effect that:The embodiment of the present invention passes through to sequence time line On material merge, by the out points part of all materials, lap, stunt part, subtitle parts etc. formed lattice The unified material of formula, is exported after encapsulation, in the case where not losing program quality, ensure that the quick conjunction of media file And drastically increase producing efficiency.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also can be added by software to realize, based on such understanding, this The technical scheme of invention can be embodied in the form of software product, and the software product can be stored in one and non-volatile deposit In storage media (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are causing a computer equipment (can be with It is personal computer, server, or network equipment etc.) perform method described in each embodiment of the present invention.
In a word, the foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention. Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., it should be included in the present invention's Within protection domain.

Claims (5)

  1. A kind of 1. method of video and audio file synthesis, it is characterised in that comprise the following steps:
    Raw media file is obtained from the network terminal;
    The raw media file is analyzed, wherein the raw media file includes at least two materials;
    Material in the raw media file is merged, specifically included:
    Material in the raw media file is imported into timeline, obtains main editing material;
    Switching between the main editing material on the timeline or the packing of overlapping part are generated into new material, son is obtained and cuts Collect material;Specifically include:When merging sub- editing, the media file part that occurs in system replicon editing, and create one New main editing, main editing be sub- editing and new sub- editing duration and;
    The main editing material and the sub- editing material are subjected to sequence merging, generate file destination;
    Program file is exported after the file destination is encapsulated.
  2. 2. a kind of method of video and audio file synthesis as claimed in claim 1, it is characterised in that the material format includes: H264, Mpeg2_ibp, DVD and VCD.
  3. 3. a kind of method of video and audio file synthesis as claimed in claim 1, it is characterised in that described to original media text When part is analyzed, while volume gain adjustment can be done.
  4. 4. a kind of method of video and audio file synthesis as claimed in claim 1, it is characterised in that described to original media text After part is analyzed, property parameters setting is carried out to the raw media file.
  5. 5. a kind of method of video and audio file synthesis as claimed in claim 4, it is characterised in that the property parameters set bag Include:CBR or VBR are optional;Coded format;Bag long type;Video formats, aspect ration, code check and pid value are set;Audio code rate, lattice Formula type, sample rate and audio types.
CN201110452129.2A 2011-12-29 2011-12-29 A kind of method of video and audio file synthesis Active CN102752633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110452129.2A CN102752633B (en) 2011-12-29 2011-12-29 A kind of method of video and audio file synthesis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110452129.2A CN102752633B (en) 2011-12-29 2011-12-29 A kind of method of video and audio file synthesis

Publications (2)

Publication Number Publication Date
CN102752633A CN102752633A (en) 2012-10-24
CN102752633B true CN102752633B (en) 2017-12-29

Family

ID=47032504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110452129.2A Active CN102752633B (en) 2011-12-29 2011-12-29 A kind of method of video and audio file synthesis

Country Status (1)

Country Link
CN (1) CN102752633B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936016B (en) * 2014-03-17 2018-02-09 无锡天脉聚源传媒科技有限公司 A kind of video file suits method and system
CN108184079A (en) * 2017-12-29 2018-06-19 北京奇虎科技有限公司 The merging method and device of a kind of multimedia file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472092A (en) * 2007-12-27 2009-07-01 新奥特(北京)视频技术有限公司 Method and device for rapidly obtaining wonderful materials
CN101472085A (en) * 2007-12-25 2009-07-01 新奥特(北京)视频技术有限公司 Method for preparing news with vertical editing rail layout
CN101867762A (en) * 2010-06-12 2010-10-20 北京东方艾迪普科技发展有限公司 Timing system of on line advertisement for television station and method thereof
CN102231847A (en) * 2011-03-14 2011-11-02 新奥特(北京)视频技术有限公司 Direct and accurate frame positioning method supporting stream media files

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295755B2 (en) * 2001-06-22 2007-11-13 Thomson Licensing Method and apparatus for simplifying the access of metadata

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101472085A (en) * 2007-12-25 2009-07-01 新奥特(北京)视频技术有限公司 Method for preparing news with vertical editing rail layout
CN101472092A (en) * 2007-12-27 2009-07-01 新奥特(北京)视频技术有限公司 Method and device for rapidly obtaining wonderful materials
CN101867762A (en) * 2010-06-12 2010-10-20 北京东方艾迪普科技发展有限公司 Timing system of on line advertisement for television station and method thereof
CN102231847A (en) * 2011-03-14 2011-11-02 新奥特(北京)视频技术有限公司 Direct and accurate frame positioning method supporting stream media files

Also Published As

Publication number Publication date
CN102752633A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US9124671B2 (en) Media service and method for delivery of stored media
CN103093776B (en) Multi-audio-track content player method and system in network audiovisual
JP6438040B2 (en) Embed encoded audio in transport streams for perfect splicing
EP1397918B1 (en) Splicing of digital video transport streams
US20170374127A1 (en) Method and apparatus for delivering media content utilizing segment and packaging information
WO2017071523A1 (en) Bullet screen processing method, system, and terminal
US10200749B2 (en) Method and apparatus for content replacement in live production
CN101859585B (en) System and method for frame-accuracy cutting of video material
CA2819674C (en) Video encoding apparatus, video decoding apparatus, video encoding method, and video decoding method
CN101098483A (en) Video Cluster Transcoding System Using GOP Structure as Parallel Processing Unit
US20140237536A1 (en) Method of displaying contents, method of synchronizing contents, and method and device for displaying broadcast contents
CN102984465A (en) Program synthesis system and method applicable to networked intelligent digital media
US11044496B2 (en) Dynamic generation of video-on-demand assets for multichannel video programming distributors
CN101188697A (en) A method for importing caption in manuscript in non editing status
US8539526B1 (en) System and method for simultaneously broadcasting multiple media-components
CN104284241A (en) Video editing method and device
US20140229636A1 (en) Fragmenting media content
CN102752633B (en) A kind of method of video and audio file synthesis
CN100518331C (en) A Method for Inserting and Rebroadcasting IP Service Data Based on CATV Network
US8688737B2 (en) Method and apparatus for generating and reproducing media object-based metadata
CN111133761B (en) Method, apparatus and system for encoding or decoding video data using image metadata
CN104093089B (en) Cinema program live telecasting system and method
US10136146B1 (en) Metadata optimizations for encoding of media content
CN101673572A (en) Method for reediting digital film
US20190227866A1 (en) Information processing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant