[FFmpeg-devel] [PATCH] avcodec/nvenc: maxBitrate is honored in CQ mode if set by user

Roman Arzumanyan rarzumanyan at nvidia.com
Thu Jun 4 11:17:08 EEST 2020


This fixes bug in my previous patch which was discarding maxBitrate.
CQ mode shall honor maxBitrate value if it's set by user via CLI.
How to check:

./ffmpeg.exe \
  -i big_buck_bunny_1080p_h264.mov \
  -c:v h264_nvenc \
  -cq 10 \
  -maxrate 10M \
  -y output_cq10_10M.mp4

--
BR, Roman Arzumanyan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixing-bug-in-CQ-RC-mode.-Max-bitrate-is-honored-if-.patch
Type: application/octet-stream
Size: 1091 bytes
Desc: 0001-Fixing-bug-in-CQ-RC-mode.-Max-bitrate-is-honored-if-.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200604/14025311/attachment.obj>


More information about the ffmpeg-devel mailing list