#! /bin/sh
+export LC_ALL=C
+
base=$(dirname $0)
. "${base}/md5.sh"
}
run(){
+ test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
$target_exec $target_path/"$@"
}
ffmpeg(){
- $target_exec $target_path/ffmpeg -v 0 "$@"
+ run ffmpeg -v 0 "$@"
}
framecrc(){
mkdir -p "$outdir"
+exec 3>&2
$command > "$outfile" 2>$errfile
err=$?