Opened 5 years ago
Last modified 3 years ago
#6895 open defect
mp3 file play fail
Reported by: | Tiejun | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | mp3 probe regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug: probe and play fail
How to reproduce:
./ffplay ~/音乐/music_mp3 ./ffprobe ~/音乐/music_mp3 ffmpeg version ffmpeg version N-89306-g5bea410 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --prefix=/usr/local/ffmpeg --samples=fate-suite/ --disable-yasm --enable-ffplay --disable-ffserver --toolchain=gcov --toolchain=valgrind-memcheck libavutil 56. 3.100 / 56. 3.100 libavcodec 58. 6.101 / 58. 6.101 libavformat 58. 2.103 / 58. 2.103 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 5.100 / 7. 5.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Attachments (2)
Change History (13)
by , 5 years ago
follow-up: 2 comment:1 by , 5 years ago
The file can play success with VLC and probe success with mediainfo
follow-up: 3 comment:2 by , 5 years ago
Analyzed by developer: | unset |
---|---|
Component: | ffplay → avformat |
Keywords: | mp3 probe regression added; mp3dec removed |
Priority: | normal → important |
Reproduced by developer: | set |
Status: | new → open |
Replying to tiejun.peng:
The file can play success with VLC
Are you sure?
Playback sounds very, very bad here, as if the file were heavily damaged.
If there is an issue, it is a regression since a8bc175dd9cec09c1cbdc6e5e3bf8f59170162da.
comment:3 by , 5 years ago
Replying to cehoyos:
Replying to tiejun.peng:
The file can play success with VLC
Are you sure?
Playback sounds very, very bad here, as if the file were heavily damaged.
If there is an issue, it is a regression since a8bc175dd9cec09c1cbdc6e5e3bf8f59170162da.
Yes,i'm sure. Playback sounds good with VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80).But playback sounds all noise with ffmpeg(git-master/3.4)
comment:4 by , 5 years ago
If playback sounds all noise, why is it such a good idea to allow auto-detecting the file as mp3?
comment:5 by , 5 years ago
The ffmpeg have two problems:mp3 container probe and decode. I have fixed the probe bug by myself and using other decode (not ffmpeg's avcode)can play ok now. I just think ffmpeg should fix the bug also.
by , 5 years ago
Attachment: | vlc-record-2017-12-09-01h02m32s-music_mp3-.mp3 added |
---|
comment:6 by , 5 years ago
Could you test your original sample with mpeg123 from https://www.mpg123.de?
I don't think your sample is valid, and while I did listen to contemporary music, I don't think this counts as music when played with vlc.
comment:7 by , 5 years ago
The mpg123 sounds bad as ffmpeg master.
Just need download and install the VLC from http://www.videolan.org,
you will find the truth that the file is music not noise.
follow-up: 9 comment:8 by , 5 years ago
That was not my point:
Both madplay and mpg123 show a large number of decoding errors, don't you agree that this indicates the source file is invalid?
follow-up: 10 comment:9 by , 5 years ago
Replying to cehoyos:
That was not my point:
Both madplay and mpg123 show a large number of decoding errors, don't you agree that this indicates the source file is invalid?
I think the mp3 file is good! It can be play pefectly by VLC and Stagefright(Android platform) . Try to play with VLC, you can find the truth in a few minutes. it is chance to improve the mp3 decoder of ffmpeg.
comment:10 by , 5 years ago
Replying to tiejun.peng:
I think the mp3 file is good! It can be play pefectly by VLC and Stagefright(Android platform).
Try to play with VLC, you can find the truth in a few minutes. it is chance to improve the mp3 decoder of ffmpeg.
When you play the file music_mp3
with vlc, it sounds different from the file vlc-record-2017-12-09-01h02m32s-music_mp3-.mp3
you attached here?
comment:11 by , 3 years ago
Hahaha! Adobe Audition 2020 says there is metadata corrupted file and the file could not be read AND THEN OPENS IT SUCCESSFULLY and it even sounds good enough! Bug in Audition?
mp3 music file probe and play fail