forked from bantonj/PyTimeCode
-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
I could be wrong but I think the float property is not returning the correct value:
Line 532 in bde8463
| return float(self.frames) / float(self._int_framerate) |
I'm working with 23.976 timecode and this property seems to be giving me incorrect results, I had to change it to:
return float(self.frame_number) / (float(24000) / 1001)
So frame_number instead of frames to use the 0-based number rather than 1-based. 24000/1001 is not really necessary in most cases, but at large timecode values you may lose some time when dividing by 23.976
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels