summaryrefslogtreecommitdiff
path: root/transcode.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2023-02-10 17:31:39 -0500
committerAdam T. Carpenter <atc@53hor.net>2023-02-10 17:31:39 -0500
commit1618f44c0c80414552663fb590859f65bd4bbffc (patch)
treed31c2f12752b645bf3f502d94acf6592d9dc1b77 /transcode.sh
parent3ec6dc8801b933c7d5bbf7fdca498d546c5d2f24 (diff)
downloadscripts-1618f44c0c80414552663fb590859f65bd4bbffc.tar.xz
scripts-1618f44c0c80414552663fb590859f65bd4bbffc.zip
feat: add image and video scripts, remove docking station scripts
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