From ec030af1007c86b9330b1fbb48a8e806663ebcfb Mon Sep 17 00:00:00 2001 From: ivan-boikov Date: Tue, 7 Jun 2022 21:05:59 +0200 Subject: svp4 goodies --- scripts/.local/bin/svpman | 1 + scripts/.local/bin/to60fps | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 scripts/.local/bin/svpman (limited to 'scripts/.local') diff --git a/scripts/.local/bin/svpman b/scripts/.local/bin/svpman new file mode 120000 index 0000000..f9b3063 --- /dev/null +++ b/scripts/.local/bin/svpman @@ -0,0 +1 @@ +/home/ivan/soft/svp4/SVPManager \ No newline at end of file diff --git a/scripts/.local/bin/to60fps b/scripts/.local/bin/to60fps index 68ae6db..928a609 100755 --- a/scripts/.local/bin/to60fps +++ b/scripts/.local/bin/to60fps @@ -20,6 +20,9 @@ echo "Input file extension:" $ifext echo "Temporary full filename:" $tffname echo "Output full filename:" $offname +vsscript="$HOME/.local/share/SVP4/scripts/$(ls $HOME/.local/share/SVP4/scripts)" +# --vf=vapoursynth=$(echo $HOME)/.local/share/SVP4/scripts/ffff.py \ + mpv \ "$iffname" \ --o="$tffname" \ @@ -29,7 +32,7 @@ mpv \ --input-ipc-server=/tmp/mpvencodesocket \ --input-media-keys=no \ --no-msg-color \ - --vf=vapoursynth=$(echo $HOME)/.local/share/SVP4/scripts/ffff.py \ + --vf=vapoursynth="$vsscript" \ --of=matroska \ --ovc=libx264 \ --ovcopts=crf=$quality,preset=slow,threads=$threads -- cgit v1.2.3