summaryrefslogtreecommitdiff
path: root/video/rectape
diff options
context:
space:
mode:
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"