HandBrakeBatch icon indicating copy to clipboard operation
HandBrakeBatch copied to clipboard

Handbrake command

Open phathak opened this issue 9 years ago • 0 comments

Hello,

I'm looking to make a script with a basic for loop that iterates through a folder using user presets. Right now it seems to be bypassing the "--preset -Z" option when using a user preset. Would you be able to tell me what's wrong with this command? Since your app handles user presets pretty well, I thought you could share the way you do it.

Thank you

#!/bin/bash
for file in /Volumes/Medias/To_Compress/To_Do/*
do /Applications/HandBrake.app/Contents/MacOS/HandBrakeCLI -v -i "$file" -o ./Compressed/"$file".converted.mkv -Z "High Profile" ;
done

phathak avatar Oct 08 '16 00:10 phathak