On 18.05.2020 09:54, Roman Arzumanyan wrote:
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


Looks generally ok, but I want to give it a few tests and haven't found the time for that yet.
_______________________________________________
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