[FFmpeg-devel] Fwd: Errors when getting data from RTSP source

Ronald S. Bultje rsbultje
Fri Jul 10 13:40:33 CEST 2009

Hi Luca,

On Jul 10, 2009, at 3:35 AM, Luca Abeni <lucabe72 at email.it> wrote:
> Ronald S. Bultje wrote:
>> On Thu, Jul 9, 2009 at 4:40 PM, Stas Oskin<stas.oskin at gmail.com>  
>> wrote:
>>> Ok, so just buffering the coming packets, and re-ordering them  
>>> according to
>>> sequence, would do the trick?
>> That's about as easy as it could be. Only buffer when out-of-order,  
>> of course.
>>> Any advised details, such as how many re-ordered packets may  
>>> arrive (which
>>> translates, to how large such buffer/list should be)?
>> That's the difficult part. :-). Use dyn_buf for the buffer list (part
>> of lavf API), and don't make it grow too big (MBs, #packets, etc.).
>> Also allow for re-requesting lost packets.
> AFAIK, this is not part of standard RTP/RTCP. Before going for non- 
> standard
> things, I'd say that we should implement the standard correctly.

Absolutely agree.


More information about the ffmpeg-devel mailing list