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 PDF

Info

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
Application number
CN201811318997.XA
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.)
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
Chengdu Sobey Digital 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 Chengdu Sobey Digital Technology Co Ltd filed Critical Chengdu Sobey Digital Technology Co Ltd
Priority to CN201811318997.XA priority Critical patent/CN109413487A/en
Publication of CN109413487A publication Critical patent/CN109413487A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/44016Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/4402Processing 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/440218Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content 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

A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object
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.
CN201811318997.XA 2018-11-07 2018-11-07 A method of spelling is dodged after storing fragment transcoding/synthetic video file based on object Pending CN109413487A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
张永财: "《 .NET框架程序开发与应用》", 30 September 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
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
Perarnau et al. Invertible conditional gans for image editing
US20080250056A1 (en) Method and apparatus for writing binary data with low power consumption
WO2023280064A1 (en) Audiovisual secondary haptic signal reconstruction method based on cloud-edge collaboration
CN109195012A (en) A method of MP4 file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle
CN103473307B (en) Across media sparse hash indexing means
CN110569359A (en) Recognition model training and application method and device, computing equipment and storage medium
CN110347860B (en) Depth image description method based on convolutional neural network
CN112883229B (en) Video-text cross-modal retrieval method and device based on multi-feature-map attention network model
CN113934890A (en) Method and system for automatically generating scene video by characters
CN106528896A (en) Database optimization method and apparatus
CN105164590A (en) Apparatus for reducing data volumes
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
KR20210058059A (en) Unsupervised text summarization method based on sentence embedding and unsupervised text summarization device using the same
CN104394415A (en) Method for distributed decoding of video big data
CN111723194A (en) Abstract generation method, device and equipment
CN116208824B (en) Title generation method, computer device, storage medium, and computer program product
CN116386148B (en) Knowledge graph guide-based small sample action recognition method and system
CN109495752A (en) A method of MXF file is combined into based on object storage fragment transcoding/synthesis sudden strain of a muscle
US20190026350A1 (en) Structured record compression and retrieval
Huo et al. Deep Neighborhood-aware Proxy Hashing with Uniform Distribution Constraint for Cross-modal Retrieval
Wu et al. Efficient hash code expansion by recycling old bits
CN116208772A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN112069777A (en) Two-stage data-to-text generation method based on skeleton
CN114399646A (en) Image description method and device based on Transformer structure

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