[FFmpeg-user] Reading RTSP from Axis cameras via FFMPEG

Ph0t0n lclemens at gmail.com
Fri Jun 10 03:02:51 CEST 2011


I'm having this same problem with two axis ip cameras and two panasonic ip
cameras!! The video gets messed up with ghosting and things, especially in
the lower half. The console spits out hundreds of errors each minute.

To reproduce the error, go to: http://ffmpeg.zeranoe.com/builds/ and get the
latest 32 bit static build for, (the one I have is 1929807).

Then open a IP camera rtsp stream via ffplay. If you don't have one, I found
one that's accessible online that you can access using:

ffplay rtsp://195.200.199.8/mpeg4/media.amp

A few years ago we used some older versions that didn't have any mpeg4
errors, but they had another problem that caused the video to timeout after
1 minute. So it seems like the timeout problem was fixed, but replaced by
this mpeg4 issue. I don't know if it's the mpeg4 that's bad, or if it's the
rtp parsing.

It's not just ffplay either. I tried it with several example apps like the
ffmpeg sdl tutorial here: http://dranger.com/ffmpeg/ and my own code - they
all get the same mpeg4 errors.

I've tried it on several different windows computers. I'm going to try it on
Ubuntu tonight.

BTW, the errors I'm getting look like:

C:\ffmpeg\bin>ffplay rtsp://195.200.199.8/mpeg4/media.amp
ffplay version git-N-30344-g5501afa, Copyright (c) 2003-2011 the FFmpeg
develope
rs
  built on May 27 2011 22:37:57 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
--enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx
--enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
--pkg-config=pkg-confi
g
  libavutil    51.  2. 2 / 51.  2. 2
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2. 11. 0 /  2. 11. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[rtsp @ 01E57B60] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://195.200.199.8/mpeg4/media.amp':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.030000, bitrate: N/A
    Stream #0.0: Video: mpeg4, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 100
tbr, 90
k tbn, 100 tbc
[mpeg4 @ 01E5BA40] ac-tex damaged at 16 4B vq=   17KB sq=    0B f=0/0
[mpeg4 @ 01E5BA40] Error at MB: 108
[mpeg4 @ 01E5BA40] concealing 44 DC, 44 AC, 44 MV errors
[mpeg4 @ 01E5BA40] 1. marker bit missing in 3. esc=    0B f=0/0
[mpeg4 @ 01E5BA40] Error at MB: 61
[mpeg4 @ 01E5BA40] concealing 110 DC, 110 AC, 110 MV errors
[mpeg4 @ 01E5BA40] concealing 49 DC, 49 AC, 49 MV errorsB f=0/0
[mpeg4 @ 01E5BA40] ac-tex damaged at 12 9   0KB sq=    0B f=0/0
[mpeg4 @ 01E5BA40] Error at MB: 219
[mpeg4 @ 01E5BA40] concealing 44 DC, 44 AC, 44 MV errors
[mpeg4 @ 01E5BA40] ac-tex damaged at 4 7    0KB sq=    0B f=0/0
[mpeg4 @ 01E5BA40] Error at MB: 165
[mpeg4 @ 01E5BA40] concealing 66 DC, 66 AC, 66 MV errors
[mpeg4 @ 01E5BA40] concealing 30 DC, 30 AC, 30 MV errorsB f=0/0
[mpeg4 @ 01E5BA40] ac-tex damaged at 5 5    0KB sq=    0B f=0/0
[mpeg4 @ 01E5BA40] Error at MB: 120
[mpeg4 @ 01E5BA40] concealing 287 DC, 287 AC, 287 MV errors
...........
...........
and billions more errors like that :-)

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Reading-RTSP-from-Axis-cameras-via-FFMPEG-tp940680p3587181.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list