diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
| commit | ef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch) | |
| tree | 1089334258aefbd459d18cf6968e78f1194739b0 /vhs | |
initial commit
Diffstat (limited to 'vhs')
| -rwxr-xr-x | vhs | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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; + + |
