Skip macro block judgment method, video transcoding method, electronic device and storage medium

A technology of video transcoding and judgment method, which is applied in the fields of digital video signal modification, electrical components, image communication, etc., can solve problems such as less coding calculation amount, and achieve the effect of reducing calculation amount and reducing complex calculation and judgment.

Inactive Publication Date: 2018-11-06
SHENZHEN ONETHING TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] The second object of the present invention is to provide a video transcoding method, which can solve the problem of how to quickly and accurately determine skip macroblocks, reduce the amount of encoding calculations, and improve encoding efficiency

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
  • Skip macro block judgment method, video transcoding method, electronic device and storage medium
  • Skip macro block judgment method, video transcoding method, electronic device and storage medium
  • Skip macro block judgment method, video transcoding method, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Such as figure 2 It is a schematic flow chart of the skip macroblock judging method in this embodiment, 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. 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 as to output video streams with different qualities, such as Output video stream 1-video stream 3.

[0061] 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 is exte...

Embodiment 2

[0077] Such as Figure 5 The skip macroblock judging method shown comprises the following steps:

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

[0079] 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.

[0080] 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

[0093] 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.

[0094] The video transcoding method specifically adopts the skip macroblock determination method provided in Embodiment 1 and Embodiment 2 when the second encoder judges the macroblock coding mode.

[0095] 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.

[0096] As a preferred embodiment, such as Image 6 As shown, the video transcoding module further includes a video decoder for converting the input video stream into data suitable for the first en...

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 skip macro block judgment method, a video transcoding method, an electronic device and a storage medium, wherein the skip macro block judgment method is applied to a video transcoding module, the video transcoding module comprises a first encoder and at least one second encoder, which are used for processing the same video flow and respectively outputting, 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: acquiring the type of a target macro block, wherein the targetmacro block is the first macro block associated with the current second macro block, and the type of the target macro block is calculated by the first encoder; and if the type of the target macro block is the skip type, determining that the current second macro block is a skip macro block. According to the invention, complex calculation and judgment of the second encoder to the skip macro block can be reduced, the quantity of calculation of video transcoding is reduced, and the first encoder and the second encoder can output videos with different code rates.

Description

technical field [0001] The invention relates to video compression technology, in particular to a skip macroblock judging 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] Among them, the inter-frame prediction is to generate a prediction model from one or more previously coded image frames using macroblock-b...

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): H04N19/176H04N19/177H04N19/40H04N19/42H04N19/44
CPCH04N19/176H04N19/177H04N19/40H04N19/42H04N19/44
Inventor 刘兴强
Owner SHENZHEN ONETHING TECH CO LTD
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