#6895 closed defect (invalid)
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 (14)
by , 7 years ago
follow-up: 2 comment:1 by , 7 years ago
The file can play success with VLC and probe success with mediainfo
follow-up: 3 comment:2 by , 7 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 , 7 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 , 7 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 , 7 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 , 7 years ago
Attachment: | vlc-record-2017-12-09-01h02m32s-music_mp3-.mp3 added |
---|
comment:6 by , 7 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 , 7 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 , 7 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 , 7 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 , 7 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 , 5 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?
comment:12 by , 22 months ago
Resolution: | → invalid |
---|---|
Status: | open → closed |
This is what LAME --decode prints, broken file. And it does probe with music_mp3 renamed to music_mp3.mp3 so that is a non issue.
input: music_mp3.mp3 (44.1 kHz, 2 channels, MPEG-1 Layer III) output: music_mp3.wav (16 bit, Microsoft WAVE) skipping initial 529 samples (encoder+decoder delay) Frame# 2/1335 96 kbps Blocktype == 0 and window-switching == 1 not allowed. Blocktype == 0 and window-switching == 1 not allowed. hip: error audio data exceeds framesize by 71 bytes hip: Can't rewind stream by 995 bits! Frame# 2/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 3/1335 96 kbps hip: bitstream problem, resyncing skipping 309 bytes... Frame# 4/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... big_values too large! 425 hip: Can't rewind stream by 919 bits! Frame# 5/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 9/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 12/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 13/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 14/1335 96 kbps hip: bitstream problem, resyncing skipping 307 bytes... Frame# 15/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... big_values too large! 421 hip: error audio data exceeds framesize by 407 bytes hip: Can't rewind stream by 744 bits! Frame# 15/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 16/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... big_values too large! 420 hip: error audio data exceeds framesize by 713 bytes hip: Can't rewind stream by 5198 bits! Frame# 17/1335 96 kbps hip: bitstream problem, resyncing skipping 309 bytes... Frame# 18/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 19/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 20/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 21/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 22/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 23/1335 96 kbps hip: bitstream problem, resyncing skipping 209 bytes... big_values too large! 346 Blocktype == 0 and window-switching == 1 not allowed. big_values too large! 453 Blocktype == 0 and window-switching == 1 not allowed. hip: error audio data exceeds framesize by 652 bytes hip: Can't rewind stream by 1681 bits! hip: bitstream problem, resyncing skipping 55 bytes... Frame# 26/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 27/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 28/1335 96 kbps hip: bitstream problem, resyncing skipping 308 bytes... Frame# 29/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 30/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... big_values too large! 429 big_values too large! 433 hip: error audio data exceeds framesize by 39 bytes hip: Can't rewind stream by 1258 bits! hip: bitstream problem, resyncing skipping 310 bytes... Frame# 31/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 33/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 36/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 37/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 39/1335 96 kbps hip: bitstream problem, resyncing skipping 271 bytes... Blocktype == 0 and window-switching == 1 not allowed. Frame# 40/1335 128 kbps hip: bitstream problem, resyncing skipping 249 bytes... Frame# 41/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 44/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 45/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 46/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 47/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 48/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 49/1335 96 kbps hip: bitstream problem, resyncing skipping 313 bytes... Frame# 50/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 51/1335 96 kbps hip: bitstream problem, resyncing skipping 313 bytes... Frame# 52/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 53/1335 96 kbps hip: bitstream problem, resyncing skipping 313 bytes... Frame# 54/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 55/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 56/1335 96 kbps hip: bitstream problem, resyncing skipping 308 bytes... Frame# 57/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... hip: error audio data exceeds framesize by 27 bytes Frame# 58/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 61/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... big_values too large! 428 hip: error audio data exceeds framesize by 23 bytes hip: Can't rewind stream by 778 bits! Frame# 61/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 62/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... hip: Can't rewind stream by 598 bits! Frame# 63/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 64/1335 96 kbps hip: bitstream problem, resyncing skipping 312 bytes... Frame# 65/1335 96 kbps hip: bitstream problem, resyncing skipping 310 bytes... Frame# 68/1335 96 kbps hip: bitstream problem, resyncing skipping 311 bytes... Frame# 69/1335 96 kbps hip: bitstream problem, resyncing skipping 309 bytes... Frame# 70/1335 96 kbps big_values too large! 431 big_values too large! 431 hip: error audio data exceeds framesize by 703 bytes hip: Can't rewind stream by 78 bits! hip: bitstream problem, resyncing skipping 310 bytes... hip: Can't rewind stream by 48 bits! Frame# 70/1335 96 kbps hip: bitstream problem, resyncing skipping 158 bytes... Error: number of channels has changed in MP3 file - not supported Error: sample frequency has changed in MP3 file - not supported
mp3 music file probe and play fail