blob: c9b0513c0cc1d74810ce1244adfe2284db1ec329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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;
|