[vlc-devel] [PATCH] libavi now support simple SEEK

Andrew Zaikin andrew.zaikin at gmail.com
Tue Jan 8 17:45:23 CET 2008


Laurent,
Thank you for your feedback. I would suggest to decompose this issue into 2
separate things. First of all, there is an issue with ftp seek - if no one
has objections, lets submit it (see attach).
Regarding libavi - can you please give me some clue how to reproduce this
problem with instant seek? All avi's, that I have does not have this issue.
If you can share with me your test file (or any ideas how I can create one),
I can try to think how to improve avi demuxer.

Thanks in advance,
Andrew

On Jan 8, 2008 1:01 PM, Laurent Aimar <fenrir at via.ecp.fr> wrote:

> Hi
>
> > Index: demux/avi/avi.c
> > ===================================================================
> > --- demux/avi/avi.c (revision 23826)
> > +++ demux/avi/avi.c (working copy)
> > @@ -255,7 +255,7 @@
> >      p_sys->track    = NULL;
> >      p_sys->meta     = NULL;
> >
> > -    stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &p_sys->b_seekable
> );
> > +    stream_Control( p_demux->s, STREAM_CAN_SEEK, &p_sys->b_seekable );
>  That part cannot be commited.
>  The avi demuxer will issue a lot of seek when fastseek is true (the worst
> case is around 25 + 30 per second (25 for video, 30 for 48kHz mp3 audio)
>  The AVI demuxer should be improved (the way data are read) to allow
> proper AVI playback over slow seek protocol (and anyway a lot of files
> will
> still not be readable).
>
> --
> fenrir
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080108/3cdd8004/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftpseek_fix.patch
Type: application/octet-stream
Size: 1094 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080108/3cdd8004/attachment.obj>


More information about the vlc-devel mailing list