Skip to content

Instantly share code, notes, and snippets.

@andrey-utkin
Created March 28, 2016 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrey-utkin/1e0a2a85e4f039fe5ae3 to your computer and use it in GitHub Desktop.
Save andrey-utkin/1e0a2a85e4f039fe5ae3 to your computer and use it in GitHub Desktop.
ffmpeg on a broken file from h264 hardware encoder
$ ffmpeg -nostats -i 15-44-16.mkv -c rawvideo -f rawvideo -y /dev/null
ffmpeg version N-79065-g7d9e064 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
configuration: --enable-debug=3 --disable-optimizations --extra-cflags='-O0 -g3 -ggdb3' --enable-pic --disable-stripping --enable-openssl --enable-protocol=file --enable-protocol=pipe --enable-protocol=http --enable-protocol=https --enable-muxer=matroska --enable-muxer=mjpeg --enable-muxer=rtp --enable-muxer=mp4 --enable-muxer=rtsp --enable-muxer=rawvideo --enable-muxer=data --enable-demuxer=rtsp --enable-demuxer=matroska --enable-demuxer=mjpeg --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mjpeg --enable-encoder=mjpeg --enable-encoder=mpeg4 --enable-encoder=rawvideo --enable-encoder=libx264 --enable-libx264 --enable-gpl --enable-nonfree --enable-libfreetype --enable-libopenh264 --enable-libvpx --enable-libpulse
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.102 / 57. 28.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, matroska,webm, from '15-44-16.mkv':
Metadata:
ENCODER : Lavf57.25.100
Duration: N/A, start: 0.032000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p, 720x480, SAR 1:1 DAR 3:2, 125 tbr, 1k tbn, 2k tbc (default)
Output #0, rawvideo, to '/dev/null':
Metadata:
encoder : Lavf57.28.102
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 125 fps, 125 tbn, 125 tbc (default)
Metadata:
encoder : Lavc57.28.103 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[h264 @ 0x32d1d80] out of range intra chroma pred mode at 18 6
[h264 @ 0x32d1d80] error while decoding MB 18 6
[h264 @ 0x32d1d80] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x32627c0] concealing 1155 DC, 1155 AC, 1155 MV errors in P frame
[h264 @ 0x3212340] concealing 1105 DC, 1105 AC, 1105 MV errors in P frame
[h264 @ 0x318f240] concealing 1350 DC, 1350 AC, 1350 MV errors in P frame
[h264 @ 0x32c60e0] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x32d1d80] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x32d1d80] negative number of zero coeffs at 24 1
[h264 @ 0x32d1d80] error while decoding MB 24 1
[h264 @ 0x32d1d80] concealing 1330 DC, 1330 AC, 1330 MV errors in P frame
[h264 @ 0x32c60e0] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x3212340] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x318f240] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x3212340] negative number of zero coeffs at 17 6
[h264 @ 0x3212340] error while decoding MB 17 6
[h264 @ 0x3212340] concealing 1112 DC, 1112 AC, 1112 MV errors in P frame
[h264 @ 0x32d1d80] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x318f240] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
[h264 @ 0x318f240] concealing 1139 DC, 1139 AC, 1139 MV errors in P frame
[h264 @ 0x318f240] mb_type 54 in P slice too large at 2 7
[h264 @ 0x318f240] error while decoding MB 2 7
[h264 @ 0x318f240] concealing 1082 DC, 1082 AC, 1082 MV errors in P frame
[h264 @ 0x318f240] concealing 1111 DC, 1111 AC, 1111 MV errors in P frame
frame=18219 fps=2854 q=-0.0 Lsize= 9223369kB time=00:02:25.75 bitrate=518400.0kbits/s dup=13853 drop=0 speed=22.8x
video:9223369kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment