[Libav-user] How to treat pts using ffmpeg libs

Harald Schlangmann hschlangmann at me.com
Sun Mar 15 15:34:02 CET 2015


> One way is to make a buffer and a queue and reorganize the PTS in increasing order before processing.

I didn’t check in ffmpeg.c, but as reading in a stream of frames, doing something, and writing them to a target video is a pretty common task when using ffmpeg, it should either be a standard pattern or not necessary? Maybe your pts values are wrong?

Could someone clarify on this?

- Harry


More information about the Libav-user mailing list