From bd84b86869a937bbda8d9189fa502abc56a67dff Mon Sep 17 00:00:00 2001 From: Graeme Humphries Date: Mon, 26 Aug 2013 16:08:51 -0700 Subject: [PATCH] Avoids unknown codec errors for #1, still need a real fix. --- dve | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dve b/dve index ceb213e..06d96d4 100755 --- a/dve +++ b/dve @@ -22,7 +22,7 @@ OPTIONS: -h this help message. -c number of chunks to split input file into. (default=${CHUNKS}) -d do not copy encoder, assume it already exists remotely. - -e avconv binary to use. (default=${ENC}) + -e ffmpeg binary to use. (default=${ENC}) -l comma separated list of hosts to use to encode. (default=${SERVERS}) -m min length of individual video chunks, in seconds. (default=${MINLEN}) -o encoding options. (default=${OPTS}) @@ -138,7 +138,7 @@ done NUMSERVERS=`echo ${SERVERS} | sed -r 's/,/ /g' | wc -w` echo "Creating chunks to encode" -cat "$CHUNKFILE" | parallel --gnu --eta -j 1 $ENC -y -v ${VERBOSE} -fflags +genpts -i \"$1\" -ss {} -t ${TIMING[1]} -c copy -f matroska ${OUTDIR}/chunk-{}.orig +cat "$CHUNKFILE" | parallel --gnu --eta -j 1 $ENC -y -v ${VERBOSE} -fflags +genpts -i \"$1\" -ss {} -t ${TIMING[1]} -c:v copy -c:a copy -c:s copy -f matroska ${OUTDIR}/chunk-{}.orig CWD=`pwd` cd "$OUTDIR"