#4776 closed defect (fixed)
Regression decoding mp3 in matroska
Reported by: | Ridley Combs | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | regression mkv mp3 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
Decoding fails on this sample in which the MP3 frames don't line up with the Matroska packets: http://puu.sh/jCXAR/f8da3ae246.mkv
How to reproduce:
$ ffmpeg -i BadMP3Framing.mkv -f null -t 1 /dev/null ffmpeg version N-73871-g1f55097 Copyright (c) 2000-2015 the FFmpeg developers built with Apple LLVM version 7.0.0 (clang-700.0.65) configuration: --extra-cflags='-march=native -I/usr/local/include' --disable-optimizations --disable-stripping --enable-debug --enable-libx265 --enable-gpl --enable-libopus --enable-version3 --enable-nonfree --enable-postproc --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-static --enable-shared --enable-avresample --enable-vda --enable-opencl --enable-libzvbi --enable-libdcadec --enable-libmodplug --cc=clang --extra-ldflags=-L/usr/local/lib libavutil 54. 29.100 / 54. 29.100 libavcodec 56. 49.101 / 56. 49.101 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 25.100 / 5. 25.100 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 'BadMP3Framing.mkv': Metadata: title : DATE_RELEASED : GENRE : ARTIST : COMPOSER : SYNOPSIS : ENCODER : Lavf56.40.101 Duration: 00:00:20.00, start: 0.000000, bitrate: 130 kb/s Stream #0:0(eng): Audio: mp3, 44100 Hz, mono, s16p, 128 kb/s (default) Output #0, null, to '/dev/null': Metadata: title : DATE_RELEASED : GENRE : ARTIST : COMPOSER : SYNOPSIS : encoder : Lavf56.40.101 Stream #0:0(eng): Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s (default) Metadata: LANGUAGE : eng encoder : Lavc56.49.101 pcm_s16le Stream mapping: Stream #0:0 -> #0:0 (mp3 (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input [mp3 @ 0x7ff494022c00] Header missing Error while decoding stream #0:0: Invalid data found when processing input Multiple frames in a packet from stream 0 Error while decoding stream #0:0: Invalid data found when processing input size=N/A time=00:00:00.05 bitrate=N/A video:0kB audio:4kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!
This regressed in 8ca098f4445cd12d39b2c55b0dfb8c988b7b28ce
Attachments (1)
Change History (5)
comment:1 by , 9 years ago
Priority: | normal → important |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
by , 9 years ago
Attachment: | f8da3ae246.mkv added |
---|
comment:4 by , 9 years ago
I cut a clip from a larger sample with video (which I was asked not to share in its entirety) using ffmpeg -i in.mkv -c copy -map 0:a out.mkv
. I'm not sure where the original sample originated; it's a home video from a camcorder, but I don't know if it was reencoded or remuxed at some point.
Note:
See TracTickets
for help on using tickets.
Fixed in b4b2717ffe89940999eeca7317190f729b27f472