diff options
Diffstat (limited to 'video/rectapevaapi')
-rwxr-xr-x | video/rectapevaapi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/video/rectapevaapi b/video/rectapevaapi new file mode 100755 index 0000000..16bd190 --- /dev/null +++ b/video/rectapevaapi @@ -0,0 +1,12 @@ +#!/bin/sh +if [ -z "$1" ]; then + title="untitled_$(ls | wc -l)" +fi + +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" |