[FFmpeg-devel] [PATCH 3/3] avformat/aviobuf: increase default read buffer size to 2*max_buffer_size for streamed data

Marton Balint cus at passwd.hu
Sun Sep 20 20:19:04 EEST 2020



On Sun, 20 Sep 2020, Michael Niedermayer wrote:

> On Sun, Sep 20, 2020 at 10:52:53AM +0200, Marton Balint wrote:
>> This should increase the effectiveness of ffio_ensure_seekback.
>>
>> Note: increasing buffer size to non-streamed or write buffer should also
>> work, but they both cause fate failures... The reason for that should be
>> checked.
>>
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavformat/aviobuf.c | 5 +++++
>>  1 file changed, 5 insertions(+)
>
> this is an interresting idea
> have you done some tests/benchmarks that show specific advantages ?

No, it is just a blind attempt for now.

Regards,
Marton


More information about the ffmpeg-devel mailing list