Ticket #1195 (closed defect: fixed)
EOF after decoding error
| Reported by: | ubitux | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | mkv |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
The following sample http://samples.ffmpeg.org/Matroska/decode-error-stop.mkv makes ff* tools stop after approximately 1100 frames (or 45 seconds). The sample is 55 seconds long.
Steps to reproduce:
ffmpeg -i decode-error-stop.mkv -f null - [...] frame= 1097 fps=430 q=0.0 Lsize= 0kB time=00:00:45.75 bitrate= 0.0kbits/s
or:
ffplay decode-error-stop.mkv
OTOH, MPlayer (with lavf demuxer and lavc decoder) is able to deal with it: just a few glitchy frames for 2-3 seconds, then playback is fine.
Change History
Note: See
TracTickets for help on using
tickets.



Also reproducible with -an (and without -vn), MPlayer plays >50 seconds.
$ ffmpeg -i decode-error-stop.mkv -vn -f null - ffmpeg version N-39759-ge9dc616 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 13 2012 08:04:28 with gcc 4.3.2 configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --extra-ldflags=-lm --enable-x11grab --enable-libmp3lame libavutil 51. 46.100 / 51. 46.100 libavcodec 54. 14.101 / 54. 14.101 libavformat 54. 3.100 / 54. 3.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 69.101 / 2. 69.101 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 11.100 / 0. 11.100 libpostproc 52. 0.100 / 52. 0.100 [dca @ 0x8ef0420] Number of channels changed in DCA decoder (6 -> 7) Input #0, matroska,webm, from 'decode-error-stop.mkv': Metadata: creation_time : 2008-09-15 08:12:20 Duration: 03:14:49.48, start: 0.000000, bitrate: 50 kb/s Stream #0:0: Video: h264 (High), yuv420p, 1280x556, SAR 1:1 DAR 320:139, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Stream #0:1(fre): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 768 kb/s (default) Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, s16, 768 kb/s Stream #0:3(fre): Subtitle: text (default) Stream #0:4(fre): Subtitle: text Stream #0:5(eng): Subtitle: ssa Output #0, null, to 'pipe:': Metadata: creation_time : 2008-09-15 08:12:20 encoder : Lavf54.3.100 Stream #0:0(eng): Audio: pcm_s16le, 48000 Hz, 6.1, s16, 5376 kb/s Stream mapping: Stream #0:2 -> #0:0 (dca -> pcm_s16le) Press [q] to stop, [?] for help Unknown entry 0xE6me=00:00:24.76 bitrate= 0.0kbits/s [matroska,webm @ 0x8ee8380] Unknown entry 0xF5 [matroska,webm @ 0x8ee8380] Unknown entry 0x9E [matroska,webm @ 0x8ee8380] Unknown entry 0x7195 [matroska,webm @ 0x8ee8380] Unknown entry 0xE1 size= 0kB time=00:00:45.76 bitrate= 0.0kbits/s video:0kB audio:30037kB global headers:0kB muxing overhead -100.000000%