add imam effect - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 3686b1fd9c49525c66e42a42764ca670643c0d26
(DIR) parent e440a0915a91e9db278224473ded05382f937def
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 4 Nov 2021 20:47:06 +0100
add imam effect
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M annna-message-common | 1 +
M ffmpeg-effect | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -795,6 +795,7 @@ case "${text}" in
"${botname}, please techno #"*|\
"${botname}, please thin #"*|\
"${botname}, please torture #"*|\
+"${botname}, please imam #"*|\
"${botname}, please widen #"*|\
"${botname}, please ww1 #"*)
hashtag="$(printf "%s\n" "${text}" | sed 's/.*#//; s/ .*//' )"
(DIR) diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -123,6 +123,8 @@ process_filter() {
"$3" </dev/null;;
torture)
side_by_side "${mediadir}/clockworkorange.mkv" "$2" "$3";;
+ imam)
+ mix_audio "${mediadir}/imam.mp3" "$2" "$3";;
wide|widen)
$ffmpeg_common -i "$2" \
-vf "scale=iw*4:ih,crop=iw/4:ih:iw/4:ih,setsar=1" \