[FFmpeg-user] Constant bitrate UDP streaming

Patrick, Alton (US) alton.patrick at baesystems.com
Tue Jan 12 21:59:01 EET 2021

I know it's possible to explicitly set a constant bitrate for the UDP protocol output, e.g. like this:

ffmpeg -re -i input.ts -map 0 -c:v copy -f mpegts udp://

This requires me to figure out the bitrate of input.ts and explicitly pass that as part of the URI.

Is there anyway to tell ffmpeg to automatically use the bitrate of input.ts as the output bitrate for the UDP stream?


More information about the ffmpeg-user mailing list