[FFmpeg-devel] [PATCH] HTTP options in HLS (again)

Micah Galizia micahgalizia at gmail.com
Fri Jan 18 23:11:31 CET 2013

On Fri, Jan 18, 2013 at 4:01 PM, Micah Galizia <micahgalizia at gmail.com>wrote:

> I didn't change that. Its there already and has been since I started
> looking at this code. I'll see if those play or not later.
> On Fri, Jan 18, 2013 at 3:39 PM, Jan Ehrhardt <phpdev at ehrhardt.nl> wrote:
>> Micah Galizia in gmane.comp.video.ffmpeg.devel (Tue, 15 Jan 2013
>> 21:39:09 -0500):
>> >         /* Some HLS servers dont like being sent the range header */
>> >         av_dict_set(&opts, "seekable", "0", 0);
>> If I interpret this correctly, the default is non-seekable. The
>> consequence is that everyone using xbmc to view videos at
>> http://uitzendinggemist.nl will not be able to seek through the
>> on-demand streams. I do not think those users will love this patch.
>> The default was seekable (resulting in problems when watching Fox
>> Soccer2Go). The effect of this patch will be that you deprive users of
>> on-demand streams seeking. Is that really desirable? Is there no way to
>> distinguish between on demand and live streams?
First, sorry for top posting. Second, what that option actually does is
prevent seeking within the HTTP request (be it the m3u8 or the segment
being requested). What this really boils down to is the "Range: " request
header not being included. I doubt this is actually a problem as you can
still skip ahead multiple segments.

"The mark of an immature man is that he wants to die nobly for a cause,
while the mark of the mature man is that he wants to live humbly for
one."   --W. Stekel

More information about the ffmpeg-devel mailing list