From ef7c1605a027b52bbff1b01ea693b60f53fa3a71 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Thu, 8 May 2025 14:01:37 +0200 Subject: initial commit --- vhs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 vhs (limited to 'vhs') diff --git a/vhs b/vhs new file mode 100755 index 0000000..c9b0513 --- /dev/null +++ b/vhs @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Apply pseudo-VHS filter to a video file +# Run combineVideo.sh before this, if video uses metadata to get all parts + +mkdir ../VHS/ + +for i in *; do + ffmpeg -i "$i" -vf convolution="-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2:-2 -1 0 -1 1 1 0 1 2",setdar="4/3",scale="768x576" -vcodec libx264 -vb 1150k -crf 24 ../VHS/"${i%.*}".mkv +done; + + -- cgit v1.2.3