[FFmpeg-user] multiple readrate

Jonathan Baecker jonbae77 at gmail.com
Wed Mar 19 14:26:10 EET 2025


Am 19.03.25 um 12:27 schrieb Gyan Doshi:
>
>
> 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.

Thank you Gyan, for your explanation!

It helped me a lot to understand the usage better!

Regards
Jonathan




More information about the ffmpeg-user mailing list