This shell script uses HandBrakeCLI and transcodes videos to equal and smaller resolutions including 4k (3840x2160), 1080p (1920x1080), and 720p (1280x720). The settings applied have been exported to the presets folder, and can be imported to Handbrake for use and adjustment.
plexify
may be installed using Homebrew.
- Run
brew tap alextall/tools
to tap my cask. - Then run
brew install plexify
.
- Install HandbrakeCLI.
- Install ffmpeg
- Optional: Install Hazel according to Noodlesoft's instructions.
Simply run plexify [File]
from the Terminal.
plexify
will accept just about any video you can find, but I recommend using MakeMKV to rip full quality .mkv files of your DVDs and Blu-rays.
Note: Video transcoding takes a long time, especially if you are transcoding several files or high resolution files. I highly recommend doing this on a dedicated computer, over night, or at another time when you won't need to use your computer.
Set up Hazel to watch a folder and create a rule with the following criteria:
If ALL of the following conditions are met
KIND IS Movie
Do the following to the matched file or folder:
RUN SHELL SCRIPT
and choose plexify.
You can now place your video files into the folder watched by Hazel, and Hazel will automatically trigger plexify
to do its work.