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"