Last active
July 28, 2018 07:50
-
-
Save jamesfdickinson/bc0cf92812a837c34ca91ded091cec41 to your computer and use it in GitHub Desktop.
HandbreakCLI - PowerShell script to copy/rip each chapter to a file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ($chapter=1; $chapter -le 30; $chapter++) { | |
&".\HandBrakeCLI.exe" --input H:\ --chapters $chapter --preset 'Fast 720p30' --optimize --output "Primer-IntroToMath-$($chapter.ToString("00")).mp4" | |
}$ | |
#.\HandBrakeCLI.exe --input H:\ --preset 'Fast 720p30' --optimize --output "Primer-IntroToMath-All.mp4" | |
#https://handbrake.fr/docs/en/latest/cli/command-line-reference.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment