[Ffmpeg-devel] Bug report: seeking in mp3 files does not work
Michael Niedermayer
michaelni
Mon Mar 26 19:38:40 CEST 2007
Hi
On Sat, Mar 24, 2007 at 12:15:24PM +0000, M?ns Rullg?rd wrote:
> Thorsten Jordan <tjordan at macrosystem.de> writes:
>
> > Hi,
> >
> > SVN checkout of march 22nd 2007.
> > I can't seek in mp3 files any longer, older versions of ffmpeg can do
> > that (September 2006). I can seek in AVIs, OGGs etc., but not mp3.
> >
> > I debugged a bit and found out, that when you call av_seek_frame
> > libavformat seeks to begin of the file and then reads in the whole file,
> > packet by packet, to find the right packet for the given pts.
> >
> > The bug is that all packets have the PKT_FLAG_KEY set to zero, i.e. no
> > "key frames" were found although all audio-only-formats should have only
> > key-frames (seen elsewhere in code).
>
> It is not possible to start decoding at an arbitrary mp3 frame because
> of the bit reservoir.
it is possible
also mp3 seeking is fixed
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20070326/693e179a/attachment.pgp>
More information about the ffmpeg-devel
mailing list