Opened 2 years ago

Closed 18 months ago

#11087 closed defect (fixed)

[Regression] Inconsistent MP3 detection result since 7.0

Reported by: Richi Owned by:
Priority: normal Component: avformat
Version: 7.0 Keywords: mp3 vvc
Cc: MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
The ffprobe 7.0.1 Version detect sometimes a MP3-File wrong.
How to reproduce:
.\ffprobe.exe -i "./1.mp3" -print_format json -show_format >"./1.json"

Output ffprobe
{

"format": {

"filename": "./1.mp3",
"nb_streams": 1,
"nb_programs": 0,
"nb_stream_groups": 0,
"format_name": "vvc",
"format_long_name": "raw H.266/VVC video",
"size": "575232",
"probe_score": 51

}

}
Input #0, vvc, from './1.mp3':

Duration: N/A, bitrate: N/A
Stream #0:0: Video: vvc, none, 25 fps, 1200k tbr, 1200k tbn

Output ffprobe Version 5.x
{

"format": {

"filename": "./1.mp3",
"nb_streams": 1,
"nb_programs": 0,
"format_name": "mp3",
"format_long_name": "MP2/3 (MPEG audio layer 2/3)",
"start_time": "0.000000",
"duration": "35.952000",
"size": "575232",
"bit_rate": "128000",
"probe_score": 51

}

}

Attachments (1)

1.mp3​ (561.8 KB ) - added by Richi 2 years ago.
Wrong detected MP3-File

Download all attachments as: .zip

Change History (6)

by Richi, 2 years ago

Attachment: 1.mp3​ added

Wrong detected MP3-File

comment:1 by Richi, 2 years ago

Version: 6.1.1 → 7.0

comment:2 by sid, 2 years ago

We faced with this issue too. And currently we had to downgrade to FFMPEG 6.0 which works as expected.

We are trying to convert such file from MP3 to FLAC and FFmpeg is not able to do this.

Could this issue be addressed?

Last edited 2 years ago by sid (previous) (diff)

comment:3 by MasterQuestionable, 2 years ago

Cc: MasterQuestionable added
Component: ffprobe → avformat
Keywords: mp3 vvc added; wrong detect audioformat removed
Summary: ffprobe.exe detect MP3-File wrong since Version 6.xx → [Regression] Inconsistent MP3 detection result since 7.0

͏    “"probe_score": 51”
͏    As workaround: explicitly specify the input format "-f mp3".
͏    https://ffmpeg.org/ffmpeg.html#Main-options

͏    Side note:
͏    Under the most extreme cases auto-detection maybe impractical.
͏    E.g. ​https://github.com/orgs/community/discussions/4373#discussioncomment-10876177
͏    ; specificar la língua du c'tte?

comment:4 by xiongweixiao, 18 months ago

Hello,

I believe the patch I submitted at
​https://patchwork.ffmpeg.org/project/ffmpeg/patch/20250511050814.966335-1-xiongweixiaoxxw@gmail.com/
should resolve the issue reported here (​https://trac.ffmpeg.org/ticket/11087).

Additionally, this fix may also address the similar problem described in ticket ​https://trac.ffmpeg.org/ticket/11496, as both appear to involve related decoder synchronization logic.

Could the maintainers please review this patch? Let me know if any adjustments are needed.

Thank you,
XiongweiXiao

comment:5 by Michael Niedermayer, 18 months ago

Resolution: → fixed
Status: new → closed

fixed by xiongweixiao in 8ce32a7cbb17e47e4e7f8a278c5b05cd9e6e967e

Note: See TracTickets for help on using tickets.