Video compressing and encoding method with alpha transparent channel

A transparent channel, video compression technology, applied in the field of video compression coding with alpha transparent channel, can solve the problems of ignoring spatial correlation, large amount of data, unfavorable information sharing, etc., to achieve low cost, reduce video bit rate, and simplify the process Effect

Active Publication Date: 2010-06-16
BEIJING DAYANG TECH DEV
View PDF0 Cites 72 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These two methods have obvious shortcomings: both methods need to save multiple files, and the corresponding relationship between each frame image and the corresponding alpha channel data is not clear; it is not conducive to file management and information sharing between programs, and the first method Ignoring the strong spatial correlation of moving images, resulting in a large amount of data and wasting storage space

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
  • Video compressing and encoding method with alpha transparent channel
  • Video compressing and encoding method with alpha transparent channel
  • Video compressing and encoding method with alpha transparent channel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] An embodiment of a video compression coding method with alpha transparent channel, see figure 1 , figure 2 with image 3 , A video compression coding method with alpha transparent channel, adopts MPEG-2 format for video image files containing alpha transparent channel according to the user-specified bit rate range (it is a known value specified in advance according to user requirements, usually Determined according to the user’s requirements for video quality and other factors) for compression encoding and decompression. The process of compression encoding and decompression is to compress and decompress each frame of video image. The compression and encoding of one frame of video image is firstly by the compression device To obtain video images and alpha transparent channel video data, the encoding steps include:

[0035] a. Convert the acquired video image to a specific format image;

[0036] b. Losslessly compress the data in the alpha transparent channel;

[0037] c. Enco...

Embodiment 2

[0050] A preferred embodiment of a video compression coding method embedded in a specific picture, see embodiment 1,

[0051] When the specific input format is YUV4:4:4 format, the video data is divided into macroblocks according to the MPEG-2 format standard, and each macroblock contains 4 8X8 Y luminance blocks and 4 8X8 U chrominance blocks And 4 8X8 V chroma blocks. according to Image 6 The digital sequence shown transforms each image block from the spatial domain to the frequency domain, and uses the discrete cosine transform formula to obtain the frequency domain data; the discrete cosine transform formula is as follows:

[0052] f nm = 1 4 c n c m X i = 0 7 X j = 0 7 cos πn ( 2 i + 1 ) 16 cos πm ( 2 j + 1 ) 16 x ij - - - ( 1 )

[0053] The values ​​of n, m, i, and j in the cosine transform formula are in the range of 0-7.

[0054] The sequence of step...

Embodiment 3

[0057] A preferred 2 embodiments of a video compression coding method embedded in a specific picture, see embodiment 1,

[0058] Since the chroma format of the input coded data targeted by the MPEG-2 standard is YUV4:2:0 and YUV4:2:2, the quantization matrix defined in the original standard does not consider the characteristics of RGB input data, so when the input format is RGB , Need to use another quantization matrix, in order to get higher compression efficiency.

[0059] Therefore, when the specific input format is the RGB format, the sequence of steps for determining whether the data amount of the current encoded frame is within the code rate range required by the user is:

[0060] When the specific input format is the RGB format, the video data is divided into macro blocks according to the MPEG-2 format standard, and each macro block contains 4 8X8 R red blocks, 4 8X8 G green blocks and 4 8X8 B blue degree block. according to Image 6 The sequence of internal numbers transfo...

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 relates to a video compressing and encoding method with an alpha transparent channel, comprising the following steps of: inverting the acquired video image to the image in the format of RGB or YUV4:4:4/YUV4:2:2/YUV4:2:0; compressing the acquired data in the alpha transparent channel in a no-damage mode; encoding and compressing video data for the video image in the specific format according to the frame format of MPEG-2 I and saving the compressed data in the alpha transparent channel in the compressed data structure of the video image. The method realizes the encoding of a specific video picture, can use a standard MPEG2 encoder for encoding, and effectively reduces video bitrate when ensuring the high quality of the video so as to realize the video data encoding with high quality, high efficiency and low cost. Because the data of the alpha transparent channel and the compressed data of the video image are saved in the same file, the video compressing and encoding method not only simplifies the process of processing the image at the later period and the information sharing between file management and a program, but also reserves the original video which is not added with the data of the alpha transparent channel.

Description

Technical field [0001] The invention belongs to the field of broadcast and television, and particularly relates to a video compression coding method with alpha transparent channel. The method adopts a custom coding format to realize the coding of a specific video picture, and the video input format for the coding format is RGB or YUV4 :4:4 / YUV4:2:2 / YUV4:2:0 format, and you can select alpha transparent channel data. The compressed and encoded transparent channel data is stored in a specific location, and other standard decoders can decode normally. Background technique [0002] In the process of professional program production, it is often necessary to use the alpha transparent channel to produce various special effects. Alpha channel data is represented by 8-bit binary numbers, which store additional information representing the transparency of each pixel in the image file. Using the transparency of the alpha channel can create very rich image effects, not only in multimedia wor...

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): H04N7/26H04N19/146H04N19/88
Inventor 邓伟褚震宇张浩朱宇
Owner BEIJING DAYANG TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products