The FFmpeg udp module (libavformat/udp.c) has the "bitrate" and "burst_bits" 
options that can be used to force a constant output bitrate. But in order to 
use this, you have to know what output bitrate you want before you create 
AVFormatContext for output.

Is there any way to have the udp module automatically set the output bitrate to 
match the bitrate at which it receives packets?

Alternatively, is there any way for my code to change the udp module's bitrate 
parameter after it has started?

Based on my (brief) review of the code, it doesn't seem like either of these is 
possible. But perhaps I am overlooking something.

Thanks.
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to