diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-10-11 15:08:51 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-10-11 15:08:51 -0500 |
commit | 2cf3ea2f828f6da07adff92a7dc5bce6069620ab (patch) | |
tree | 213dabd2d9301d3930f47f2a03c901dfbb100297 /video/rectapevaapi | |
parent | 551e1c638a6a4ff2130b3c374774f6006b28467d (diff) | |
download | scripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.tar.xz scripts-2cf3ea2f828f6da07adff92a7dc5bce6069620ab.zip |
sinking
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" |