Unlock instant, AI-driven research and patent intelligence for your innovation.

Video encoding method and device, storage medium and electronic equipment

A coding method and video technology, applied in the field of video coding, can solve problems such as undiscovered solutions, low coding efficiency, and high-level frame distortion, and achieve the effects of stabilizing visual quality, reducing storage space, and improving QP value

Pending Publication Date: 2021-01-01
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the CRF mode of the related technology, the CRF value of each frame is constant, and the QP is only allocated according to the complexity information of the image, while ignoring the different frame reference relationships of different levels caused by the coding hierarchical structure. The high-level frames will also be further distorted, which will easily lead to the distortion of the low-level frames and the distortion will spread, and the coding efficiency will decrease.
[0005] For the above-mentioned problems existing in related technologies, no effective solution has been found yet

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 encoding method and device, storage medium and electronic equipment
  • Video encoding method and device, storage medium and electronic equipment
  • Video encoding method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] The method embodiment provided in Embodiment 1 of the present application may be executed in a server, a computer, an image device, a mobile phone, a tablet, or a similar computing device. Take running on the server as an example, figure 1 It is a block diagram of the hardware structure of a server in the embodiment of the present invention. Such as figure 1 As shown, the server 10 may include one or more ( figure 1 Only one is shown in ) processor 102 (processor 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA) and memory 104 for storing data. Optionally, the above-mentioned server can also be A transmission device 106 for communication functions and an input and output device 108 are included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and it does not limit the structure of the above server. For example, server 10 may also include ...

Embodiment 2

[0089] In this embodiment, a video encoding device is also provided, which is used to implement the above embodiments and preferred implementation manners, and what has been described will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0090] Figure 5 is a structural block diagram of a video encoding device according to an embodiment of the present invention, such as Figure 5 As shown, the device includes: an acquisition module 50, a calculation module 52, and an encoding module 54, wherein,

[0091] Obtaining module 50, is used for obtaining the source fixed code rate coefficient CRF value of source video;

[0092] A calculation module 52, configured to calculate a targe...

Embodiment 3

[0104] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0105] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:

[0106] S1, obtaining the source fixed code rate coefficient CRF value of the source video;

[0107] S2. Calculate the target quantization parameter QP value of the source video according to the coding hierarchy structure of the source video and the source CRF value, wherein the coding hierarchy structure is used to characterize the image frame in the group of pictures GOP of the source video The coding reference relationship of ;

[0108] S3. Perform constant visual quality encoding on the source video based on the target QP value.

[0109] Optionally, in this embodiment, the above-mentioned...

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 video encoding method and device, a storage medium and electronic equipment, and belongs to the technical field of video encoding. The method comprises the following steps: acquiring a source fixed code rate coefficient CRF value of a source video; calculating a target quantization parameter QP value of the source video according to an encoding hierarchical structure of the source video and the source CRF value, wherein the encoding hierarchical structure is used for representing an encoding reference relationship of image frames in a picture group GOP of the source video; and performing constant visual quality encoding on the source video based on a target QP value. According to the invention, the technical problem that the high-level frame of the video GOP is easy to distort in the prior art is solved, the encoding performance and the encoding efficiency of the CRF mode can be improved, more stable visual quality and higher code rate can be ensured for a low-level frame in the GOP, and the distortion of the high-level frame caused by the distortion of the low-level frame is avoided.

Description

technical field [0001] The present invention relates to the field of video encoding, in particular to a video encoding method and device, a storage medium, and electronic equipment. Background technique [0002] In related technologies, video encoding refers to a method of converting a file in an original video format into a file in another video format through a compression technology. Common codec standards in video stream transmission include H.264, H.265, AVS, AV1, etc. [0003] Related technologies have multiple bit rate control methods during video encoding, including a CBR (Constant BitRate, fixed bit rate) mode with a constant bit rate, and a CRF (Constant Rate Factor, fixed bit rate coefficient) mode with a constant visual quality. The bit rate control method finally achieves the effect of bit rate control by changing the QP value of each frame. Among them, the CRF mode uses the input CRF value as the reference QP (Quant parameter, quantization parameter), and adj...

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/177H04N19/30H04N19/124H04N19/14
CPCH04N19/177H04N19/30H04N19/124H04N19/14
Inventor 张文杰樊鸿飞
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD