add techno filter - 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 67da7afdc7b272b136032f637f425e6546b1844e
(DIR) parent 834e1418f1c6d87a5ae6fe240b8f70f5b20b044b
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 1 Sep 2021 13:37:38 +0200
add techno filter
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
@@ -777,6 +777,7 @@ case "${text}" in
"${botname}, please sexify #"*|\
"${botname}, please slowdown #"*|\
"${botname}, please speedup #"*|\
+"${botname}, please techno #"*|\
"${botname}, please thin #"*|\
"${botname}, please torture #"*|\
"${botname}, please widen #"*|\
(DIR) diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -105,6 +105,8 @@ process_filter() {
$ffmpeg_common -i "$2" \
-filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" \
"$3" </dev/null;;
+ techno)
+ replace_audio "${mediadir}/techno.mp3" "$2" "$3";;
thin)
$ffmpeg_common -i "$2" \
-vf "scale=iw/4:ih,setsar=1" \