[libav-bugs] [Bug 675] New: Apple HTTP Live Streaming segments are not prefeteched

bugzilla at libav.org bugzilla at libav.org
Sun Apr 27 11:33:20 CEST 2014


           Summary: Apple HTTP Live Streaming segments are not prefeteched
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: petr.pisar at atlas.cz

liabformat implements Apple HTTP Live Streaming protocol. The protocol is an
extension to M3U playlist where the MPEG-TS stream is segmented into small
files, the server provides a client with a list of these segments ahead, so the
client can fetch next segment file before the now-played one reaches its end.

However libav does not prefetch the next segment. Next segment is downloaded
just after exhausting the current one. That leads to gaps and glitches in a
played video stream because there is needed some time to download a segment.

I tried to debug read_data() in libavformat/hls.c, but it looks like the
mistake is somewhere else because the read_data() isn't even called enough
times to fill a cache.

You can try URL
which consists of 10-second chunks at 512 kbps.

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list