[FFmpeg-devel] How to get correctly timestamp of mp3?

Halley Zhao aihua.halley.zhao at gmail.com
Mon Oct 10 11:06:21 EEST 2016


Hi expert:
I have one mp3 file,
when I play it normally from beginning to the end . the last pts equal to
duration.

but when I do some seek in the middle of playback, the final several packet
pts is bigger than duration.

I guess it is caused by the fact of VBR mp3 file, we calculate a
non-accurate pts after seek.
right?

is there any way to fix this?
thanks.


More information about the ffmpeg-devel mailing list