[Ffmpeg-devel] [PATCH] Fix broken flv seeking

Michael Niedermayer michaelni
Mon Feb 5 15:15:33 CET 2007


Hi

On Mon, Feb 05, 2007 at 02:43:24PM +0100, Diego Biurrun wrote:
> On Mon, Feb 05, 2007 at 02:08:06PM +0100, Baptiste Coudurier wrote:
> > 
> > Ismail D?nmez wrote:
> > > On Sunday 17 December 2006 17:09:18 nazo wrote:
> > >> mru at inprovide.com wrote:
> > >>> Code duplication is *never* needed.
> > >> I see. I updated patch.
> > > 
> > > Any updates on this patch? FLV seeking is still broken in SVN :(
> > 
> > It is not broken, you just cannot seek to forward frames, but can to
> > backward ones, this is not what I call broken.
> > 
> > Also keep in mind that it never worked, and its just recently that
> > backward seeking works.
> 
> But does the patch in question address this problem?

maybe but its implementation is unacceptable (i will kill whoever applies it)
it hacks the demxuer to linearly read O(n) style until the requested timestamp
this
1. this can be done generically for all demuxers at lavf core level
2. as packets do have timestamps and lots of redundancy O(log n) seeking
   is possible

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070205/5151570a/attachment.pgp>



More information about the ffmpeg-devel mailing list