[FFmpeg-devel] Seeking in mp3 files doesn't work

Thorsten Jordan tjordan
Wed Sep 5 13:13:40 CEST 2007


just downloaded the latest svn snapshot, made a clean compile, and run
ffplay with various mp3s i have, and i can't seek because the
computation of the duration does not work.
AVFormatContext->duration is AV_NO_PTS_VALUE or whatever (-2^62).
This worked before. The duration is even -2^62 after some time of playback.

Also another comment: in libavformat/utils.c there is DEBUG_SEEK
defined, and if that is so, there is some code eating much time when
opening large files (3h radio record in TS for example). Not defining
the DEBUG_SEEK helps here, but why it is on by default? Btw the setting
of this value has nothing to do with the problem above.

I would be happy for any help here...

Greetings, Thorsten

More information about the ffmpeg-devel mailing list