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.-- Andrey Utkin _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
