[FFmpeg-trac] #285(FFmpeg:new): RTSP h264 video stream always reports corrupted macroblock
FFmpeg
trac at avcodec.org
Thu Jul 14 22:59:21 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 uscgraphics):
I got the same problem using Axis P1311/P5534-E/Q1755 latest v5.2 firmware
ffplay rtsp://xxx.xxx.xxx.xxx/axis-media/media.amp
will see lots of errors (see below), the display image is partially
corrupt.
This happens even in the same sub-net without UDP blocking. But if I use
ffplay rtsp://xxx.xxx.xxx.xxx/axis-media/media.amp?http
ffplay rtsp://xxx.xxx.xxx.xxx/axis-media/media.amp?tcp
it works fine.
Worst of all, my program will crash at
av_close_input_file(ic);
whenever the error occurs. Try to catch the crash with _set_se_translator
fail either.
If you need login to reproduce the bug please send me email.
----------------------------------------------
ffplay version N-31329-g58257ea, Copyright (c) 2003-2011 the FFmpeg
developers
built on Jul 8 2011 22:29:12 with gcc 4.6.1
configuration: --disable-static --enable-shared --disable-outdev=sdl
--enable-
gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect
--enable
-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
--enable-lib
opencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable
-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
--enabl
e-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
libxavs
--enable-libxvid --enable-zlib
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 3 / 2. 24. 3
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 01F8F5A0] negative number of zero coeffs at 16 12
[h264 @ 01F8F5A0] error while decoding MB 16 12
[h264 @ 01F8F5A0] concealing 753 DC, 753 AC, 753 MV errors
[h264 @ 01F8F5A0] Invalid level prefix
[h264 @ 01F8F5A0] error while decoding MB 10 2
[h264 @ 01F8F5A0] concealing 1159 DC, 1159 AC, 1159 MV errors
[h264 @ 01F8F5A0] cbp too large (4294967295) at 3 3
[h264 @ 01F8F5A0] error while decoding MB 3 3
[h264 @ 01F8F5A0] concealing 1126 DC, 1126 AC, 1126 MV errors
[h264 @ 01F8F5A0] Invalid level prefix
[h264 @ 01F8F5A0] error while decoding MB 2 4
[h264 @ 01F8F5A0] concealing 1087 DC, 1087 AC, 1087 MV errors
[h264 @ 01F8F5A0] out of range intra chroma pred mode at 9 5
[h264 @ 01F8F5A0] error while decoding MB 9 5
[h264 @ 01F8F5A0] concealing 1040 DC, 1040 AC, 1040 MV errors
[h264 @ 01F8F5A0] cbp too large (4294967295) at 8 5
[h264 @ 01F8F5A0] error while decoding MB 8 5
[h264 @ 01F8F5A0] concealing 1041 DC, 1041 AC, 1041 MV errors
[rtsp @ 01F8A780] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://xxx.xxx.xxx.xxx/axis-media/media.amp':
Metadata:
title : Media Presentation
Duration: N/A, start: 1.026878, bitrate: N/A
Stream #0.0: Video: h264 (Baseline), yuvj420p, 640x480 [PAR 1:1 DAR
4:3], 90
k tbr, 90k tbn, 180k tbc
[buffersink @ 0204FF80] auto-inserting filter 'auto-inserted scaler 0'
between t
he filter 'src' and the filter 'out'
[scale @ 01F8F2A0] w:640 h:480 fmt:yuvj420p -> w:640 h:480 fmt:yuv420p
flags:0x4
[h264 @ 01F8F5A0] negative number of zero coeffs at 16 12
[h264 @ 01F8F5A0] error while decoding MB 16 12
[h264 @ 01F8F5A0] concealing 753 DC, 753 AC, 753 MV errors
[h264 @ 01F8F5A0] Invalid level prefix 0KB vq= 16KB sq= 0B f=0/0
[h264 @ 01F8F5A0] error while decoding MB 10 2
[h264 @ 01F8F5A0] concealing 1159 DC, 1159 AC, 1159 MV errors
[h264 @ 01F8F5A0] cbp too large (4294967295) at 3 3
[h264 @ 01F8F5A0] error while decoding MB 3 3
[h264 @ 01F8F5A0] concealing 1126 DC, 1126 AC, 1126 MV errors
[h264 @ 01F8F5A0] Invalid level prefix
[h264 @ 01F8F5A0] error while decoding MB 2 4
[h264 @ 01F8F5A0] concealing 1087 DC, 1087 AC, 1087 MV errors
[h264 @ 01F8F5A0] out of range intra chroma pred mode at 9 50/0
[h264 @ 01F8F5A0] error while decoding MB 9 5
[h264 @ 01F8F5A0] concealing 1040 DC, 1040 AC, 1040 MV errors
[h264 @ 01F8F5A0] cbp too large (4294967295) at 8 5 0B f=0/0
[h264 @ 01F8F5A0] error while decoding MB 8 5
[h264 @ 01F8F5A0] concealing 1041 DC, 1041 AC, 1041 MV errors
[h264 @ 01F8F5A0] Invalid level prefixq= 138KB sq= 0B f=0/0
[h264 @ 01F8F5A0] error while decoding MB 1 5
[h264 @ 01F8F5A0] concealing 1048 DC, 1048 AC, 1048 MV errors
[h264 @ 01F8F5A0] out of range intra chroma pred mode at 37 160
[h264 @ 01F8F5A0] error while decoding MB 37 16
[h264 @ 01F8F5A0] concealing 572 DC, 572 AC, 572 MV errors
[h264 @ 01F8F5A0] P sub_mb_type 4 out of range at 32 4 0B f=0/0
--
Ticket URL: <http://avcodec.org/trac/ffmpeg/ticket/285#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list