added option to display default CRF in help.

This commit is contained in:
Luke 2020-07-11 11:49:19 -07:00
parent 5a18094377
commit a3817c90fb

View file

@ -5,7 +5,7 @@ set -o errexit
################################################################################ ################################################################################
# burnSubs # burnSubs
# version 0.11.2 # version 0.11.3
################# #################
# Wishlist: # Wishlist:
# queue encodes # queue encodes
@ -17,6 +17,8 @@ set -o errexit
# automatically select JPN audio if more than one audio channel found. # automatically select JPN audio if more than one audio channel found.
################################################################################ ################################################################################
DEFAULTS_OPTS_CRF=20
function machineSetup() { function machineSetup() {
# Default setup # Default setup
export FF_ENC="libx264" export FF_ENC="libx264"
@ -24,7 +26,7 @@ function machineSetup() {
export FILT_PFX="" export FILT_PFX=""
export FILT_SFX="" export FILT_SFX=""
CRF=${OPTS_CRF:-23} CRF=${OPTS_CRF:-$DEFAULTS_OPTS_CRF}
export FF_STD="-preset myTranscoderPreset -crf $CRF -tune animation \ export FF_STD="-preset myTranscoderPreset -crf $CRF -tune animation \
-preset medium -movflags +faststart" -preset medium -movflags +faststart"
export FF_EXT="-profile:v high -level 4.0" export FF_EXT="-profile:v high -level 4.0"
@ -629,6 +631,7 @@ while true; do
-t <t> ffmpeg encoding time limit -t <t> ffmpeg encoding time limit
--crf <#> override CRF setting --crf <#> override CRF setting
default: $DEFAULTS_OPTS_CRF
--soft force software decode and encode --soft force software decode and encode
--psoft use software encoding (allow hardware decode when available) --psoft use software encoding (allow hardware decode when available)
--audiofix transcode audio --audiofix transcode audio