summaryrefslogtreecommitdiff
path: root/video/transtape
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-10-11 15:08:51 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-10-11 15:08:51 -0500
commit2cf3ea2f828f6da07adff92a7dc5bce6069620ab (patch)
tree213dabd2d9301d3930f47f2a03c901dfbb100297 /video/transtape
parent551e1c638a6a4ff2130b3c374774f6006b28467d (diff)
downloadscripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.tar.xz
scripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.zip
sinking
Diffstat (limited to 'video/transtape')
-rwxr-xr-xvideo/transtape11
1 files changed, 11 insertions, 0 deletions
diff --git a/video/transtape b/video/transtape
new file mode 100755
index 0000000..a0eaaee
--- /dev/null
+++ b/video/transtape
@@ -0,0 +1,11 @@
+#!/bin/sh
+if [ -z "$1" ]; then
+ exit
+fi
+
+ffmpeg -hwaccel auto -vaapi_device /dev/dri/renderD128 \
+-i "$1" \
+-c:v hevc_vaapi \
+-vf "yadif,format=nv12,hwupload" \
+-metadata "title"="$1" \
+"$1as.mkv"