Unlock instant, AI-driven research and patent intelligence for your innovation.

Lightweight compressed video packaging method

An encapsulation method and lightweight technology, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as file loss, achieve lightweight encapsulation, and solve the effect of file loss

Inactive Publication Date: 2020-02-14
SUZHOU CHANGFENG AVIATION ELECTRONICS
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the above-mentioned deficiencies in the prior art, aiming at the problem of file loss caused by abnormal power failure of the traditional packaging method, a light-weight compressed video packaging method is proposed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lightweight compressed video packaging method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The invention provides a light-weight compressed video encapsulation method. The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings, so as to make it easier to understand and grasp.

[0019] A light-weight compressed video encapsulation method, such as figure 1 As shown, it includes file creation step 100, header information writing step 200, script information writing step 300, code stream acquisition step 400, code stream packaging step 500, real-time updating step 600 and synchronous writing step 700.

[0020] The file creation step 100 includes the file creation step 101 and the file opening step 102. The present invention does not limit the type of the file to be created. After step 101 is completed, step 102 is executed.

[0021] The header information writing step 200 is performed after the step 102 is completed and the header information writing step 201 is executed. The header information...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a lightweight compressed video packaging method which comprises the following steps: a file creation step, namely opening a file in a write mode; a header information writing step of writing a header of the file to distinguish the type of the file; writing script information, wherein the script information sequentially comprises file duration, file size and resolution information; a code stream acquisition step of receiving audio and video bare data streams and time information output by video compression, and collecting audio and video data; a code stream packaging step of writing segment size and segment information; a real-time updating step of updating the file duration and the file size in the file header; and a synchronous writing step of moving the data in the memory to a storage medium, obtaining the next frame of data after the synchronization is completed, and if the real-time updating step is circularly executed, circularly executing the synchronous writing step to realize lightweight encapsulation through a simplified encapsulation mode and a real-time updating file header, so that the problem of file loss caused by abnormal power failure is solved.

Description

technical field [0001] The invention relates to a light-weight compressed video encapsulation method, which belongs to the technical field of video code stream encapsulation. Background technique [0002] In the field of video processing, the compressed video code stream is often not played directly through the player due to incomplete information, and needs to be stored in a video format. Video encapsulation is a key technology, which passes the original compressed code stream through a certain method It is packaged into a file in a certain format to be played by playback software. In the field of traditional video processing, the encapsulation library is usually used for encapsulation. This method has a major disadvantage. When the video ends, the end of the video needs to be written. The step of writing the end of the video cannot be completed under abnormal power failure, which leads to video playback. The last few seconds at the end of the video are lost, and in seriou...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/236H04N21/433H04N21/8547
CPCH04N21/236H04N21/4334H04N21/8547
Inventor 吴佳彬张锋高伟松
Owner SUZHOU CHANGFENG AVIATION ELECTRONICS