[FFmpeg-user] Unable to analyze/transcode mp3

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Dec 3 23:59:46 CET 2012

Joakim Simonsson <nospam <at> joakims.com> writes:

> [mp3 @ 0x27468c0] Could not find codec parameters for 
> stream 0 (Audio: mp3, 0 channels, s16p): unspecified frame size
> Consider increasing the value for the 'analyzeduration' 
> and 'probesize' options

Did you read this?

The mp3 file contains 8MB of image attachments in 
the beginning. Since input can be slow (although 
it normally isn't), ffmpeg does not scan the whole 
stream but only a part of it. Increasing the default 
value would not really help, because the next encoder 
may decide to put 80MB in front of the first real 
mp3 frame.

-probesize 9M works fine.

Carl Eugen

More information about the ffmpeg-user mailing list