[FFmpeg-user] ffprobe for mp3: "Invalid data found when processing input"

James Darnley james.darnley at gmail.com
Sat Jan 30 00:49:35 CET 2016


On 2016-01-29 18:31, James Mead wrote:
> On 29 January 2016 at 18:26, Charles Winthrop <charlie at nts-show.com> wrote:
>> "The file has an ID3 tag including an artwork PNG image of ~1MB."
>>
>> But when you crop said image, the error goes away. Therefore, ffprobe
>> "thinks" there's a limit.
> 
> That's what I thought initially, but I have other mp3 files with the
> same artwork image (un-cropped) and those are detected without an
> error, e.g. this one [3].
> 
> [3]: https://www.dropbox.com/s/udhph9btqkq0zba/example-without-error-2.mp3?dl=0

That file probably doesn't have some other metadata pushing the ID3 tag
beyond the probe size.  I bet if you stick a bigger cover in you'll get
the same error.

Anyway, if you want ffmpeg to detect that it is mp3 then either add "-f
mp3" or "-formatprobesize 2M" before -i and you will see that ffmpeg
reads them just fine -- oversized, embedded covers included.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160130/b6fb5952/attachment.sig>


More information about the ffmpeg-user mailing list