So konvertieren Sie die Rahmennummer in Sekunden Python

from datetime import timedelta

FPS = 24.0
frame_count = 12345
td = timedelta(seconds=(frame_count / FPS))

>>> print td
0:08:34.375000
Puzzled Porcupine