Hello WebM team,I am trying to encode a live stream into VP9 with constant bitrate using FFMpeg.I am using the instructions given here:In particular I am using the following command (using VOD instead of Live Stream as a test):ffmpeg -i screen-112s.mp4 -c:v vp9 -b:v 500k -minrate 500k -maxrate 500k -quality realtime -speed 8 -c:a libvorbis screen-112s-ffmpeg-cbr-500k.webmI am expecting an output video bitrate of ~500kbps but the actual output is ~1800kbps.I have tried many options on that page, but I am still not able to get the constant bitrate function to work.I am using ffmpeg version 4.1.6-1~deb10u1and libvpx-vp9 version 1.7.0Please find the input file attached. Please let me know how to properly use CBR encoding with VP9 or point me to the correct resource.Thank youAkshay
Did you get any feedback on this? I too am at a loss to understand how CBR works with VP9. I have been playing with gstreamer and ffmpeg. Gstreamer at least maps options against libvpx arguments. FFMpeg hides this through its own options.
On Wednesday, February 24, 2021 at 1:24:44 PM UTC-8 Akshay Mittal wrote:Hello WebM team,I am trying to encode a live stream into VP9 with constant bitrate using FFMpeg.I am using the instructions given here:In particular I am using the following command (using VOD instead of Live Stream as a test):ffmpeg -i screen-112s.mp4 -c:v vp9 -b:v 500k -minrate 500k -maxrate 500k -quality realtime -speed 8 -c:a libvorbis screen-112s-ffmpeg-cbr-500k.webmI am expecting an output video bitrate of ~500kbps but the actual output is ~1800kbps.I have tried many options on that page, but I am still not able to get the constant bitrate function to work.I am using ffmpeg version 4.1.6-1~deb10u1and libvpx-vp9 version 1.7.0Please find the input file attached. Please let me know how to properly use CBR encoding with VP9 or point me to the correct resource.Thank youAkshay
--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webm-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webm-discuss/4757f0fe-5ede-42eb-90db-f65f8fe57cb9n%40webmproject.org.