Reference frame selection method, video transcoding method, electronic device and storage medium
A video transcoding and reference frame technology, which is applied in selective content distribution, digital video signal modification, electrical components, etc., to achieve the effect of narrowing the traversal range, reducing evaluation, and reducing the amount of calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Such as figure 2 It is a schematic flow chart of the method for selecting a reference frame 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.
[0054] 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...
Embodiment 2
[0073] Such as Figure 5 The shown reference frame selection method includes the following steps:
[0074] Step S210, the second encoder acquires frame type information from the first encoder.
[0075] 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 to ensure the accuracy and stability of the second encoder using the reference frame information of the first encoder.
[0076] In another embodiment, the GOP structure can be calculated by the second encoder, and the reference frame information of the first encoder can also be used by the second encoder, but the stability is slightly worse and the calculation amount is...
Embodiment 3
[0092] 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.
[0093] The video transcoding method specifically adopts the reference frame selection method provided in Embodiment 1 and Embodiment 2 when the second encoder selects the reference frame.
[0094] 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.
[0095] As a preferred embodiment, such as Figure 6 As shown, the video transcoding module further includes a video decoder for converting the input video stream into data suitable for the first encoder and...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


