[Libav-user] Dynamically changing the target bitrate for VP8 and Opus

Martijn Vandecasteele martijnvdc at gmail.com
Sat Aug 10 01:57:13 CEST 2013


Hello,
I am trying to implement an audio and video stream over a network. However,
i need to change the bitrate during encoding, to adapt to the connection's
bandwidth.
I tried changing the bit_rate variable of the codec context, which did not
seem to do anything. I assume this variable is only used during codec
initiation?
I also tried changing the crf value for VP8 using av_opt_set_double, but it
also had no effect.

Is there a way to control the bitrate without re-initialising the codec
every time i need a different bitrate?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130810/882ff813/attachment.html>


More information about the Libav-user mailing list