summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-09-02 10:30:25 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-09-02 10:30:25 -0400
commita80c468ec5fbc48c34f502ef5546e6a85edcb1f6 (patch)
treedd16fca46bada696c5205e5a0d1ef0a04d3f59ea
parent102fb750121d95c3a8296a1da6cf5c29487d69bc (diff)
downloadhtml5ks-a80c468ec5fbc48c34f502ef5546e6a85edcb1f6.tar.xz
html5ks-a80c468ec5fbc48c34f502ef5546e6a85edcb1f6.zip
vencode.sh: fix overwriting
-rwxr-xr-xvencode.sh3
1 files changed, 1 insertions, 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
-