Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Macro block type determining method, video transcoding method, electronic device and storage medium

A judgment method and video transcoding technology, which is applied in the direction of digital video signal modification, electrical components, image communication, etc., can solve the problems of low video coding efficiency, large computing resources, and long time, so as to reduce the traversal range and reduce computing time. Quantity, the effect of improving coding efficiency

Inactive Publication Date: 2018-09-28
SHENZHEN ONETHING TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In order to overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a macroblock type determination method, which can solve the problem that the existing macroblock type determination needs to take up a lot of computing resources and spend more time. The problem of low efficiency
[0011] The second object of the present invention is to provide a video transcoding method, which can solve the problem that the existing macroblock type judgment needs to occupy a large amount of computing resources and spend a lot of time, so the efficiency of video coding is relatively low
[0012] The third object of the present invention is to provide electronic equipment, which can solve the problem that the existing macroblock type judgment needs to occupy a lot of computing resources and spend more time, so the efficiency of video coding is relatively low

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
  • Macro block type determining method, video transcoding method, electronic device and storage medium
  • Macro block type determining method, video transcoding method, electronic device and storage medium
  • Macro block type determining method, video transcoding method, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Such as figure 2 It is a schematic flow diagram of a method for determining a macroblock type, which is applicable to such as image 3 The video transcoding module shown. The video transcoding module includes a first encoder and at least one second encoder for processing the same video stream and outputting them respectively. Both the first encoder and the second encoders compress and encode the same input video stream; the first encoder and the second encoder can use different code rate control parameters, so that they can output video streams with different qualities, such as output Video Stream 1 - Video Stream 3.

[0069] Macroblocks are the main bearers of video information. A coded image is usually divided into multiple macroblocks, which contain the brightness and chrominance information of each pixel. In H.264, a macroblock is a 16×16 pixel area in an image frame, and is the basic operation unit of motion compensation. In H.265, the size of the macroblock i...

Embodiment 2

[0108] Such as Figure 6 The macroblock type judging method shown comprises the following steps:

[0109] Step S210, the second encoder acquires frame type information from the first encoder.

[0110] When encoding the input video stream, the first encoder calculates a group of pictures (Group of Pictures, GOP) structure, which can reflect the type of each frame, that is, frame type information. The second encoder can multiplex the frame type information obtained from the first encoder, so that the second encoder does not need to analyze and calculate the frame type; The definitions are completely consistent, so as to ensure the accuracy and stability of the second encoder using the macroblock type information of the first encoder.

[0111] In another embodiment, the GOP structure can be calculated by the second encoder, and the macroblock type information of the first encoder can also be used by the second encoder, but the stability is slightly worse, and the calculation am...

Embodiment 3

[0126] The embodiment of the present invention provides a video transcoding method for such as image 3 The video transcoding module shown. The video transcoding module includes a first encoder and at least one second encoder for processing the same video stream and outputting them respectively.

[0127] The video transcoding method specifically adopts the macroblock type determination method provided in Embodiment 1 and Embodiment 2 when the second encoder determines the macroblock type.

[0128] Other steps of the video transcoding method can be implemented according to existing technologies, such as video coding standards such as H.264 / AVC and HEVC / H.265, and the embodiments of the present invention do not involve improvements to this part, so details are not repeated here.

[0129] As a preferred embodiment, such as Figure 7 As shown, the video transcoding module further includes a video decoder for converting the input video stream into data suitable for the first enco...

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 macro block type determining method, a video transcoding method, an electronic device and a storage medium, wherein the macro block type determining method is used for a video transcoding module, the video transcoding module comprises a first encoder and a second encoder used for processing the same video stream and respectively outputting the video stream, the first encoder is used for processing a first macro block, and the second encoder is used for processing a second macro block. The method comprises the steps of: acquiring a macro block type of a target macro block, wherein the target macro block is a first macro block associated with a current second macro block, and the macro block type of the target macro block is calculated by the first encoder; adjusting the selectable type set of the current second macro block according to the macro block type of the target macro block; and determining the macro block type of the current second macro block according to the adjusted selectable type set. As the traversal range of the macro block types is reduced, the calculation amount of video transcoding may be reduced, and the encoding efficiency is improved.Furthermore, the first encoder and the second encoder may output videos of different code rates.

Description

technical field [0001] The invention relates to video compression technology, in particular to a macroblock type determination method, a video transcoding method, electronic equipment and a storage medium. Background technique [0002] Video coding standards such as H.264 / AVC, HEVC / H.265 provide excellent coding performance. H.264 / AVC compression technology mainly uses the following methods to compress video data. [0003] 1) Intra-frame prediction compression solves the problem of spatial data redundancy. [0004] 2) Inter-frame prediction compression, that is, motion estimation and compensation, solves the problem of temporal data redundancy. [0005] 3) Integer discrete cosine transform, namely DCT, changes spatial correlation into irrelevant data in frequency domain and then performs quantization. [0006] 4) CABAC compression. [0007] H.264 / AVC, HEVC / H.265 and other video coding standards are the working framework of block-based motion compensation and discrete cos...

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
IPC IPC(8): H04N19/176H04N19/40H04N19/147H04N19/103H04N19/114
CPCH04N19/103H04N19/114H04N19/147H04N19/176H04N19/40
Inventor 刘兴强
Owner SHENZHEN ONETHING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products