On 19/10/2011 06:20, Andrey Utkin wrote:
> The issue was caused by non-monotonic input.
> Input is pts-interleaved MPEG TS, packets are permuted for network
> fails resilience.
> Pity that there seem to be no libav* functionality for sorting packets
> for such cases. If that's not correct, please tell about it.
> For now i just push frames to decode/encode as is, and then write
> packets to file straightly by oformat->write_packet(), skipping
> av_write{,_interleaved}_frame(). Produced file plays good in VLC, but
> stutters in ffplay, i think it is caused by dropping frames with "old"
> non-monotonic pts.

you might use av_write_frame() but yes we should fix the pts guessing
code once for all.

lu

-- 

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

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

Reply via email to