summaryrefslogtreecommitdiffstats
path: root/.local/bin/scuff
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-01-14 10:33:04 -0600
committermsglm <msglm@techchud.xyz>2023-01-14 10:33:04 -0600
commit0d05ef1e12314985988e567ac22a179d0f646899 (patch)
treede702ad5f7550a27a6fb982e617363ccaca4fecf /.local/bin/scuff
downloadmsglm-dotfiles-0d05ef1e12314985988e567ac22a179d0f646899.tar.gz
msglm-dotfiles-0d05ef1e12314985988e567ac22a179d0f646899.tar.bz2
msglm-dotfiles-0d05ef1e12314985988e567ac22a179d0f646899.zip
Inital Commit
Diffstat (limited to '.local/bin/scuff')
-rwxr-xr-x.local/bin/scuff23
1 files changed, 23 insertions, 0 deletions
diff --git a/.local/bin/scuff b/.local/bin/scuff
new file mode 100755
index 0000000..716ac9c
--- /dev/null
+++ b/.local/bin/scuff
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+#Description: Takes in a video's location as parameter one. Parameter two is the base of the path that several videos created by this program will be outputted to. The outputted videos are scuffed or otherwise degrated in quality to a comedic degree.
+
+#Axioms:
+
+#Dependencies: https://packages.debian.org/sid/ffmpeg
+
+
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "volume=30dB,treble=g=70,volume=-25dB" -deadline best "$2-true-scuffed.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "treble=g=70" -deadline best "$2-no-amplify.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "volume=30dB,volume=-25dB" -deadline best "$2-no-treble.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -deadline best "$2-no-audio-scuff.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "volume=30dB,treble=g=70,volume=-25dB" -deadline best "$2-no-audio-compress-true-scuffed.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "treble=g=70" -deadline best "$2-no-audio-compress-no-amplify.webm"
+ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "volume=30dB,volume=-25dB" -deadline best "$2-no-audio-compress-no-treble.webm"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "volume=30dB,treble=g=70,volume=-25dB" -deadline best "$2-true-scuffed.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "treble=g=70" -deadline best "$2-no-amplify.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -filter:a "volume=30dB,volume=-25dB" -deadline best "$2-no-treble.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -b:a 500 -deadline best "$2-no-audio-scuff.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "volume=30dB,treble=g=70,volume=-25dB" -deadline best "$2-no-audio-compress-true-scuffed.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "treble=g=70" -deadline best "$2-no-audio-compress-no-amplify.ogg"
+#ffmpeg -i "$1" -vf scale=144:-1,fps=fps=5 -c:v libvpx -c:a libopus -b:v 1k -filter:a "volume=30dB,volume=-25dB" -deadline best "$2-no-audio-compress-no-treble.ogg"