Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 851 Bytes

readme.md

File metadata and controls

23 lines (18 loc) · 851 Bytes

Handbrake Batch processing

  • 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

Install HandbrakeCLI

brew install handbrake

Useful: Path to Handbrake user presets

~/Library/Containers/fr.handbrake.HandBrake/Data/Library/Application\ Support/HandBrake/UserPresets.json