[FFmpeg-devel] [PATCH] FFPlay on a HLS stream skips audio from time to time.
Marton Balint
cus at passwd.hu
Tue Jun 7 23:56:30 CEST 2016
On Wed, 1 Jun 2016, Adrian Cruceru wrote:
> Hi,
>
> Patch is attached,
>
> Quick notes:
> - Playing HLS streams - FFPlay stalls a bit before each segment download
> - Stalls accumulate and FFPlay falls behind
> - We get log warning and segment skip.
>
> Fix:
> - Just make sure HLS is marked as a real time stream.
I guess using -infbuf fixes your usecase as well, right? Without -infbuf
ffplay buffers 25 frames, so for 25 fps video content, if playing stops,
this means that it is unable to acquire the first few packets of a
new segment within 1 second. Is this really the case?
Do you have a public test stream where this can be tested?
Thanks,
Marton
More information about the ffmpeg-devel
mailing list