diff options
Diffstat (limited to '.old/rectapevaapi')
-rwxr-xr-x | .old/rectapevaapi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.old/rectapevaapi b/.old/rectapevaapi new file mode 100755 index 0000000..91c0709 --- /dev/null +++ b/.old/rectapevaapi @@ -0,0 +1,13 @@ +#!/bin/sh +[ -z "$1" ] && $0 untitled_$(ls | wc -l) + +for mod in blackmagic blackmagic-io; do doas modprobe $mod; done +doas rc-service DesktopVideoHelper start + +ffmpeg -hwaccel auto -vaapi_device /dev/dri/renderD128 \ + -f decklink -format_code ntsc -i "Intensity Pro" \ + -c:v hevc_vaapi \ + -vf "yadif,format=nv12,hwupload" \ + -c:a libopus -b:a 384k \ + -metadata "title"="$1$title" \ + "$1$title.mkv" |