Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HandBrake

install

# Arch
sudo pacman -S handbrake handbrake-cli
# Windows 10
scoop install handbrake handbrake-cli

config

  • HandBrake → Preferences
    • General → Path to Media Player → Path → Browse → <player_app>
    • Output Files → Automatically name output files
      • Default Path → Browse → <save_to_path>
      • File Format → {source}.{preset}
      • Change case to Title Case (Off)
      • Replace underscores with a space (Off)

usage

# Encode video using Handbrake CLI with a preset
handbrakecli --preset-import-file <preset.json> --input "$1" --output "_handbrake.mp4"

reference