diff options
Diffstat (limited to '.old/rectapehevc')
-rwxr-xr-x | .old/rectapehevc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.old/rectapehevc b/.old/rectapehevc new file mode 100755 index 0000000..c44d6d9 --- /dev/null +++ b/.old/rectapehevc @@ -0,0 +1,15 @@ +#!/bin/sh +if [ -z "$1" ]; then $0 untitled_$(ls | wc -l); exit; fi + +for mod in blackmagic blackmagic-io; do doas modprobe $mod; done +#doas rc-service DesktopVideoHelper start + +ffmpeg \ + -f decklink -format_code ntsc -i "Intensity Pro" \ + -c:v libx265 \ + -qmin 6 -qmax 18 -qdiff 4 \ + -vf yadif \ + -c:a flac \ + -metadata "title"="$1" \ + -metadata "comment=tapes.tjkeller.xyz" \ + "$1.mkv" |