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

FFmpeg trac at avcodec.org
Sat Jun 18 10:12:26 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  |   Keywords:
Blocked By:               |   Blocking:
Reproduced:  0            |   Analyzed:  0
--------------------------+---------------------
 I am trying to convert a RTSP h264 video stream from a "Geovision" IP
 camera to any other format but ffmpeg always sees errors in the video
 data.  The resulting video only shows the first few lines of each frame.

 I've captured a few seconds of video (~4MB) to a file using the "openRTSP"
 utility.  Unfortunately, your ftp server at upload.ffmpeg.org currently
 appears to be offline, so it is here:
 http://www.bovine.net/~jlawson/exchange/bovine-video-H264-1


 bovine:~>ffmpeg -i bovine-video-H264-1 -y -vcodec mjpeg -an record.mjpeg

 FFmpeg version 0.6.3, Copyright (c) 2000-2010 the FFmpeg developers
   built on Jun 14 2011 01:06:02 with gcc 4.2.1 20070719  [FreeBSD]
   configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-
 shared --enable-gpl --enable-postproc --enable-avfilter --enable-avfilter-
 lavf --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
 --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdirac
 --disable-libfaac --enable-libfaad --enable-libfaadbin --disable-libgsm
 --disable-libmp3lame --disable-libopenjpeg --enable-libschroedinger
 --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi
 --disable-vdpau --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxvid
   libavutil     50.15. 1 / 50.15. 1
   libavcodec    52.72. 2 / 52.72. 2
   libavformat   52.64. 2 / 52.64. 2
   libavdevice   52. 2. 0 / 52. 2. 0
   libavfilter    1.19. 0 /  1.19. 0
   libswscale     0.11. 0 /  0.11. 0
   libpostproc   51. 2. 0 / 51. 2. 0
 [h264 @ 0x80460db10]corrupted macroblock 100 12 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 100 12
 [h264 @ 0x80460db10]concealing 6093 DC, 6093 AC, 6093 MV errors
 [h264 @ 0x80460db10]illegal POC type 4
 [h264 @ 0x80460db10]missing picture in access unit
 [h264 @ 0x804622010]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 'video-H264-1':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: h264, yuv420p, 2048x1944, 7.50 fps, 7.50 tbr,
 1200k tbn, 15 tbc
 Output #0, mjpeg, to 'record.mjpeg':
   Metadata:
     encoder         : Lavf52.64.2
     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 encoding
 [h264 @ 0x80460db10]corrupted macroblock 100 12 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 100 12
 [h264 @ 0x80460db10]concealing 6093 DC, 6093 AC, 6093 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 45 14
 [h264 @ 0x80460db10]concealing 5892 DC, 5892 AC, 5892 MV errors
 [h264 @ 0x80460db10]concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x80460db10]concealing 5840 DC, 5840 AC, 5840 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 92 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 92 14
 [h264 @ 0x80460db10]concealing 5845 DC, 5845 AC, 5845 MV errors
 frame=    5 fps=  0 q=5.8 size=    1162kB time=0.67 bitrate=14283.1kbits/s
 ^M[h264 @ 0x80460db10]corrupted macroblock 101 12 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 101 12
 [h264 @ 0x80460db10]concealing 6092 DC, 6092 AC, 6092 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 39 14
 [h264 @ 0x80460db10]concealing 5898 DC, 5898 AC, 5898 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 80 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 80 14
 [h264 @ 0x80460db10]concealing 5857 DC, 5857 AC, 5857 MV errors
 [h264 @ 0x80460db10]illegal reordering_of_pic_nums_idc
 [h264 @ 0x80460db10]decode_slice_header error
 [h264 @ 0x80460db10]concealing 5846 DC, 5846 AC, 5846 MV errors
 frame=    9 fps=  7 q=16.7 size=    1744kB time=1.20
 bitrate=11902.6kbits/s    ^M[h264 @ 0x80460db10]corrupted macroblock 94 14
 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 94 14
 [h264 @ 0x80460db10]concealing 5843 DC, 5843 AC, 5843 MV errors
 [h264 @ 0x80460db10]concealing 6087 DC, 6087 AC, 6087 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 54 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 54 14
 [h264 @ 0x80460db10]concealing 13819 DC, 13819 AC, 13819 MV errors
 frame=   12 fps=  7 q=24.8 size=    2052kB time=1.60
 bitrate=10504.5kbits/s    ^M[h264 @ 0x80460db10]concealing 7680 DC, 7680
 AC, 7680 MV errors
 [h264 @ 0x80460db10]negative number of zero coeffs at 91 14
 [h264 @ 0x80460db10]error while decoding MB 91 14
 [h264 @ 0x80460db10]concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x80460db10]negative number of zero coeffs at 90 14
 [h264 @ 0x80460db10]error while decoding MB 90 14
 [h264 @ 0x80460db10]concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 91 14
 [h264 @ 0x80460db10]concealing 5846 DC, 5846 AC, 5846 MV errors
 frame=   16 fps=  7 q=24.8 size=    2444kB time=2.13 bitrate=9383.7kbits/s
 ^M[h264 @ 0x80460db10]concealing 6091 DC, 6091 AC, 6091 MV errors
 [h264 @ 0x80460db10]concealing 5888 DC, 5888 AC, 5888 MV errors
 [h264 @ 0x80460db10]concealing 5801 DC, 5801 AC, 5801 MV errors
 [h264 @ 0x80460db10]cbp too large (4294967295) at 93 14
 [h264 @ 0x80460db10]error while decoding MB 93 14
 [h264 @ 0x80460db10]concealing 5844 DC, 5844 AC, 5844 MV errors
 frame=   20 fps=  7 q=24.8 size=    2826kB time=2.67 bitrate=8682.8kbits/s
 ^M[h264 @ 0x80460db10]corrupted macroblock 93 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 93 14
 [h264 @ 0x80460db10]concealing 13780 DC, 13780 AC, 13780 MV errors
 [h264 @ 0x80460db10]illegal POC type 4
 [h264 @ 0x80460db10]concealing 7680 DC, 7680 AC, 7680 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 100 12
 [h264 @ 0x80460db10]concealing 6093 DC, 6093 AC, 6093 MV errors
 frame=   23 fps=  7 q=24.8 size=    3109kB time=3.07 bitrate=8304.3kbits/s
 ^M[h264 @ 0x80460db10]corrupted macroblock 41 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 41 14
 [h264 @ 0x80460db10]concealing 5896 DC, 5896 AC, 5896 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 84 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 84 14
 [h264 @ 0x80460db10]concealing 5853 DC, 5853 AC, 5853 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 90 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 90 14
 [h264 @ 0x80460db10]concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x80460db10]concealing 5842 DC, 5842 AC, 5842 MV errors
 frame=   27 fps=  7 q=24.8 size=    3494kB time=3.60 bitrate=7951.4kbits/s
 ^M[h264 @ 0x80460db10]corrupted macroblock 99 12 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 99 12
 [h264 @ 0x80460db10]concealing 6094 DC, 6094 AC, 6094 MV errors
 [h264 @ 0x80460db10]corrupted macroblock 51 14 (total_coeff=-1)
 [h264 @ 0x80460db10]error while decoding MB 51 14
 [h264 @ 0x80460db10]concealing 5886 DC, 5886 AC, 5886 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 90 14
 [h264 @ 0x80460db10]concealing 5847 DC, 5847 AC, 5847 MV errors
 [h264 @ 0x80460db10]Invalid level prefix
 [h264 @ 0x80460db10]error while decoding MB 92 14
 [h264 @ 0x80460db10]concealing 5845 DC, 5845 AC, 5845 MV errors
 frame=   31 fps=  7 q=24.8 size=    3884kB time=4.13 bitrate=7698.5kbits/s
 ^M[h264 @ 0x80460db10]negative number of zero coeffs at 91 14
 [h264 @ 0x80460db10]error while decoding MB 91 14
 [h264 @ 0x80460db10]concealing 5846 DC, 5846 AC, 5846 MV errors
 [h264 @ 0x80460db10]top block unavailable for requested intra4x4 mode -1
 at 2 0
 [h264 @ 0x80460db10]error while decoding MB 2 0
 [h264 @ 0x80460db10]concealing 7680 DC, 7680 AC, 7680 MV errors
 [h264 @ 0x80460db10]missing picture in access unit
 frame=   33 fps=  6 q=24.8 Lsize=    4075kB time=4.40
 bitrate=7587.8kbits/s
 video:4075kB audio:0kB global headers:0kB muxing overhead 0.000000%

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


More information about the FFmpeg-trac mailing list