[FFmpeg-devel] [PATCH 19/28] changed: check some more url_fseeks in asf demuxer to avoid problems if file system is unseekable

elupus elupus
Wed Jun 30 23:37:49 CEST 2010


On Wed, 30 Jun 2010 13:50:43 -0400, Ronald S. Bultje wrote:

> Hi,
> 
> On Wed, Jun 30, 2010 at 1:45 PM, Joakim Plate <elupus at ecce.se> wrote:
>> Reimar D?ffinger <Reimar.Doeffinger <at> gmx.de> writes:
>>> While probably a good idea in principle, this is the wrong solution
>>> for the problem in the subject: is_streamed should be set correctly
>>> instead.
>>
>> Which you can't know unless you try on http for example.
> 
> Not true, HTTP sets is_streamed only for unseekable servers (those not
> supporting Range:), as per HTTP spec. Tested with a variety of servers
> that do or do not support seek.
> 
> Ronald

The problem is the server isn't required to indicate supporting range even
if it actually does. (Apple's trailers servers if i remember correctly).

The spec doesn't mandate that the server set's the Accepts... header. (and
even if it does and i've missed it, alot of servers don't, but do support
seeks)

/Joakim




More information about the ffmpeg-devel mailing list