[FFmpeg-devel] mp3 seeking issue.

Michael Niedermayer michaelni at gmx.at
Sun Oct 21 03:32:53 CEST 2012


Hi dale

On Sat, Oct 20, 2012 at 03:49:07PM -0700, Dale Curtis wrote:
> On HEAD I'm seeing an issue where the sample rate is changing during seeks
> in an mp3 file. Is this expected? Sample file:
> 
> http://commondatastorage.googleapis.com/dalecurtis-shared/ironman2.mp3
> 
> git bisect seems to think it has something to do
> with 5864ce13d188260998bbf49a2a774fa9bd445c10, but reverting that issue
> doesn't seem to help. Patching ffplay to print out the sample rate:

fixed


[...]
> Input #0, mp3, from '/var/www/ironman2.mp3':
>   Duration: 00:00:35.13, start: 0.000000, bitrate: 141 kb/s
>     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 224 kb/s
> Seek to 34% ( 0:00:11) of total duration ( 0:00:35)       B f=0/0
> Seek to 62% ( 0:00:21) of total duration ( 0:00:35)       B f=0/0
> sample rate: 44100 -> 32000
> [mp3 @ 0x7f1d58000ad0] Header missing
> sample rate: 32000 -> 44100
> 

> LibAV doesn't seem to have this problem, but I haven't been able to figure
> out the difference yet.

Are you sure the version you tried contained and used the xing TOC
code ?
Out of curiocity i tried and had no problem reproducing this issue
with libav

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

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121021/f48dbe65/attachment.asc>


More information about the ffmpeg-devel mailing list