- Python script to batch process videos using HandbrakeCLI.
- Used for optimizing and standardizing static assets for web. Ensures consistent output format and quality across assets.
- Great for sanitizing files coming from multiple sources.
- Supports presets. Tune your preset using the Handbrake GUI. Then pass the preset file path to this script.
- Similar to (python-image-optimization)[https://github.com/a7u7a/python-image-optimization]
- Usage examples in
process_files.example.sh
- Tested in macOS
- To-do:
- Multiple threads
brew install handbrake
~/Library/Containers/fr.handbrake.HandBrake/Data/Library/Application\ Support/HandBrake/UserPresets.json