On 19/11/11 17:18, Måns Rullgård wrote:
> Luca Barbato <[email protected]> writes:
> 
>> av_interleave_packet_per_dts waits untill it gets a frame for each
>> stream before outputting packets in interleaved order.
>>
>> Sparse streams tend to add up latency and in specific cases end up
>> allocating a large amount of memory.
> 
> The proper way of handling this is to flag sparse streams as such and
> mostly ignore them for interleaving purposes.
> 

Any stream can be sparse. Common examples in the wild: rtmp-flv
generated by the flash client have sparse audio, subtitles are sparse by
themselves, attachment streams are sparse as well, data stream is
completely unpredictable.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to