URI: 
       Use mkv as intermediate format for deface. - 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 308176fa1d372ec88a2f539fee2941b1dc958c58
   DIR parent 84d25dd35594a5eebcbf5ec190b6c12a821c3723
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sun, 31 Jul 2022 14:23:56 +0200
       
       Use mkv as intermediate format for deface.
       
       Diffstat:
         M ffmpeg-effect                       |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/ffmpeg-effect b/ffmpeg-effect
       @@ -67,11 +67,12 @@ replace_face() {
                input="$2"
                output="$3"
        
       -        ext="$(printf '%s' "$input" | awk -F. '{print $NF}')"
       -        tmp=/tmp/replace_face_$$.$ext
       +        #ext="$(printf '%s' "$input" | awk -F. '{print $NF}')"
       +        #tmp=/tmp/replace_face_$$.$ext
       +        tmp="/tmp/replace_face_$$.mkv"
        
                $HOME/.local/bin/deface "$input" --replacewith img \
       -                --replaceimg "$face_replacement" -o "$tmp"
       +                --replaceimg "$face_replacement" -o "$tmp" >/dev/null
                if has_audio "$input";
                then
                        replace_audio "$input" "$tmp" "$output"