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

Martin Carroll martin.carroll at alcatel-lucent.com
Fri Jun 29 19:53:39 CEST 2012


 > the question left open is why the frame should be dropped ?

Good point.  Two reasons:

1. In my testing, dropping the frame produces noticeably better visual 
results (than sending an incomplete encoded frame to the decoder).

2. One cause of lost RTP packets is ffplay's inability to keep up with 
the arriving packets.  Dropping the frame (and not spending the time to 
decode it -- albeit in another thread) increases the probability that 
ffplay will be able to catch up.

Martin Carroll



More information about the ffmpeg-devel mailing list