add slavify effect - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 9d6ffea2426f6a4d9bbdb8e8e1d7d26423107e8d DIR parent 411eafa664b63b078d3bc816486fdcd3aff7671f HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 28 Feb 2022 22:07:36 +0100 add slavify 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 @@ -822,6 +822,7 @@ case "${text}" in "${botname}, please scrollify #"*|\ "${botname}, please sendtohell #"*|\ "${botname}, please sexify #"*|\ +"${botname}, please slavify #"*|\ "${botname}, please slowdown #"*|\ "${botname}, please speedup #"*|\ "${botname}, please techno #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -115,6 +115,8 @@ process_filter() { mix_audio_video "${mediadir}/hell.mkv" "$2" "$3" 1920 1080;; sexify) mix_audio "${mediadir}/careless_whisper.mp3" "$2" "$3";; + slavify) + replace_audio "${mediadir}/remove-kebab.opus" "$2" "$3";; slowdown) $ffmpeg_common -i "$2" \ -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" \