You must install ffmpeg to use this project
Install watchdog and python-magic with pip: pip install watchdog python-magic
Install lib-magic
Windows:
pip install python-magic-bin
Linux:
sudo apt-get install libmagic1
OSX:
- When using Homebrew:
brew install libmagic
- When using macports:
port install file
In main.py
add the path to the ffpmeg binary overwriting the ffmpeg_path
variable (if ffmpeg is not already an evironment variable).
You can optionally change the directories used. If you do not change them then they will be created in the current working directory of the script.
Drop any video files into the input directory to be transcoded to the x264 codec. The transcoded files will appear in the output directory once completed and will delete the original.