This tool allows to recover the timestamps of each frame in a video in milliseconds. It also help to convert a frame to a time in milliseconds and vice-versa.
pip install VideoTimestamps
See the example file.
- Run:
./build_dependencies.sh - Run:
export PKG_CONFIG_PATH="$(pwd)/build_dependencies/usr/local/lib/pkgconfig" - Run
python -m buildto create a wheel. To perform an editable install, first runpip install meson meson-pythonand thenpip install --no-build-isolation --editable .
- In MSYS2 (any environment), run
./build_dependencies.sh - In Windows CMD, run
C:\msys64\usr\bin\env.exe MSYSTEM=CLANG64 MSYS2_PATH_TYPE=inherit /usr/bin/bash -l(replace the MSYSTEM value with the one you used in the first step) - Run
export PKG_CONFIG_PATH="$(cygpath -w "$(pwd)/build_dependencies/usr/local/lib/pkgconfig")" - Repeat step 3 from the Unix section. Verify that
pythonrefers to your Windows installation, not the MSYS2 one, by runningwhich python. If it points to the MSYS2 Python, use the absolute path to your Windows Python installation instead.