[Ffmpeg-devel] Image blurs in case of packet loss when using h.263 codec

Michael Niedermayer michaelni
Sat Jun 11 16:01:24 CEST 2005


Hi

On Saturday 11 June 2005 15:21, Luca Barbato wrote:
> Zhang Yong wrote:
> > Dear all,
> >
> >
> >
> > Recently, I am trying to use libavcodec to develop a network video
> > application under Windows. Because it is a video conferencing
> > application, I chose the h.263 codec, and used the UDP transport protocol
> > to transfer the encoded data on the network. But since UDP is not a
> > reliable protocol, whenever packet loss occurs, there are serious image
> > blurs on the decoded image of the receiver.
> >
> >
> >
> > The blurred image is *attached*. I don't know whether this is an inherent
> > property of the h.263 codec. If so, how can I avoid image blurs in case
> > of packet loss? I have been tangled with this issue for about two weeks.
> > It will be very appreciated if anybody could help me out. Thanks.
>
> Use rtp/rtsp and make sure you send often enough
> keyframes/syncpoints/nameithowyouwant, that may help but not solve the
> issue.

use (small) slices / gobs
add some support to libavcodec to intelligently place intra MBs to quickly 
clean up any distortion in case of lost slices

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list