From a04c277e83124736ec23a175f29b334c206e6012 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 31 Aug 2015 13:29:43 -0300 Subject: [PATCH] minor fixes --- dve | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dve b/dve index d8951d9..c2276e7 100755 --- a/dve +++ b/dve @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e set -e @@ -8,7 +8,7 @@ OPTS="-c:v libx265 -preset fast -x265-params crf=24 -c:a libvorbis -aq 5 -c:s co SUFFIX="_new.mkv" SERVERS=":" LEN=60 -OUTDIR="$HOME/.dve" +OUTDIR="/tmp/.dve" #ram VERBOSE="error" # override defaults in a ~/.dverc file if [ -f ~/.dverc ]; then @@ -89,13 +89,11 @@ if [[ "$1" == *".AVI" || "$1" == *".avi" ]]; then else $ENC -i "$1" -map 0 -codec copy -f segment -segment_time $LEN -segment_format matroska -v ${VERBOSE} "${OUTDIR}/chunk-%03d.orig" fi - CWD=`pwd` cd "$OUTDIR" echo "Running parallel encoding jobs" -PAR_OPTS="--gnu -j 1 -S ${SERVERS} --eta --retries 2 --nice 10" -#PAR_OPTS="$PAR_OPTS --workdir ... --trc {.}.enc" +PAR_OPTS="--no-notice --gnu -j 1 -S ${SERVERS} --eta --retries 2 --nice 10" PAR_OPTS="$PAR_OPTS --workdir ... --transfer --return {.}.enc" ENC_OPTS="-y -v ${VERBOSE} -i {} ${OPTS} -f matroska {.}.enc"