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

pradeep pradeep.t075 at gmail.com
Thu Jun 12 11:28:15 CEST 2014


Martin Carroll <martin.carroll <at> alcatel-lucent.com> writes:

> 
> [Please forgive me if this issue has already been discussed -- I am
> new to ffmpeg-devel.  I could not, however, find any discussion on
> this topic on this list in the past year, so here goes.]
> 
> In the current design of ffplay/ffmpeg, when an RTP packet is
> lost, the containing -- and incomplete -- encoded frame is still
> passed along to the decoder.  I have implemented a patch that
> has the read thread keep track of how many packets are missed,
> and when any are missed, the entire containing frame is dropped
> (that is, never makes it out of the read thread).
> 
> I would be happy to send this patch upstream, or discuss it
> further if anyone likes.
> 
> (The patch touches six files and about 25 lines of code.)
> 
> Martin Carroll
> 

Hi Martin Carroll,


Can you share the patch so that we can also test the results for frame drop 
if packet is missing.

Thank you
pradeep T




More information about the ffmpeg-devel mailing list