summaryrefslogtreecommitdiff
path: root/transcode.sh
blob: 941d7cb5eb24645b44067123b1bfb9884d3fe392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

for INPUT in "$@"
do
	echo "$INPUT"

	HandBrakeCLI \
		-x threads=16 \
		--preset-import-file ~/presets.json \
		--preset "Adam's DVD" \
		--input "$INPUT" \
		--output /mnt/out/"${INPUT##*/}"
done