Add smith face 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 e240b48ded43e82dfdeecb05fb77af0c67af6c6e DIR parent d2eb18b836843487cd55b5aa30d64a1abc117324 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Mon, 1 Aug 2022 20:56:18 +0200 Add smith face effect. 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 @@ -866,6 +866,7 @@ case "${text}" in "${botname}, please sexify #"*|\ "${botname}, please slavify #"*|\ "${botname}, please slowdown #"*|\ +"${botname}, please smith #"*|\ "${botname}, please speedup #"*|\ "${botname}, please techno #"*|\ "${botname}, please technodrugs #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -145,6 +145,8 @@ process_filter() { $ffmpeg_common -i "$2" \ -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" \ "$3" </dev/null;; + smith) + replace_face "${mediadir}/smith.png" "$2" "$3";; speedup) $ffmpeg_common -i "$2" \ -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" \