[Libav-user] reset internal pts state

David Ibbitson david.ibbitson at gmail.com
Tue Feb 11 18:59:46 EET 2025


Hi,

I'm using avformat to mux two streams into an mpegts format. For various
reasons I'm managing pts myself and accounting for the 33bit limitation.
Upon rollover I would like to somehow flag a brief discontinuity or reset
the pts internal state so it doesn't complain about non monotonic dts. Is
this in any way possible without completely tearing down the whole
AVFormatContext?

Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20250211/fe53d199/attachment.htm>


More information about the Libav-user mailing list