mirror of
https://github.com/lrenaud/burnSubs.git
synced 2025-06-17 04:40:34 -07:00
Added deubg making the output verbose.
This commit is contained in:
parent
49fead9c6c
commit
2d05add839
1 changed files with 8 additions and 4 deletions
12
burnSubs
12
burnSubs
|
@ -5,7 +5,7 @@ set -o errexit
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# burnSubs
|
# burnSubs
|
||||||
# version 0.13.2
|
# version 0.13.3
|
||||||
#################
|
#################
|
||||||
# Wishlist:
|
# Wishlist:
|
||||||
# queue encodes
|
# queue encodes
|
||||||
|
@ -13,8 +13,6 @@ set -o errexit
|
||||||
# finish help flag
|
# finish help flag
|
||||||
# audio recode flag
|
# audio recode flag
|
||||||
#
|
#
|
||||||
# Changes
|
|
||||||
# automatically select JPN audio if more than one audio channel found.
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
DEFAULTS_OPTS_CRF=20
|
DEFAULTS_OPTS_CRF=20
|
||||||
|
@ -175,6 +173,7 @@ function doCleanup() {
|
||||||
echo "=> Cleaning up."
|
echo "=> Cleaning up."
|
||||||
rm -r "$TMP"
|
rm -r "$TMP"
|
||||||
else
|
else
|
||||||
|
set +x
|
||||||
echo "tmp dir: $TMP"
|
echo "tmp dir: $TMP"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -314,7 +313,7 @@ function setupAudioTranscode() {
|
||||||
if [[ "${OPTS_SURROUND_PRESERVE}" == false ]]; then
|
if [[ "${OPTS_SURROUND_PRESERVE}" == false ]]; then
|
||||||
# From https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg
|
# From https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg
|
||||||
# Nightmode Formula
|
# Nightmode Formula
|
||||||
FILT_AUDIO="-filter:a pan=stereo|FL<FC+0.30*FL+0.30*BL|FR<FC+0.30*FR+0.30*BR ${FILT_AUDIO}"
|
FILT_AUDIO="-filter:a pan=stereo|FL=FC+0.30*FL+0.30*BL|FR=FC+0.30*FR+0.30*BR ${FILT_AUDIO}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
FILT_AUDIO="-c:a copy"
|
FILT_AUDIO="-c:a copy"
|
||||||
|
@ -736,6 +735,11 @@ elif [[ ${OPTS_VERBOSITY} -eq 1 ]]; then
|
||||||
else # ie [[ ${OPTS_VERBOSITY} -ge 2 ]]; then
|
else # ie [[ ${OPTS_VERBOSITY} -ge 2 ]]; then
|
||||||
FF_VERBOSITY="-hide_banner"
|
FF_VERBOSITY="-hide_banner"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$OPTS_DEBUG" == "true" ]]; then
|
||||||
|
set -x
|
||||||
|
fi
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Configure the encoder based upon the hostname
|
# Configure the encoder based upon the hostname
|
||||||
machineSetup
|
machineSetup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue