Default to 10bit/channel encoding.

This commit is contained in:
Tessa Nordgren 2016-06-28 12:17:35 -07:00
parent eb71b8380e
commit fd455342aa

4
dve
View File

@ -5,7 +5,7 @@ set -e
# defaults for all configuration values # defaults for all configuration values
ENC="ffmpeg" ENC="ffmpeg"
CRF=26 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 # This is to split out and copy attachment streams, like subtitles
# and fonts, so they only get copied once. # and fonts, so they only get copied once.
DATA_OPTS="-map 0 -c:s copy -c:t copy -c:d copy -vn -an" 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) q)
CRF="$OPTARG" 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) o)
OPTS="$OPTARG" OPTS="$OPTARG"