Adding frames to a timestamp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Adding frames to a timestamp

K E N O
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! :)

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".