Redirect deface to /dev/null. - 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 cce8587a0f1e93efe09b617a44406ee1e47b6a39 DIR parent f9aefeb7be5c25b962bb25fb9ed134d6f795cbae HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 31 Jul 2022 15:04:21 +0200 Redirect deface to /dev/null. Diffstat: M blender-effect | 3 ++- M ffmpeg-effect | 2 +- M modules/markov_tech/markov | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) --- DIR diff --git a/blender-effect b/blender-effect @@ -13,7 +13,7 @@ shift 2 BLENDER=blender-3.2 BLEND_DIR="$(dirname "$0")/modules/blender" -IMAGE_DIR=/bitreich/gopher/memecache/3d +IMAGE_DIR=/br/gopher/memecache/3d # turn "key1=value key2=value key3=value" into variables used by blender-effect.py for x in "$@" @@ -22,6 +22,7 @@ do done ${BLENDER} --background \ + -b \ "${BLEND_DIR}/${NAME}.blend" \ --python "${BLEND_DIR}/effect.py" \ --render-output "${IMAGE_DIR}/${NAME}." \ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -72,7 +72,7 @@ replace_face() { tmp="/tmp/replace_face_$$.mkv" $HOME/.local/bin/deface "$input" --replacewith img \ - --replaceimg "$face_replacement" -o "$tmp" >/dev/null + --replaceimg "$face_replacement" -o "$tmp" >/dev/null 2>&1 if has_audio "$input"; then replace_audio "$input" "$tmp" "$output" DIR diff --git a/modules/markov_tech/markov b/modules/markov_tech/markov @@ -1,6 +1,6 @@ #!/bin/sh -BASE="/home/annna/bin/modules/markov_tech" +BASE="$HOME/bin/modules/markov_tech" TECH="${BASE}/techs" ADJ="${BASE}/adjectives"