[FFmpeg-user] Filter documentation -- PTSs

Carl Zwanzig cpz at tuunq.com
Mon Feb 15 02:47:29 EET 2021


On 2/14/2021 4:34 PM, Paul B Mahol wrote:
> On Mon, Feb 15, 2021 at 12:50 AM Mark Filipak (ffmpeg)<markfilipak at bog.us>
> wrote:
>> If so, wouldn't it be helpful if filter documentation included how it
>> generates PTSs?

> PTS are not generated.

-Something- generates the PTS, although maybe not the filter. OTOH if an 
element in the pipeline between decode and encode changes the frame-to-frame 
timing, I'd expect that the PTS must be altered (which one could call 
"recalculated" or "regenerated").

Some handy references, although I'm sure there are others--
https://en.wikipedia.org/wiki/Presentation_timestamp
http://www.bretl.com/mpeghtml/timebuf.HTM

z!


More information about the ffmpeg-user mailing list