summaryrefslogtreecommitdiff
path: root/transcode.sh
diff options
context:
space:
mode:
Diffstat (limited to 'transcode.sh')
-rwxr-xr-xtranscode.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/transcode.sh b/transcode.sh
new file mode 100755
index 0000000..941d7cb
--- /dev/null
+++ b/transcode.sh
@@ -0,0 +1,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