CN109413487A - A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object - Google Patents
A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object Download PDFInfo
- Publication number
- CN109413487A CN109413487A CN201811318997.XA CN201811318997A CN109413487A CN 109413487 A CN109413487 A CN 109413487A CN 201811318997 A CN201811318997 A CN 201811318997A CN 109413487 A CN109413487 A CN 109413487A
- Authority
- CN
- China
- Prior art keywords
- file
- destination
- header
- idx
- transcoding
- 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
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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
- H04N21/85406—Content authoring involving a specific file format, e.g. MP4 format
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a kind of methods that spelling is dodged after storage fragment transcoding/synthetic video file based on object, it is related to technical field of video processing, the present invention includes S1: source file fragment being concurrently transcoded into multiple temporary files, each temporary file includes VA file and idx file;S2: reading each idx file, and the file header and end-of-file of file destination are formed by each idx file mergences;S3: reading each VA file, and the file body of file destination is formed in a manner of quoting each VA file;S4: modifying to the file header of file destination, is allowed to describe the file header of file destination, file body and end-of-file;The advantages of S5: submitting the modification to file header, i.e. the splicing of completion file destination, the present invention can greatly improve ultra high-definition video code conversion/combined coefficient, have highly effective, convenient for safeguarding, reduces cost.
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
At the method for dodging spelling after video file.
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 1920*1080
To 3840*2160, code rate (Apple ProRes HQX format) from 50Mbps (HD MPEG2 format) to 1500Mbps, video text
The growth of the data volume of part exponentially.Current centralized serial process transcoding/synthesis mode increases in face of explosion in this way
Data volume exposes the problem that system utilization efficiency is low, and the processing time is grown, due at present in ultra high-definition video code conversion/synthesis rank
Section treatment effeciency it is low, ultra high-definition video be faced with cost of manufacture height, the low predicament of output capacity, at present video processing exist with
Lower problem:
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: in order to solve, existing ultra high-definition video file transcoding/synthetic operation is cumbersome, efficiency mistake
Low problem, the present invention provide it is a kind of dodge the method for spelling after storing fragment transcoding/synthetic video file based on object, make full use of
Cluster, realization will concurrently carry out transcoding/synthetic operation after several objects of video file fragment, by several after transcoding/synthesis
The temporary file that object generates carries out the splicing of second rank simultaneously, can greatly improve ultra high-definition video code conversion/combined coefficient, has
There is highly effective, convenient for safeguarding, the advantages of reducing cost.
The present invention specifically uses following technical scheme to achieve the goals above:
A method of spelling being dodged after storing fragment transcoding/synthetic video file based on object, is included the following steps:
S1: being concurrently transcoded into multiple temporary files for source file fragment, each temporary file include VA file and
Idx file;
S2: reading each idx file, and the file header and end-of-file of file destination are formed by each idx file mergences;
S3: reading each VA file, and the file body of file destination is formed in a manner of quoting each VA file;
S4: modifying to the file header of file destination, is allowed to describe the file header of file destination, file body and file
Tail;
S5: the modification to file header, the i.e. splicing of completion file destination are submitted.
Further, the idx file is made of metadata and index.
Further, in the S2, each idx file is read, the metadata and index to each idx file are closed respectively
And and by after merging metadata and index be respectively written into file header and end-of-file.
Further, in the S4, modifying to file destination file header is in storing to description object in file header
The manifest of each object information modifies.
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 temporary file in object storage, and wherein the format of temporary file is according to destination file format
And design, matching degree is high.
2, method of the invention generates the file header and end-of-file of file destination according to the information recorded in temporary file,
It writes in object storage, then using the characteristic of object storage, modifies the manifest of file header object, be allowed to describe target text
After part file header, the file body of VA file in each temporary file of reference and the end-of-file of file destination, file destination is completed
Splicing, wherein the VA file in temporary file, occupies the most data amount of file destination, but because it is the side with reference
File destination is added in formula, does not need to carry out data copy operation, greatly improves splicing efficiency, and file code rate is higher,
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 the form schematic diagram of idx file of the present invention.
Fig. 3 is the form schematic diagram of file destination 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 3, the present embodiment provides one kind to be spelled based on sudden strain of a muscle after object storage fragment transcoding/synthetic video file
Method, include the following steps:
S1: by the concurrent transcoding of source file fragment, each fragment after transcoding forms temporary file, each temporary file
It include VA file and idx file, wherein the idx file is made of metadata and index;
S2: reading each idx file, and the file header and end-of-file of file destination are formed by each idx file mergences, specifically:
Each idx file is read, the metadata and index to each idx file merge respectively, by the metadata after merging
With index write-in file header and end-of-file, file header includes the index after the metadata and merging after merging, text under normal conditions
Part tail includes the index after merging;
S3: reading each VA file, and the file body of file destination is formed in a manner of quoting each VA file;
S4: modifying to the file header of file destination, particularly in file header description object storage in each object
The manifest of information modifies, and is allowed to describe the file header of file destination, the VA file in cited each temporary file
And end-of-file;
S5: the modification to file header, the i.e. splicing of completion file destination are submitted.
The present embodiment generates the file header and end-of-file of file destination according to the information recorded in temporary file, writes on pair
As then using the characteristic of object storage, modifying the manifest of file header object, being allowed to describe file destination file in storage
After head, the file body of VA file in each temporary file of reference and the end-of-file of file destination, file destination splicing is completed,
VA file in middle temporary file occupies the most data amount of file destination, but because it is to be hereby incorporated by reference mesh
File is marked, does not need to carry out data copy operation, greatly improves splicing efficiency, and file code rate is higher, splice advantage
It is more obvious, 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. dodging the method for spelling after a kind of storage fragment transcoding/synthetic video file based on object, which is characterized in that including walking as follows
It is rapid:
S1: source file fragment is concurrently transcoded into multiple temporary files, each temporary file includes VA file and idx text
Part;
S2: reading each idx file, and the file header and end-of-file of file destination are formed by each idx file mergences;
S3: reading each VA file, and the file body of file destination is formed in a manner of quoting each VA file;
S4: modifying to the file header of file destination, is allowed to describe the file header of file destination, file body and end-of-file;
S5: the modification to file header, the i.e. splicing of completion file destination are submitted.
2. the method for spelling is dodged after a kind of storage fragment transcoding/synthetic video file based on object according to claim 1,
It is characterized in that, the idx file is made of metadata and index.
3. the method for spelling is dodged after a kind of storage fragment transcoding/synthetic video file based on object according to claim 2,
It is characterized in that, in the S2, reads each idx file, the metadata and index to each idx file merge respectively, and will close
Metadata and index write-in file header and end-of-file after and.
4. the method for spelling is dodged after a kind of storage fragment transcoding/synthetic video file based on object according to claim 1,
It is characterized in that, in the S4, modifying to file destination file header is to each object is believed in description object storage in file header
The manifest of breath modifies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811318997.XA CN109413487A (en) | 2018-11-07 | 2018-11-07 | A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811318997.XA CN109413487A (en) | 2018-11-07 | 2018-11-07 | A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109413487A true CN109413487A (en) | 2019-03-01 |
Family
ID=65471917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811318997.XA Pending CN109413487A (en) | 2018-11-07 | 2018-11-07 | A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109413487A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114925026A (en) * | 2022-05-16 | 2022-08-19 | 北京航星永志科技有限公司 | Electronic file utilization method and device, storage medium and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622094A (en) * | 2004-12-24 | 2005-06-01 | 北京中星微电子有限公司 | Method for file merge |
CN102857794A (en) * | 2011-06-28 | 2013-01-02 | 上海聚力传媒技术有限公司 | Method and device for merging video segments |
US20130107952A1 (en) * | 2011-10-26 | 2013-05-02 | Qualcomm Incorporated | Unified design for picture partitioning schemes |
US20140328396A1 (en) * | 2012-01-16 | 2014-11-06 | Mediatek Singapore Pte. Ltd. | Method and apparatus for context adaptive binary arithmetic coding of syntax elements |
CN106095794A (en) * | 2016-05-27 | 2016-11-09 | 成都索贝数码科技股份有限公司 | A kind of Piece file mergence method and system based on the storage of FICS object |
CN106488259A (en) * | 2016-10-25 | 2017-03-08 | 上海网达软件股份有限公司 | A kind of virtual joining method of HLS Streaming Media burst and system |
CN107295425A (en) * | 2017-06-12 | 2017-10-24 | 北京达沃时代科技股份有限公司 | A kind of method of quick splicing transcoding slicing files |
-
2018
- 2018-11-07 CN CN201811318997.XA patent/CN109413487A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1622094A (en) * | 2004-12-24 | 2005-06-01 | 北京中星微电子有限公司 | Method for file merge |
CN102857794A (en) * | 2011-06-28 | 2013-01-02 | 上海聚力传媒技术有限公司 | Method and device for merging video segments |
US20130107952A1 (en) * | 2011-10-26 | 2013-05-02 | Qualcomm Incorporated | Unified design for picture partitioning schemes |
US20140328396A1 (en) * | 2012-01-16 | 2014-11-06 | Mediatek Singapore Pte. Ltd. | Method and apparatus for context adaptive binary arithmetic coding of syntax elements |
CN106095794A (en) * | 2016-05-27 | 2016-11-09 | 成都索贝数码科技股份有限公司 | A kind of Piece file mergence method and system based on the storage of FICS object |
CN106488259A (en) * | 2016-10-25 | 2017-03-08 | 上海网达软件股份有限公司 | A kind of virtual joining method of HLS Streaming Media burst and system |
CN107295425A (en) * | 2017-06-12 | 2017-10-24 | 北京达沃时代科技股份有限公司 | A kind of method of quick splicing transcoding slicing files |
Non-Patent Citations (1)
Title |
---|
张永财: "《 .NET框架程序开发与应用》", 30 September 2017 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114925026A (en) * | 2022-05-16 | 2022-08-19 | 北京航星永志科技有限公司 | Electronic file utilization method and device, storage medium and electronic equipment |
CN114925026B (en) * | 2022-05-16 | 2022-12-20 | 北京航星永志科技有限公司 | Electronic file utilization method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113642604B (en) | Audio-video auxiliary touch signal reconstruction method based on cloud edge cooperation | |
US20080250056A1 (en) | Method and apparatus for writing binary data with low power consumption | |
Prabhakaran | Multimedia database management systems | |
CN109195012A (en) | A method of MP4 file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle | |
CN110569359B (en) | Training and application method and device of recognition model, computing equipment and storage medium | |
CN113934890B (en) | Method and system for automatically generating scene video by characters | |
CN112883229B (en) | Video-text cross-modal retrieval method and device based on multi-feature map attention network model | |
CN117271780B (en) | Method and system for compressing context based on large language model | |
CN113673613A (en) | Multi-modal data feature expression method, device and medium based on contrast learning | |
CN116167920A (en) | Image compression and reconstruction method based on super-resolution and priori knowledge | |
CN113392341A (en) | Cover selection method, model training method, device, equipment and storage medium | |
CN116361256A (en) | Data synchronization method and system based on log analysis | |
Huo et al. | Deep neighborhood-aware proxy hashing with uniform distribution constraint for cross-modal retrieval | |
CN118674829A (en) | Method, device, electronic equipment and storage medium for generating image based on text | |
CN119204045B (en) | Medical document translation method, device and electronic device | |
CN109413487A (en) | A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object | |
CN113641854B (en) | Method and system for converting text into video | |
CN113268985B (en) | Method, device and medium for remote supervision relation extraction based on relation path | |
CN111723194A (en) | Abstract generation method, device and equipment | |
CN109495752A (en) | A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle | |
CN114610893A (en) | Script-to-storyboard sequence automatic generation method and system based on deep learning | |
CN116208824B (en) | Title generation method, computer device, storage medium, and computer program product | |
CN116681887A (en) | Cross-task knowledge distillation method, device and medium from image classification to semantic segmentation | |
CN110069666A (en) | The Hash learning method and device kept based on Near-neighbor Structure | |
CN116226450A (en) | Video representation method and device based on unsupervised pre-training model |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |