[FFmpeg-user] multiple readrate
Gyan Doshi
ffmpeg at gyani.pro
Wed Mar 19 13:27:51 EET 2025
On 2025-03-19 04:43 pm, Jonathan Baecker wrote:
> Hi,
>
> does anyone know if it makes sense to use the -readrate option for
> each input file or is it enough to use it only once.
You should set it for all inputs supplying streams to the same output.
If you don't, packets are likely get buffered for all streams except
those originating from the rate-limited inputs.
In extreme cases, this will result in a premature flush from the mux
queues and broken interleaving and/or timestamps in the output.
Regards,
Gyan
More information about the ffmpeg-user
mailing list