ffmpeg-filter: add doomify effect - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 9aca31ca36e6ed00b14d4e28e4aa65cfc9ce80fd | |
parent c2ec94133640d6f4ee127e6219e4ba64bfe15710 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 14 Jun 2021 23:12:43 +0200 | |
ffmpeg-filter: add doomify effect | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 1 + | |
M ffmpeg-effect | 4 +++- | |
2 files changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -669,6 +669,7 @@ case "${text}" in | |
"${botname}, please loop #"*|\ | |
"${botname}, please bounce #"*|\ | |
"${botname}, please sexify #"*|\ | |
+"${botname}, please doomify #"*|\ | |
"${botname}, please scrollify #"*|\ | |
"${botname}, please sendtohell #"*|\ | |
"${botname}, please amsterdamify #"*) | |
diff --git a/ffmpeg-effect b/ffmpeg-effect | |
@@ -10,7 +10,7 @@ repeats=5 | |
usage() { | |
printf 'usage: %s [-n REPEATS] FILTER infile outfile\n' "${0##*/}" 1>&2 | |
printf 'where FILTER is one of: wide, thin, speedup, ' 1>&2 | |
- printf 'slowdown, reverse, loop, bounce, sexify, sendtohell, amsterdam… | |
+ printf 'slowdown, reverse, loop, bounce, sexify, doomify, sendtohell, … | |
printf 'For loop and bounce, option -n sets the number of repeats (def… | |
exit 1 | |
} | |
@@ -69,6 +69,8 @@ process_filter() { | |
"$3" </dev/null;; | |
sexify) | |
mix_audio "${mediadir}/careless_whisper.mp3" "$2" "$3"… | |
+ doomify) | |
+ mix_audio "${mediadir}/doom.mp3" "$2" "$3";; | |
scrollify) | |
mix_audio "${mediadir}/elder_scrolls.mp3" "$2" "$3";; | |
sendtohell|amsterdamify) |