From a80c468ec5fbc48c34f502ef5546e6a85edcb1f6 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 2 Sep 2013 10:30:25 -0400 Subject: vencode.sh: fix overwriting --- vencode.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vencode.sh b/vencode.sh index aff9f4c..517ff8f 100755 --- a/vencode.sh +++ b/vencode.sh @@ -11,7 +11,7 @@ cd $(dirname $0)/www/dump/video vencode() { set -x - [[ -f $4 ]] || ${FFMPEG} -threads ${THREADS} -i "$1" -c:v "$2" $3 ${FFMPEG_FLAGS} "$4" + ${FFMPEG} -threads ${THREADS} -i "$1" -c:v "$2" $3 ${FFMPEG_FLAGS} "$4" } for f in *.mkv; do @@ -21,4 +21,3 @@ for f in *.mkv; do vencode $f libvpx "-crf 15 -b:v 1M -c:a copy" ${OUT}.webm vencode $f libtheora "-qscale:v 6 -c:a copy" ${OUT}.ogv done - -- cgit v1.2.3-70-g09d2