Introduction
Introduction Statistics Contact Development Disclaimer Help
ffmpeg-effect: allow environment config of paths and options - annna - Annna th…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 8a4004f804a07bbf058476c32eb33c4afe9b07b4
parent 4347f0d97c041d1f8c165c0f30867bffbebb9c54
Author: Anders Damsgaard <[email protected]>
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 <[email protected]>
Diffstat:
M ffmpeg-effect | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
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
-
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.