Skip to content

Instantly share code, notes, and snippets.

@Ashex
Created December 7, 2017 18:37
Show Gist options
  • Save Ashex/7db8effec89512c149ec121786af823a to your computer and use it in GitHub Desktop.
Save Ashex/7db8effec89512c149ec121786af823a to your computer and use it in GitHub Desktop.
Pass all videos found under a directory with Handbrake
find /videos -name "*.mkv" -exec bash -c '~/temp/HandBrake-1.0.7/build/HandBrakeCLI -Z "Android 576p25" --input "{}" --output "/out/$(basename {}).mp4" --two-pass --turbo' \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment