diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-02 10:30:25 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-09-02 10:30:25 -0400 |
commit | a80c468ec5fbc48c34f502ef5546e6a85edcb1f6 (patch) | |
tree | dd16fca46bada696c5205e5a0d1ef0a04d3f59ea | |
parent | 102fb750121d95c3a8296a1da6cf5c29487d69bc (diff) | |
download | html5ks-a80c468ec5fbc48c34f502ef5546e6a85edcb1f6.tar.xz html5ks-a80c468ec5fbc48c34f502ef5546e6a85edcb1f6.zip |
vencode.sh: fix overwriting
-rwxr-xr-x | vencode.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 - |