[FFmpeg-user] Adding frames to a timestamp

K E N O lucky at kenokeno.bingo
Wed Jan 8 14:25:14 EET 2020

Using the `ffmpeg-python` wrapper (https://github.com/kkroening/ffmpeg-python), I’d like to add a number of frames to a timestamp. Does anyone know how I can accomplish that in Python?

For example:

    timestamp = 00:03:31,764
    number_of_frames = 5
    new_timestamp = timestamp + number_of_frames

Thanks! :)

More information about the ffmpeg-user mailing list