From fd455342aa5058a63f869117901ce9af79dd8696 Mon Sep 17 00:00:00 2001 From: Tessa Nordgren Date: Tue, 28 Jun 2016 12:17:35 -0700 Subject: [PATCH] Default to 10bit/channel encoding. --- dve | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dve b/dve index 9ef449f..4baf309 100755 --- a/dve +++ b/dve @@ -5,7 +5,7 @@ set -e # defaults for all configuration values ENC="ffmpeg" CRF=26 -OPTS="-c:v libx265 -preset fast -x265-params crf=${CRF}:aq-mode=3 -c:a libvorbis -aq 5" +OPTS="-c:v libx265 -pix_fmt yuv420p10le -preset fast -x265-params crf=${CRF}:aq-mode=3 -c:a libvorbis -aq 5" # This is to split out and copy attachment streams, like subtitles # and fonts, so they only get copied once. DATA_OPTS="-map 0 -c:s copy -c:t copy -c:d copy -vn -an" @@ -69,7 +69,7 @@ while getopts “hl:t:o:s:q:v” OPTION; do ;; q) CRF="$OPTARG" - OPTS="-c:v libx265 -preset fast -x265-params crf=${CRF}:aq-mode=3 -c:a libvorbis -aq 5" + OPTS="-c:v libx265 -pix_fmt yuv420p10le -preset fast -x265-params crf=${CRF}:aq-mode=3 -c:a libvorbis -aq 5" ;; o) OPTS="$OPTARG"