Hello,
The patch fixes bug with CQ RC mode: max and average bitrate values were not 
set to zero.

How to reproduce:
#CQ 30 file
ffmpeg \
  -i big_buck_bunny_1080p_h264.mov -c:v h264_nvenc -preset medium \
  -cq 30 -y output_cq30.mp4

#CQ 10 file
ffmpeg \
  -i big_buck_bunny_1080p_h264.mov -c:v h264_nvenc -preset medium \
  -cq 10 -y output_cq10.mp4

Before the patch, both output_cq30.mp4  and output_cq10.mp4  were of same size.
After the patch, output_cq10.mp4 file has higher quality and bigger size.

--
BR, Roman Arzumanyan


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

Attachment: 0001-fixing-CQ-mode-avg-max-bitrate-settings.patch
Description: 0001-fixing-CQ-mode-avg-max-bitrate-settings.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to