timecode
timecode copied to clipboard
Python Module for SMPTE Time Code Manipulation
Since that is starting to appear in some devices. https://pub.smpte.org/pub/st12-3/st0012-3-2016.pdf
I could be wrong but I think the float property is not returning the correct value: https://github.com/eoyilmaz/timecode/blob/bde846369039adb72d028e9e5234c6e655fdcde8/timecode/__init__.py#L532 I'm working with 23.976 timecode and this property seems to be giving me...
Fix for #53 I've added type hints to the package, including a `py.typed` marker file for mypy. This requires python 3.7+ since type hints aren't available in python 2, but...
I love type hints and how they help dev tools (using mypy or pyright to catch errors for me!) I know that type hints are loved by everybody - so...
Hi Erkan, Thank you so much for maintaining this convenient timecode package on pip! I'm a Robotics PhD student at Columbia university. My current project requires syncing multiple GoPros using...
I try `pip install timecode`, but I get encoding errors. ``` (.venv) D:\.....\.venv\Scripts>pip install timecode Collecting timecode Using cached timecode-1.4.0.tar.gz (43 kB) Installing build dependencies ... done Getting requirements to...
`Timecode.to_realtime(as_float=False)` returns incorrect value for "00:00:00:00" at low frame rates.
Simply put, using the `to_realtime` method for low and higher frame rates on a "00:00:00:00" timecode produces the following inconsistent results: ``` >>> Timecode(24, "00:00:00:00").to_realtime(as_float=False) '00:00:00.042' >>> Timecode(48000, "00:00:00:00").to_realtime(as_float=False) '00:00:00.000'...
This required only minor code changes to handle 119.88 drop frame, but significant additional testing to check correctness. Closes #37
Users should define their own semantics for comparing timecodes that have different framerates, and now they're forced to. Use `NotImplemented` for undefined comparisons to unknown types to allow other classes...
This format is used in some Film and TV contexts, but is not supported currently. The following throws an error; ``` Python 3.9.16 (main, Aug 13 2024, 14:41:47) [GCC 8.5.0...