diff options
Diffstat (limited to 'video/rectapevaapi')
-rwxr-xr-x | video/rectapevaapi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/video/rectapevaapi b/video/rectapevaapi new file mode 100755 index 0000000..4ddf868 --- /dev/null +++ b/video/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" |