CN109495752A - A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle - Google Patents
A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle Download PDFInfo
- Publication number
- CN109495752A CN109495752A CN201811317755.9A CN201811317755A CN109495752A CN 109495752 A CN109495752 A CN 109495752A CN 201811317755 A CN201811317755 A CN 201811317755A CN 109495752 A CN109495752 A CN 109495752A
- Authority
- CN
- China
- Prior art keywords
- file
- mxf
- subregion
- combined
- synthesis
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of dodged based on object storage fragment transcoding/synthesis to be combined into the method for MXF file, is related to technical field of video processing, and the present invention includes that source file fragment is transcoded into multiple MXF temporary files by S1;S2 reads the metadata of idx file in first MXF temporary file as head metadata, traverses all idx files and merges to concordance list;S3 modifies to head metadata according to combined concordance list, and MXF top of file subregion is written in combined concordance list and head metadata;S4 generates MXF tail of file subregion and random index packet according to head metadata;S5 is added into MXF file in a manner of quoting VA file;S6 modifies MXF top of file subregion, describes each VA file and target MXF tail of file subregion of target MXF top of file subregion, reference;S7 merges MXF top of file subregion and tail portion subregion, completes the splicing of target MXF file, and the present invention can greatly improve ultra high-definition video code conversion/combined coefficient, and highly effective is convenient for safeguarding, reduces costs.
Description
Technical field
The present invention relates to technical field of video processing, store fragment transcoding/conjunction based on object more particularly to one kind
The method of MXF file is combined at sudden strain of a muscle.
Background technique
Along with the development of ultra high-definition video technique, ultra high-definition video is compared to the high definition epoch, and resolution ratio is from 1280x720/
1920*1080 to 3840*2160/7680x4320, quantization from 8/10 bit to 10/12 bit, colour gamut from ITU-R BT.709 to
ITU-R BT.2020, MXF file is as mainstream media's video format, the growth of data volume exponentially.Concentration universal at present
The data volume that formula serial process transcoding/synthesis mode increases in face of explosion in this way, it is low to expose system utilization efficiency, handles the time
Long problem, due to low in ultra high-definition video code conversion/synthesis phase treatment effeciency at present, ultra high-definition video is faced with production
At high cost, the low predicament of output capacity, at present video processing has the following problems:
1, the serial transcoding of conventional individual/synthetic video file mode efficiency is too low
Current same ultra high-definition video file carries out transcoding/synthesis using single machine mode and handles, it is assumed that transcoding/synthesis one
The time of HD video is 5 minutes, then transcoding/synthesis one same duration ultra high-definition video may may require that 30 minutes or even
For more time, in the case where not by video slicing transcoding/synthesis, the huge data volume of ultra high-definition video is used at centralization
Comprehend and encounters great time bottleneck;
2, concatenation is cumbersome after cluster transcoding/composite document
It is too low using single machine transcoding/combined coefficient at present, if using distributed type assemblies transcoding/synthesis fragment transcoding file
Mode, then the file of fragment is spliced after transcoding/synthesis, but existing technology needs elder generation when being spliced
File is copied one by one, fabrication cycle is not only spun out in complicated copy function, is returned to store and transmit and be brought in data volume
Immense pressure, such connecting method causes producing efficiency low, and the period is long.
Summary of the invention
It is an object of the invention to: the efficiency in order to solve existing ultra high-definition video file transcoding/synthesize MXF file
Lower problem, the present invention provides a kind of method dodged based on object storage fragment transcoding/synthesis and be combined into MXF file, by video
File is cut into the splicing that multiple segments concurrently carry out progress second rank after distributed type assemblies transcoding operation, to improve video file
Transcoding/combined coefficient.
The present invention specifically uses following technical scheme to achieve the goals above:
A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle, is included the following steps:
S1: source file fragment is concurrently transcoded into multiple MXF temporary files, each MXF temporary file includes VA
File and idx file, each idx file includes metadata and concordance list;
S2: the metadata of idx file in first MXF temporary file is read as head metadata, traverses all idx texts
Part merges concordance list;
S3: modifying to head metadata according to obtained concordance list is merged, and will merge obtained concordance list and repair
MXF top of file subregion is written in head metadata after changing;
S4: MXF tail of file subregion and random index packet are generated according to modified head metadata;
S5: reading each VA file, and MXF file is added in the object that forms of each VA file in the way of quoting each VA file;
S6: modification MXF top of file subregion, be allowed to describe target MXF top of file subregion, reference each VA file and
Target MXF tail of file subregion;
S7: merging MXF top of file subregion and MXF tail of file subregion, completes the splicing of target MXF file.
It further, further include physical containers for storing media content, the reality in the MXF top of file subregion
Body container is made of each VA file, and the VA file is made of multiple edit cells, and the edit cell includes system entries, image
Item, sound items and data item.
Further, it is each right in description object storage in correct part area that MXF top of file subregion is modified in the S6
The manifest of image information modifies.
Further, the random index packet is located at after the subregion of tail portion.
Beneficial effects of the present invention are as follows:
1, source file of the invention can be one or more materials, be also possible to a timeline program, of the invention
Source file fragment is multiple segments by method, concomitantly carries out transcoding/synthesis using more computing resources, each fragment transcoding/
The result of synthesis is write in a manner of MXF temporary file in object storage, and wherein the format of MXF temporary file is according to target
MXF file format and design so that splicing it is more smooth.
2, method of the invention generates head subregion and the tail portion of MXF file according to the information recorded in MXF temporary file
Subregion writes in object storage, then using the characteristic of object storage, modifies the manifest of head zone object, is allowed to retouch
State target MXF top of file subregion, reference each temporary file in VA file and target MXF file tail portion subregion after,
Complete the splicing of target MXF file, the wherein VA file in temporary file occupies the most data amount of MXF file, but because
It is hereby incorporated by reference MXF file, does not need to carry out data copy operation, greatly improves splicing efficiency, and
File code rate is higher, and splicing advantage is more obvious, and almost zero is time-consuming.
Detailed description of the invention
Fig. 1 is method flow schematic diagram of the invention.
Fig. 2 is idx file format schematic diagram of the present invention.
Fig. 3 is target MXF file format schematic diagram of the present invention.
Fig. 4 is the structural schematic diagram of edit cell of the present invention.
Specific embodiment
In order to which those skilled in the art better understand the present invention, with reference to the accompanying drawing with following embodiment to the present invention
It is described in further detail.
Embodiment 1
As shown in Fig. 1 to 2, MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle the present embodiment provides a kind of
Method includes the following steps:
S1: source file fragment is concurrently transcoded into multiple MXF temporary files, each MXF temporary file includes VA
File and idx file, each idx file includes metadata and concordance list;
S2: the metadata of idx file in first MXF temporary file is read as head metadata, traverses all idx texts
Part merges concordance list;
S3: modifying to head metadata according to obtained concordance list is merged, and will merge obtained concordance list and repair
MXF top of file subregion is written in head metadata after changing;
S4: MXF tail of file subregion and random index packet, the random index are generated according to modified head metadata
Packet is located at after the subregion of tail portion;
S5: reading each VA file, and MXF file is added in the object that forms of each VA file in the way of quoting each VA file;
S6: modification MXF top of file subregion, be allowed to describe target MXF top of file subregion, reference each VA file and
Target MXF tail of file subregion, wherein modification MXF top of file subregion is each right in description object storage in correct part area
The manifest of image information modifies;
S7: merging MXF top of file subregion and MXF tail of file subregion, completes the splicing of target MXF file.
Embodiment 2
As shown in Figure 3 and Figure 4, the present embodiment advanced optimizes on the basis of embodiment 1, specifically:
It further include for storing media content in the MXF top of file subregion, i.e. the entity of video and audio solid data holds
Device, the physical containers are made of each VA file, and the VA file is made of multiple edit cells, and the edit cell includes being
System item, image term, sound items and data item.
Above-described embodiment generates the head subregion and portion of MXF file according to the information recorded in MXF temporary file
Area writes in object storage, then using the characteristic of object storage, modifies the manifest of head zone object, is allowed to describe
Target MXF top of file subregion, reference each temporary file in VA file and target MXF file tail portion subregion after, it is complete
Splice at target MXF file, wherein the VA file in temporary file, occupies the most data amount of MXF file, but because of it
It is hereby incorporated by reference MXF file, does not need to carry out data copy operation, greatly improves splicing efficiency, and text
Part code rate is higher, and splicing advantage is more obvious, and almost zero is time-consuming.
The above, only presently preferred embodiments of the present invention, are not intended to limit the invention, patent protection model of the invention
It encloses and is subject to claims, it is all to change with equivalent structure made by specification and accompanying drawing content of the invention, similarly
It should be included within the scope of the present invention.
Claims (4)
1. a kind of dodge the method for being combined into MXF file based on object storage fragment transcoding/synthesis, which is characterized in that including walking as follows
It is rapid:
S1: source file fragment is concurrently transcoded into multiple MXF temporary files, each MXF temporary file includes VA file
With idx file, each idx file includes metadata and concordance list;
S2: the metadata of idx file in first MXF temporary file is read as head metadata, traverses all idx files pair
Concordance list merges;
S3: it modifies according to obtained concordance list is merged to head metadata, and after the concordance list that merging is obtained and modification
Head metadata be written MXF top of file subregion;
S4: MXF tail of file subregion and random index packet are generated according to modified head metadata;
S5: reading each VA file, and MXF file is added in the object that forms of each VA file in the way of quoting each VA file;
S6: modification MXF top of file subregion is allowed to describe target MXF top of file subregion, each VA file of reference and target
MXF tail of file subregion;
S7: merging MXF top of file subregion and MXF tail of file subregion, completes the splicing of target MXF file.
2. a kind of method that MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle according to claim 1,
It is characterized in that, further includes physical containers in the MXF top of file subregion, the physical containers are made of each VA file, described
VA file is made of multiple edit cells, and the edit cell includes system entries, image term, sound items and data item.
3. a kind of method that MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle according to claim 1,
Be characterized in that, in the S6 modify MXF top of file subregion be in correct part area description object storage in each object information
Manifest modifies.
4. a kind of method that MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle according to claim 1,
It is characterized in that, the random index packet is located at after the subregion of tail portion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811317755.9A CN109495752A (en) | 2018-11-07 | 2018-11-07 | A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811317755.9A CN109495752A (en) | 2018-11-07 | 2018-11-07 | A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109495752A true CN109495752A (en) | 2019-03-19 |
Family
ID=65695161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811317755.9A Pending CN109495752A (en) | 2018-11-07 | 2018-11-07 | A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495752A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110996172A (en) * | 2019-12-17 | 2020-04-10 | 杭州当虹科技股份有限公司 | Method for quickly synthesizing 4K MXF file |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857794A (en) * | 2011-06-28 | 2013-01-02 | 上海聚力传媒技术有限公司 | Method and device for merging video segments |
US20150125133A1 (en) * | 2013-11-06 | 2015-05-07 | Konkuk University Industrial Cooperation Corp. | Method for transcoding multimedia, and hadoop-based multimedia transcoding system for performing the method |
CN106021565A (en) * | 2016-05-31 | 2016-10-12 | 成都索贝数码科技股份有限公司 | Method for continuing writing MXF files in Op1a format and Op1b format |
CN106055643A (en) * | 2016-05-31 | 2016-10-26 | 成都索贝数码科技股份有限公司 | Continuous writing method for writing interrupt of MXF files |
CN107295425A (en) * | 2017-06-12 | 2017-10-24 | 北京达沃时代科技股份有限公司 | A kind of method of quick splicing transcoding slicing files |
CN108319625A (en) * | 2017-01-17 | 2018-07-24 | 广州市动景计算机科技有限公司 | Piece file mergence method and apparatus |
-
2018
- 2018-11-07 CN CN201811317755.9A patent/CN109495752A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102857794A (en) * | 2011-06-28 | 2013-01-02 | 上海聚力传媒技术有限公司 | Method and device for merging video segments |
US20150125133A1 (en) * | 2013-11-06 | 2015-05-07 | Konkuk University Industrial Cooperation Corp. | Method for transcoding multimedia, and hadoop-based multimedia transcoding system for performing the method |
CN106021565A (en) * | 2016-05-31 | 2016-10-12 | 成都索贝数码科技股份有限公司 | Method for continuing writing MXF files in Op1a format and Op1b format |
CN106055643A (en) * | 2016-05-31 | 2016-10-26 | 成都索贝数码科技股份有限公司 | Continuous writing method for writing interrupt of MXF files |
CN108319625A (en) * | 2017-01-17 | 2018-07-24 | 广州市动景计算机科技有限公司 | Piece file mergence method and apparatus |
CN107295425A (en) * | 2017-06-12 | 2017-10-24 | 北京达沃时代科技股份有限公司 | A kind of method of quick splicing transcoding slicing files |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110996172A (en) * | 2019-12-17 | 2020-04-10 | 杭州当虹科技股份有限公司 | Method for quickly synthesizing 4K MXF file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109195012A (en) | A method of MP4 file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle | |
WO2020125567A1 (en) | Automatic animation generation method, and automatic animation generation system | |
US8504591B2 (en) | Data generating device and data generating method, and data processing device and data processing method | |
US9812169B2 (en) | Operational system and architectural model for improved manipulation of video and time media data from networked time-based media | |
CN114973056B (en) | Information density-based fast video image segmentation and annotation method | |
CN100394773C (en) | Film converting edition apparatus and method | |
CN107273120A (en) | A kind of method and system of fast construction mobile phone mobile applications | |
CN106688015B (en) | Processing parameters for operations on blocks when decoding images | |
CN106790558B (en) | Film multi-version integration storage and extraction system | |
CN109495752A (en) | A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle | |
CN104184980A (en) | Data processing method and electronic device | |
CN101478680B (en) | Generation method, system and multimedia device for fast forwarding and rewinding video file | |
CN105447016B (en) | A kind of fast search of component and the method for reuse | |
CN109413487A (en) | A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object | |
Luchen et al. | ChatGPT begins: A reflection on the involvement of AI in the creation of film and television scripts | |
JP2006333330A (en) | Data processing method, and apparatus and program | |
CN116208824B (en) | Title generation method, computer device, storage medium, and computer program product | |
US20140369422A1 (en) | Remultiplexing Bitstreams of Encoded Video for Video Playback | |
CN110347921A (en) | A kind of the label abstracting method and device of multi-modal data information | |
CN106791539B (en) | A kind of storage and extracting method of film digital program | |
CN102129702B (en) | Image thumbnail making method and system thereof | |
CN101296346B (en) | Image data recording/playback device, system, and method | |
CN100465960C (en) | Optimized SVG demonstration projection method | |
KR20220079073A (en) | Production interface device for multimedia conversion content production service providing device | |
KR20220079042A (en) | Program recorded medium for providing service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |