[FFmpeg-devel] [PATCH 2/2] ffplay: increase MIN_FRAMES to 25

Marton Balint cus at passwd.hu
Mon Aug 10 00:20:54 CEST 2015


On Sun, 9 Aug 2015, Michael Niedermayer wrote:

> On Sat, Aug 08, 2015 at 10:07:00PM +0200, Marton Balint wrote:
>> FFplay was using a 5 frame packet buffer, this is not much (e.g. 200 ms for
>> 25fps video), when HLS is requesting a new segment via HTTP, it may take longer
>> for the request to complete.
>>
>> Should fix ticket #4720.
>>
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  ffplay.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> if this doesnt cause problems with low fps material then should be
> ok

No problems I can think of with low fps. Only downside I am aware of is 
that stream switching will cause a bigger jump in audio/video as more data 
is buffered.

Pushed the patchset, thanks.

Marton


More information about the ffmpeg-devel mailing list