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"