[vlc-devel] Re: Doing an lseek() with VOB files ...

Jean-Paul Saman saman at natlab.research.philips.com
Wed Aug 13 09:16:42 CEST 2003

John Michael Zorko wrote:
> When VLC is playing from a file, seeking produces no video artifacts -- 
> input_Seek() can be called to go to any position in the file and the 
> video plays back wonderfully from the new position i.e. no jumbled-up 
> stuff at all.  However, when VLC is playing from a stream (i've only 
> tried multicast so far), and the server VLC providing the stream seeks 
> to a new point in the file, the client VLC shows jumbled-up video for a 
> fraction of a second before playing from the new position.  So, it 
> appears that there is something that happens when playing from a file 
> that doesn't happen when playing from a stream, and i'm trying to find 
> it.  Since we do ff / rewind by seeking forward or backward n frames / 
> GOPs, then playing a bit, then seeking again ... ff / rewind looks 
> really bad because of the video artifacts that happen every time the 
> server VLC seeks on the file.
Does the server VLC start streaming on a I-Frame when doing ff/rewind? 
If not you get a jumbled-up video because you then have either a P or a 
B-Frame and they depend on previous frames.

Kind greetings,

Jean-Paul Saman

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list