• Zhong Li's avatar
    lavc/qsvenc: enable QVBR mode · 74cf2dc3
    Zhong Li authored
    QVBR mode is to use the variable bitrate control algorithm
    with constant quality.
    mfxExtCodingOption3 should be supported to enable QVBR mode.
    
    It is neccesary to specify a max_rate for QVBR, else it may be ICQ mode.
    Example usage: ffmpeg -hwaccel qsv -c:v h264_qsv -i input.mp4 -c:v
    h264_qsv -global_quality 25 -maxrate 2M test_qvbr.mp4 -v verbose
    
    Clip QVBR quality range to be [0, 51] as Mark's commments.
    It is similar to qp range of CQP but possibly should be updated when VP8/VP9
    encoding can be supported.
    Reviewed-by: 's avatarMark Thompson <sw@jkqxz.net>
    Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
    74cf2dc3
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...