summaryrefslogtreecommitdiff
path: root/vhs
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-05-08 14:01:37 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-05-08 14:01:37 +0200
commitef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch)
tree1089334258aefbd459d18cf6968e78f1194739b0 /vhs
initial commit
Diffstat (limited to 'vhs')
-rwxr-xr-xvhs12
1 files changed, 12 insertions, 0 deletions
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;
+
+