[vlc-devel] [PATCH] support for seeking in AVI over http

Mike Schrag mschrag at pobox.com
Wed Oct 21 23:24:26 CEST 2009


oh -- one more ... the DEMUX_SET_POSITION message for non-fastseeking  
appears to be broken ... it was seeking by a relative offset and  
stream_Seek appears to expect an absolute offset.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-SET_POSITION-control-message-to-actually-jump-to.patch
Type: application/octet-stream
Size: 939 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091021/1b7a168a/attachment.obj>
-------------- next part --------------


On Oct 21, 2009, at 5:19 PM, Mike Schrag wrote:

> These patches add preliminary support for seeking in avi's over  
> http ... The main issue is that avi considers not having fast seek  
> equivalent to "unseekable".  I've changed this some and instead  
> separated the concept of seeking from fast seeking throughout the  
> avi demux module and relaxed some of the fastseek requirements.  Now  
> it actually only requires fast seek during playback but not while  
> loading the index metadata. This makes the startup a LITTLE chattier  
> because it does open a couple http sockets, but the net performance  
> change is not very noticeable (at least for the tests i've done) and  
> you support for skipping and for knowing the length of the avi,  
> which is really nice.
>
> There is a lingering issue that if you skip very near the end of the  
> stream, the avi demux can get stuck in a loop trying to find the  
> next packet, but I thought I'd at least share what I have so far in  
> case other people find it to be a useful starting point given that  
> that's kind of an edge case.
>
> <0001-don-t-require-fastseek-during-the-avi-loading-proces.patch>
>
> <0003-separate-seek-from-fastseek-relax-fastseek-requireme.patch>
>
> ms_______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list