[Ffmpeg-devel] Bug report: seeking in mp3 files does not work

Thorsten Jordan tjordan
Fri Mar 23 13:27:07 CET 2007


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).

Any comments? thanks

-- 
Mit freundlichen Gr??en, Thorsten




More information about the ffmpeg-devel mailing list