[FFmpeg-user] vary video bitrate on the fly

John Q john_q61 at yahoo.com
Mon Jun 24 00:49:17 CEST 2013

Hi All,

I am new to ffmpeg.

I am making a video call to a custom mobile app from my custom desktop SIP client which uses ffmpeg. I want to decrease the send video bit rate on the fly when internet link is bad and back to original when it is good again. Its OK if the video quality at the other end is bad when I decrease the video bit rate.

How can I change the video bit rate on the fly? I have seen some code in libavcodec/ratecontrol.c but being new to ffmpeg I don't understand it much. Can I use it somehow to reduce video bitrate on the fly? Is there any sample code available or can some one point me to some code which can be used for this purpose?

Appreciate any links or pointers.

Warm Regards,

More information about the ffmpeg-user mailing list