URI: 
       ffmpeg-effect: allow environment config of paths and options - 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 8a4004f804a07bbf058476c32eb33c4afe9b07b4
   DIR parent 4347f0d97c041d1f8c165c0f30867bffbebb9c54
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Tue, 22 Jun 2021 22:17:43 +0200
       
       ffmpeg-effect: allow environment config of paths and options
       
       also clean up comments
       
       Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
       
       Diffstat:
         M ffmpeg-effect                       |      10 ++++------
       
       1 file changed, 4 insertions(+), 6 deletions(-)
       ---
   DIR diff --git a/ffmpeg-effect b/ffmpeg-effect
       @@ -1,12 +1,11 @@
        #!/bin/sh
        # modify a video input file with an effect.
       -# output is saved as "./filter-filename.mkv".
       -# requirements: ffmpeg.
       -
       -ffmpeg_common="ffmpeg -n -loglevel error"
       -mediadir="/home/annna/bin/modules/filter-media"
       +# requirements: ffmpeg, ffprobe.
        
       +ffmpeg_common="${FFMPEG_EFFECT_COMMON:-ffmpeg -n -loglevel error}"
       +mediadir="${FFMPEG_EFFECT_MEDIA_DIR:-/home/annna/bin/modules/filter-media}"
        repeats=5
       +
        usage() {
                printf 'usage: %s [-n REPEATS] FILTER infile outfile\n' "${0##*/}" 1>&2
                printf 'where FILTER is one of: wide, thin, speedup, ' 1>&2
       @@ -119,4 +118,3 @@ if process_filter "$1" "$2" "$3"; then
        else
                exit $?
        fi
       -