summaryrefslogtreecommitdiff
path: root/video/rectape
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/rectape
parent551e1c638a6a4ff2130b3c374774f6006b28467d (diff)
downloadscripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.tar.xz
scripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.zip
sinking
Diffstat (limited to 'video/rectape')
-rwxr-xr-xvideo/rectape15
1 files changed, 15 insertions, 0 deletions
diff --git a/video/rectape b/video/rectape
new file mode 100755
index 0000000..f6e7a01
--- /dev/null
+++ b/video/rectape
@@ -0,0 +1,15 @@
+#!/bin/sh
+if [ -z "$1" ]; then
+ $1=untitled_$(ls | wc -l)
+fi
+
+# All hevc_amf ffmpeg options: $ ffmpeg -h encoder=hevc_amf
+
+ffmpeg \
+-f decklink -format_code ntsc -i "Intensity Pro" \
+-c:v libx264 \
+-qmin 6 -qmax 26 -qdiff 4 \
+-vf yadif \
+-c:a aac -b:a 384k \
+-metadata "title"="$1" \
+"$1.mkv"