Hello all,

please comment if the following is right or wrong:

-- The timebase of a video (TB in setpts filter) is expressed in the unit [s] (seconds). -- The framerate of a video (FR in setpts filter) is expressed in the unit [s^-1] (1/seconds). -- In many cases the timebase is the reciprocal of the framerate, but this isn't always the case. -- If the timebase is the reciprocal of the framerate, a stream can be delayed by x frames using setpts=PTS+x -- In the more general case for arbitrary timebase and framerate, a stream can be delayed by x frames using setpts=PTS+x/(FR*TB)

Michael


_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to