Download FFmpeg from their downloads page for your OS. If you're not sure how to do this, there are instructions for Windows and Mac.
To check that it is working, run ffmpeg --version
in powershell or terminal.
If you haven't done this before, Anaconda is a great choice.
If you are on Windows, use Anaconda Prompt (from the start menu) for the next steps.
In terminal or anaconda prompt:
pip install tqdm
You could also create a conda environment.
- Download the
extract_time.py
script and save it somewhere local. - You will need to edit the
folder_path
to match the location of your files. Note that on Windows, the file paths need to be escaped. SoC:\Path\to\files
should becomeC:\\Path\\to\\files
. - In terminal or anaconda prompt, navigate to the location of the
extract_time.py
script (you can usecd
to change directories) - Run the script with
python extract_time.py
- Data will be stored in
metadata.csv
in the same folder as you ran the script from.