[FFmpeg-devel] drop entire frame when RTP packets are lost

Martin Carroll martin.carroll at alcatel-lucent.com
Tue Jul 3 22:01:49 CEST 2012

> the problem is caused by the OS UDP buffer overflowing this is because
> disabled our ring buffer without the ring buffer the code depends on
the OS having
> large enough buffers which it plain doesnt ... 

Yes, I had already spotted that, and to "fix" it I did a side-experiment
in which I
hard-coded a very large receive buffer (in the setsockopt() call in
udp.c).  Even
with a very large buffer, I still eventually start losing packets.  I
did not bother
to mention that side experiment, because I was under the impression that
*existing* code allegedly worked.

Given your statements re how to fix it, I conclude that ffplay, as
written, does not
support the playing of RTP streams that are longer than under, say, a
minute or so.
Please correct me if I'm wrong...


More information about the ffmpeg-devel mailing list