[FFmpeg-trac] #285(FFmpeg:new): RTSP h264 video stream always reports corrupted macroblock

FFmpeg trac at avcodec.org
Sat Jun 18 19:18:14 CEST 2011


#285: RTSP h264 video stream always reports corrupted macroblock
------------------------+----------------------
Reporter:  bovine       |       Owner:  michael
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  FFmpeg
 Version:  unspecified  |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  0
Analyzed:  0            |
------------------------+----------------------

Comment (by bovine):

 I still have the same problem with the latest ffmpeg and libh264 from git:

 {{{
 bovine:~>ffmpeg -i bovine-video-H264-1 -y -vcodec mjpeg -an record.mjpeg
 ffmpeg version git-N-30845-gbde8055, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 18 2011 12:14:58 with gcc 4.2.1 20070719  [FreeBSD]
   configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-
 shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads
 --enable-x11grab --enable-memalign-hack --cc=cc --extra-cflags='-msse
 -I/usr/local/include/vorbis -I/usr/local/include' --extra-
 ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug
 --enable-runtime-cpudetect --disable-indev=alsa --disable-outdev=alsa
 --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb
 --disable-libdirac --disable-libfaac --disable-frei0r --disable-libgsm
 --enable-libmp3lame --disable-libopencv --disable-libopenjpeg --enable-
 libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora
 --disable-vaapi --disable-vdpau --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libxvid
   libavutil    51.  9. 0 / 51.  9. 0
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 18. 0 /  2. 18. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [h264 @ 0x804c0db20] corrupted macroblock 100 12 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 100 12
 [h264 @ 0x804c0db20] concealing 6093 DC, 6093 AC, 6093 MV errors
 [h264 @ 0x804c0db20] Invalid level prefix
 [h264 @ 0x804c0db20] error while decoding MB 45 14
 [h264 @ 0x804c0db20] concealing 5892 DC, 5892 AC, 5892 MV errors
 [h264 @ 0x804c0db20] concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x804c0db20] concealing 5840 DC, 5840 AC, 5840 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 92 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 92 14
 [h264 @ 0x804c0db20] concealing 5845 DC, 5845 AC, 5845 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 101 12 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 101 12
 [h264 @ 0x804c0db20] concealing 6092 DC, 6092 AC, 6092 MV errors
 [h264 @ 0x804c0db20] illegal POC type 4
 [h264 @ 0x804c18c20] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 15.00
 (15/1) -> 7.50 (15/2)
 Input #0, h264, from 'bovine-video-H264-1':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: h264 (High), yuvj420p, 2048x1944, 7.50 fps, 7.50
 tbr, 1200k tbn, 15 tbc
 [buffer @ 0x804c2a180] w:2048 h:1944 pixfmt:yuvj420p tb:1/1000000 sar:0/1
 sws_param:
 Output #0, mjpeg, to 'record.mjpeg':
   Metadata:
     encoder         : Lavf53.4.0
     Stream #0.0: Video: mjpeg, yuvj420p, 2048x1944, q=2-31, 200 kb/s, 90k
 tbn, 7.50 tbc
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help
 [h264 @ 0x804c0db20] corrupted macroblock 100 12 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 100 12
 [h264 @ 0x804c0db20] concealing 6093 DC, 6093 AC, 6093 MV errors
 [h264 @ 0x804c0db20] Invalid level prefix
 [h264 @ 0x804c0db20] error while decoding MB 45 14
 [h264 @ 0x804c0db20] concealing 5892 DC, 5892 AC, 5892 MV errors
 [h264 @ 0x804c0db20] concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x804c0db20] concealing 5840 DC, 5840 AC, 5840 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 92 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 92 14
 [h264 @ 0x804c0db20] concealing 5845 DC, 5845 AC, 5845 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 101 12 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 101 12
 [h264 @ 0x804c0db20] concealing 6092 DC, 6092 AC, 6092 MV errors
 [h264 @ 0x804c0db20] Invalid level prefix time=00:00:00.80
 bitrate=13348.1kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 39 14
 [h264 @ 0x804c0db20] concealing 5898 DC, 5898 AC, 5898 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 80 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 80 14
 [h264 @ 0x804c0db20] concealing 5857 DC, 5857 AC, 5857 MV errors
 [h264 @ 0x804c0db20] illegal reordering_of_pic_nums_idc
 [h264 @ 0x804c0db20] decode_slice_header error
 [h264 @ 0x804c0db20] concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 94 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 94 14
 [h264 @ 0x804c0db20] concealing 5843 DC, 5843 AC, 5843 MV errors
 [h264 @ 0x804c0db20] concealing 6087 DC, 6087 AC, 6087 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 54 14
 (total_coeff=-1)ate=10632.6kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 54 14
 [h264 @ 0x804c0db20] concealing 13819 DC, 13819 AC, 13819 MV errors
 [h264 @ 0x804c0db20] concealing 7680 DC, 7680 AC, 7680 MV errors
 [h264 @ 0x804c0db20] negative number of zero coeffs at 91 14
 [h264 @ 0x804c0db20] error while decoding MB 91 14
 [h264 @ 0x804c0db20] concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x804c0db20] negative number of zero coeffs at 90 14
 [h264 @ 0x804c0db20] error while decoding MB 90 14
 [h264 @ 0x804c0db20] concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x804c0db20] Invalid level prefixB time=00:00:02.00
 bitrate=9345.4kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 91 14
 [h264 @ 0x804c0db20] concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x804c0db20] concealing 6091 DC, 6091 AC, 6091 MV errors
 [h264 @ 0x804c0db20] concealing 5888 DC, 5888 AC, 5888 MV errors
 [h264 @ 0x804c0db20] concealing 5801 DC, 5801 AC, 5801 MV errors
 [h264 @ 0x804c0db20] cbp too large (4294967295) at 93 14
 [h264 @ 0x804c0db20] error while decoding MB 93 14
 [h264 @ 0x804c0db20] concealing 5844 DC, 5844 AC, 5844 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 93 14
 (total_coeff=-1)ate=8450.6kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 93 14
 [h264 @ 0x804c0db20] concealing 13780 DC, 13780 AC, 13780 MV errors
 [h264 @ 0x804c0db20] illegal POC type 4
 [h264 @ 0x804c0db20] concealing 7680 DC, 7680 AC, 7680 MV errors
 [h264 @ 0x804c0db20] Invalid level prefix
 [h264 @ 0x804c0db20] error while decoding MB 100 12
 [h264 @ 0x804c0db20] concealing 6093 DC, 6093 AC, 6093 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 41 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 41 14
 [h264 @ 0x804c0db20] concealing 5896 DC, 5896 AC, 5896 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 84 14
 (total_coeff=-1)ate=7985.6kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 84 14
 [h264 @ 0x804c0db20] concealing 5853 DC, 5853 AC, 5853 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 90 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 90 14
 [h264 @ 0x804c0db20] concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x804c0db20] concealing 5842 DC, 5842 AC, 5842 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 99 12 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 99 12
 [h264 @ 0x804c0db20] concealing 6094 DC, 6094 AC, 6094 MV errors
 [h264 @ 0x804c0db20] corrupted macroblock 51 14 (total_coeff=-1)
 [h264 @ 0x804c0db20] error while decoding MB 51 14
 [h264 @ 0x804c0db20] concealing 5886 DC, 5886 AC, 5886 MV errors
 [h264 @ 0x804c0db20] Invalid level prefixB time=00:00:03.86
 bitrate=7607.6kbits/s
 [h264 @ 0x804c0db20] error while decoding MB 90 14
 [h264 @ 0x804c0db20] concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x804c0db20] Invalid level prefix
 [h264 @ 0x804c0db20] error while decoding MB 92 14
 [h264 @ 0x804c0db20] concealing 5845 DC, 5845 AC, 5845 MV errors
 [h264 @ 0x804c0db20] negative number of zero coeffs at 91 14
 [h264 @ 0x804c0db20] error while decoding MB 91 14
 [h264 @ 0x804c0db20] concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x804c0db20] top block unavailable for requested intra4x4 mode -1
 at 2 0
 [h264 @ 0x804c0db20] error while decoding MB 2 0
 [h264 @ 0x804c0db20] concealing 7680 DC, 7680 AC, 7680 MV errors
 frame=   33 fps=  8 q=24.8 Lsize=    3966kB time=00:00:04.40
 bitrate=7384.5kbits/s
 video:3966kB audio:0kB global headers:0kB muxing overhead 0.000000%
 bovine:~>
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/285#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list