A video file transcoding method

A video file and transcoding technology, applied in the field of video processing, can solve the problems of increasing encoding time, unguaranteed quality of encoded files, uncontrollable output bit rate, etc., to ensure the output bit rate, controllable transcoding time, and reduce loop The effect of downsizing

Active Publication Date: 2017-12-29
北京柏安科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventors of this application found that for large files, it may take multiple downsizing to achieve the quantization ratio within the specified range, increasing the encoding time, the output bit rate is uncontrollable, and the quality of encoded files within the specified bit rate range cannot be guaranteed.

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
  • A video file transcoding method
  • A video file transcoding method
  • A video file transcoding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0062] see figure 1 , which is a flowchart of an embodiment of the video file transcoding method of the present invention, the method includes:

[0063] Step 101: Encoding the video file by using the first constant quantization parameter to obtain a first transcoded video file.

[0064] Wherein, the parameter of the first constant quantization can be set to 24, and can also be set according to the video file or needs. Those skilled in the art can choose the encoding method of the video file according to the needs, and will not repeat them here.

[0065] Step 102: When the code rate of the first transcoded video file is greater than the target code rate, predict the...

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 file transcoding method. The video file transcoding method comprises the following steps of using a first constant quantization parameter to encode a video file so as to obtain a first transcoding video file; predicting a second constant quantization parameter which is adopted when code reduction is carried out on the first transcoding video file and the code rate of the first transcoding video file is larger than a target code rate, and obtaining when the code rate of the video file is smaller than the target code rate; using the second constant quantization parameter to carry out code reduction on the first transcoding video file so as to obtain a second transcoding video file. According to the video file transcoding method, due to the fact that the constant quantization parameters for code reduction of the video file are predicted, twice code reduction needs to be carried out on the video file at most, the frequency of code reduction of the video file is reduced, on the premise that video quality is ensured, and image quality cannot have visual difference along with changes of scenes, it is ensured that the output code rate of the video file is controllable, and the transcoding time is controllable, and the overall effect of transcoding of the video file is improved.

Description

technical field [0001] The invention relates to the technical field of video processing, in particular to a video file transcoding method. Background technique [0002] With the development of network video technology, people are more and more exposed to various videos. Users can watch them through terminals such as computers, mobile phones, and tablet computers. The processing of video files is becoming more and more complicated. Users The requirements for video file transcoding are becoming more and more stringent and detailed. [0003] Generally, the transcoding of video files can be processed in a variety of ways, such as using CRF (constant ratefactor / constant quality, constant quality mode): by reducing relatively unimportant frames (such as consuming bit rate, difficult to encode frames) quality, save the bit rate and use it on relatively effective frames. CRF quantization scales range from 0 to 51 (8-bitx264 and 10-bitx264 quantization scales range from 0 to 63), w...

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/40
Inventor 楼英明魏洪钦
Owner 北京柏安科技有限公司
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