This is my first post on this forum and I'm not long a user of the software that is revolutionising my Mac productivity. A significant use of my iMac is to power through my BDs and DVDs, for which I use a mixture of MakeMKV, HandBrake and then a folder of services that are useful for batch tagging etc. that makes it all look pretty in iTunes and on the Apple TV.
However, I need some help with my HandBrake script that I have so far. HandBrakeCLI is in my /usr/bin folder and is running fine from the script. The issue is that I think there might be something wrong with the way I've labelled the directories to output to. If someone could give me a heads up why this wouldn't work or a solution, I'd be most grateful:
- Code: Select all
filename=$(basename $1)
filename=${filename%.*}
output_directory="/Users/Freddie/Movies/Blu-Ray Converter"
output_filenameHD="$output_directory/$filename (HD).m4v"
output_filenameSD="$output_directory/$filename (SD).m4v"
HandBrakeCLI -i "$1" -o $output_filenameHD -f mp4 -4 -m -e x264 -b 6000 -2 --cfr -E ca_aac -B 448 -6 5point1 -w 1920 -l 1080 --modulus 8 -s scan -F --subtitle-burned -N eng ; HandBrakeCLI -i "$1" -o $output_filenameSD -f mp4 -m -e x264 -b 1500 -2 --cfr -E ca_aac -B 160 -6 dpl2 -w 720 -l 576 --custom-anamorphic --display-width 1024 --modulus 8 -s scan -F --subtitle-burned -N eng
Best to you all