diff options
Diffstat (limited to '.local/bin/scuff')
-rwxr-xr-x | .local/bin/scuff | 23 |
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" |