<font color="#666666"><font size="4"><font face="times new roman,serif">I forgot to mention that I am using FFMPEG through OpenCV. Since an earlier version of FFMPEG was giving problems while decoding H.264 based RTSP stream, I updated to the latest FFMPEG version (recompiled it by self) and it worked fine. Not sure if this serves your purpose.<br clear="all">
</font></font></font><br>--<br>Regards,<br>Saurabh Gandhi<br><br><br>
<br><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 4:47 AM, STenyaK <span dir="ltr"><<a href="mailto:stenyak@gmail.com">stenyak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks for the reply.<br>
<br>
Apart from updating to latest ffmpeg version, did you do anything else<br>
for it to work? I'm still experiencing the same visual glitches.<br>
<div><div></div><div class="h5"><br>
On Mon, May 30, 2011 at 11:53, Saurabh Gandhi <<a href="mailto:saurabhg84@gmail.com">saurabhg84@gmail.com</a>> wrote:<br>
> Are you using the latest version of FFMPEG. We had similar issues here which<br>
> got resolved by updating to the latest version<br>
><br>
> --<br>
> Regards,<br>
> Saurabh Gandhi<br>
><br>
><br>
><br>
><br>
> On Mon, May 30, 2011 at 2:30 AM, STenyaK <<a href="mailto:stenyak@gmail.com">stenyak@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>> I'm having troubles trying to decode H264 by feeding<br>
>> avcodec_decode_video with data coming from an RTP stream. I'm going to<br>
>> describe the visual result, maybe it can help find out where the<br>
>> problem lies:<br>
>><br>
>> The image is perfect in the first frame of the stream. From that point<br>
>> on, it looks as if only p-frames got decoded: the image begins to get<br>
>> progressively more blurred with each frame whenever something in the<br>
>> image changes or moves position.<br>
>> Every 10-20 seconds of stream, the image starts a quick reconstruction<br>
>> process. the image gets corrected (visual trails removed) in a sweep<br>
>> from left to right that takes about half a second or two.<br>
>><br>
>> Reading the same RTP stream with other software (also based on ffmpeg)<br>
>> works correctly, with no visual corruption at all, so I must be<br>
>> missing something.<br>
>><br>
>> Does anyone have any idea what the problem could stem from? Any<br>
>> pointers are appreciated.<br>
>><br>
>> Thanks in advance.<br>
>><br>
>> --<br>
>> Saludos,<br>
>>      Bruno González<br>
>><br>
>> _______________________________________________<br>
>> Jabber: stenyak AT <a href="http://gmail.com" target="_blank">gmail.com</a><br>
>> <a href="http://www.stenyak.com" target="_blank">http://www.stenyak.com</a><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>
><br>
><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>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Saludos,<br>
     Bruno González<br>
<br>
_______________________________________________<br>
Jabber: stenyak AT <a href="http://gmail.com" target="_blank">gmail.com</a><br>
<a href="http://www.stenyak.com" target="_blank">http://www.stenyak.com</a><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>
</div></div></blockquote></div><br>