mirror of
https://github.com/lrenaud/burnSubs.git
synced 2025-06-16 20:31:18 -07:00
added option to display default CRF in help.
This commit is contained in:
parent
464f3e31ca
commit
4dff106fdb
1 changed files with 5 additions and 2 deletions
7
burnSubs
7
burnSubs
|
@ -5,7 +5,7 @@ set -o errexit
|
|||
|
||||
################################################################################
|
||||
# burnSubs
|
||||
# version 0.11.2
|
||||
# version 0.11.3
|
||||
#################
|
||||
# Wishlist:
|
||||
# queue encodes
|
||||
|
@ -17,6 +17,8 @@ set -o errexit
|
|||
# automatically select JPN audio if more than one audio channel found.
|
||||
################################################################################
|
||||
|
||||
DEFAULTS_OPTS_CRF=20
|
||||
|
||||
function machineSetup() {
|
||||
# Default setup
|
||||
export FF_ENC="libx264"
|
||||
|
@ -24,7 +26,7 @@ function machineSetup() {
|
|||
export FILT_PFX=""
|
||||
export FILT_SFX=""
|
||||
|
||||
CRF=${OPTS_CRF:-23}
|
||||
CRF=${OPTS_CRF:-$DEFAULTS_OPTS_CRF}
|
||||
export FF_STD="-preset myTranscoderPreset -crf $CRF -tune animation \
|
||||
-preset medium -movflags +faststart"
|
||||
export FF_EXT="-profile:v high -level 4.0"
|
||||
|
@ -629,6 +631,7 @@ while true; do
|
|||
|
||||
-t <t> ffmpeg encoding time limit
|
||||
--crf <#> override CRF setting
|
||||
default: $DEFAULTS_OPTS_CRF
|
||||
--soft force software decode and encode
|
||||
--psoft use software encoding (allow hardware decode when available)
|
||||
--audiofix transcode audio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue