[FFmpeg-devel] [PATCH] avformat/mp3dec: Workaround mp3 detection failure (PR #20212)
Zhao Zhili
quinkblack at foxmail.com
Mon Aug 11 13:13:18 EEST 2025
> On Aug 11, 2025, at 17:51, Nicolas George <george at nsup.org> wrote:
>
> Zhao Zhili (HE12025-08-11):
>> Any suggestions?
>
> “Recognize files …ing with … as MP3 with score …”
>
>>> What other software manages to recognize these files as valid?
>> ffplay -f mp3 works as expected.
>
> ffplay is not other software, and it cannot be said to recognize the
> file if you have to specify “-f mp3”.
Commit has been updated as:
avformat/mp3dec: Recognize files start with LAME3.100 as mp3
A set of files begins with the following byte sequence.
00000000 4c 41 4d 45 33 2e 31 30 30 aa aa aa aa aa aa aa |LAME3.100.......|
00000010 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa |................|
*
It seems they are encoded with lame, but missing header bytes at the
beginning. Chrome recognize these files as valid.
>
> Regards,
>
> --
> Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list