[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://127.0.0.1:12345?pkt_size=1316&bitrate=100000000
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?
Thanks.
More information about the ffmpeg-user
mailing list