<br><br><div class="gmail_quote">2011/6/15 luke <span dir="ltr"><<a href="mailto:lclemens@gmail.com">lclemens@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm having this same problem with two axis ip cameras and two panasonic ip<br>
cameras!! The video gets messed up with ghosting and other artifacts,<br>
especially in the lower half. The console spits out hundreds of errors each<br>
minute.<br>
<br>
To reproduce the error, go to: <a href="http://ffmpeg.zeranoe.com/builds/" target="_blank">http://ffmpeg.zeranoe.com/builds/</a> and get the<br>
latest 32 bit static build for, (the one I have is 1929807). Then open a IP<br>
camera rtsp stream via ffplay. If you don't have one, I found one that's<br>
accessible online that you can access using:<br>
<br>
ffplay rtsp://<a href="http://195.200.199.8/mpeg4/media.amp" target="_blank">195.200.199.8/mpeg4/media.amp</a><br>
<br>
There will be a lot of errors in the output console for ffplay.<br>
<br>
A few years ago we used some older versions that didn't have any mpeg4<br>
errors, but they had another problem that caused the video to timeout after<br>
1 minute. So it seems like the timeout problem was fixed, but replaced by<br>
this mpeg4 issue. There is a post in the ffmpeg group that describes the<br>
same issue. And another one here:<br>
<a href="http://web.archiveorange.com/archive/v/yR2T4qtfjQ1es89IeoVN" target="_blank">http://web.archiveorange.com/archive/v/yR2T4qtfjQ1es89IeoVN</a> .<br>
<br>
It's not just ffplay either. I tried it with several example apps like the<br>
ffmpeg sdl tutorial here: <a href="http://dranger.com/ffmpeg/" target="_blank">http://dranger.com/ffmpeg/</a> and my own code - they<br>
all get the same mpeg4 errors. The common code for these apps is based on<br>
av_open_input_file(), av_find_stream_info(), and av_read_frame().<br>
<br>
I've tried it on several different windows computers. I'm going to try it on<br>
Ubuntu tonight.<br>
<br>
Is there a chance that perhaps we just need a certain flag or option<br>
enabled?<br>
<br>
I will look into the source code and see if I can find the bug, but I'm<br>
pretty new with mpeg4 codec specifics so it would help a lot if someone can<br>
give me a better idea of where to look. I don't even know where to begin -<br>
the rtp parsing or the mpeg4 decompression?<br>
<br>
BTW, the errors I'm getting look like:<br>
<br>
C:\ffmpeg\bin>ffplay rtsp://<a href="http://195.200.199.8/mpeg4/media.amp" target="_blank">195.200.199.8/mpeg4/media.amp</a><br>
ffplay version git-N-30344-g5501afa, Copyright (c) 2003-2011 the FFmpeg<br>
develope<br>
rs<br>
  built on May 27 2011 22:37:57 with gcc 4.5.3<br>
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack<br>
--enable-<br>
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r<br>
--enable-libo<br>
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype<br>
--enable-libgsm --<br>
enable-libmp3lame --enable-libopenjpeg --enable-librtmp<br>
--enable-libschroedinger<br>
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx<br>
--enabl<br>
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib<br>
--pkg-config=pkg-confi<br>
g<br>
  libavutil    51.  2. 2 / 51.  2. 2<br>
  libavcodec   53.  6. 0 / 53.  6. 0<br>
  libavformat  53.  2. 0 / 53.  2. 0<br>
  libavdevice  53.  0. 0 / 53.  0. 0<br>
  libavfilter   2. 11. 0 /  2. 11. 0<br>
  libswscale    0. 14. 0 /  0. 14. 0<br>
  libpostproc  51.  2. 0 / 51.  2. 0<br>
[rtsp @ 01E57B60] Estimating duration from bitrate, this may be inaccurate<br>
Input #0, rtsp, from 'rtsp://<a href="http://195.200.199.8/mpeg4/media.amp" target="_blank">195.200.199.8/mpeg4/media.amp</a>':<br>
  Metadata:<br>
    title           : Media Presentation<br>
  Duration: N/A, start: 0.030000, bitrate: N/A<br>
    Stream #0.0: Video: mpeg4, yuv420p, 352x288 [PAR 12:11 DAR 4:3], 100<br>
tbr, 90<br>
k tbn, 100 tbc<br>
[mpeg4 @ 01E5BA40] ac-tex damaged at 16 4B vq=   17KB sq=    0B f=0/0<br>
[mpeg4 @ 01E5BA40] Error at MB: 108<br>
[mpeg4 @ 01E5BA40] concealing 44 DC, 44 AC, 44 MV errors<br>
[mpeg4 @ 01E5BA40] 1. marker bit missing in 3. esc=    0B f=0/0<br>
[mpeg4 @ 01E5BA40] Error at MB: 61<br>
[mpeg4 @ 01E5BA40] concealing 110 DC, 110 AC, 110 MV errors<br>
[mpeg4 @ 01E5BA40] concealing 49 DC, 49 AC, 49 MV errorsB f=0/0<br>
[mpeg4 @ 01E5BA40] ac-tex damaged at 12 9   0KB sq=    0B f=0/0<br>
[mpeg4 @ 01E5BA40] Error at MB: 219<br>
[mpeg4 @ 01E5BA40] concealing 44 DC, 44 AC, 44 MV errors<br>
[mpeg4 @ 01E5BA40] ac-tex damaged at 4 7    0KB sq=    0B f=0/0<br>
[mpeg4 @ 01E5BA40] Error at MB: 165<br>
[mpeg4 @ 01E5BA40] concealing 66 DC, 66 AC, 66 MV errors<br>
[mpeg4 @ 01E5BA40] concealing 30 DC, 30 AC, 30 MV errorsB f=0/0<br>
[mpeg4 @ 01E5BA40] ac-tex damaged at 5 5    0KB sq=    0B f=0/0<br>
[mpeg4 @ 01E5BA40] Error at MB: 120<br>
[mpeg4 @ 01E5BA40] concealing 287 DC, 287 AC, 287 MV errors<br>
...........<br>
...........<br>
and billions more errors like that :-)<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://libav-users.943685.n4.nabble.com/get-mpeg4-streams-with-rtsp-protocol-tp2256170p3600630.html" target="_blank">http://libav-users.943685.n4.nabble.com/get-mpeg4-streams-with-rtsp-protocol-tp2256170p3600630.html</a><br>

Sent from the libav-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</font></blockquote></div><br><div><br></div><div>Hi, </div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span class="hps" title="Click for alternate translations">if you</span> <span class="hps" title="Click for alternate translations">add ?</span><span class="hps" title="Click for alternate translations">tcp</span> <span class="hps" title="Click for alternate translations">in the end of URL</span> <span class="hps" title="Click for alternate translations">I think that many of</span> <span class="hps" title="Click for alternate translations">your problems</span> <span class="hps" title="Click for alternate translations">are</span> <span class="hps" title="Click for alternate translations">solved..</span></span></div>
<div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">ffplay rtsp://<a href="http://195.200.199.8/mpeg4/media.amp" target="_blank" style="color: rgb(0, 0, 204); ">195.200.199.8/mpeg4/media.amp</a>?tcp<br>
</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br>
</span></div>