add technodrugs effect - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 9e6d8bac80b4cd6fc263966d8a3dc364e2694ef6 | |
parent 641cb04c2fcb457bae448c107e9052bcffafc91f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 12 Nov 2021 22:03:56 +0100 | |
add technodrugs effect | |
like the techo effect, but with drugs | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 1 + | |
M ffmpeg-effect | 5 +++++ | |
2 files changed, 6 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -794,6 +794,7 @@ case "${text}" in | |
"${botname}, please slowdown #"*|\ | |
"${botname}, please speedup #"*|\ | |
"${botname}, please techno #"*|\ | |
+"${botname}, please technodrugs #"*|\ | |
"${botname}, please thin #"*|\ | |
"${botname}, please torture #"*|\ | |
"${botname}, please imam #"*|\ | |
diff --git a/ffmpeg-effect b/ffmpeg-effect | |
@@ -119,6 +119,11 @@ process_filter() { | |
"$3" </dev/null;; | |
techno) | |
replace_audio "${mediadir}/techno.mp3" "$2" "$3";; | |
+ technodrugs) | |
+ $ffmpeg_common -i "${mediadir}/techno.mp3" -i "$2" \ | |
+ -filter:v "tmix=frames=9:weights='0.2 0.4 0.6 … | |
+ -map 1:v:0 -map 0:a:0 -shortest \ | |
+ "$3" </dev/null;; | |
thin) | |
$ffmpeg_common -i "$2" \ | |
-vf "scale=iw/4:ih,setsar=1" \ |