/x264TranscodeWatchdog

monitor a directory and transcode any files dropped inside to x264 codec

Primary LanguagePythonMIT LicenseMIT

x264TranscodeWatchdog

Dependencies

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

Setup

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.

Usage

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.