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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com