„gaboshlib/g_compress_audio.bashfunc“ ändern

This commit is contained in:
olli 2022-12-13 14:44:12 +01:00
parent 44b984860f
commit fc03a329f6

View File

@ -10,18 +10,18 @@ function g_compress_audio {
if egrep -q "HE-AAC.+64 kb" "$g_tmp"/audinfo
then
g_echo "Audio $g_aud bereits bearbeitet - Bearbeite nur Metadata/Tags"
g_audiosettings="-c:a copy"
g_audiosettings="-vn -c:a copy"
else
# Audio Mono/Stereo Codec?
if cat "$g_tmp"/audinfo | egrep -q "Stream.+mono"
then
g_echo "Bearbeite Mono Audiodatei $g_aud"
#g_audiosettings="-af loudnorm=I=-16:LRA=11 -ar 44100 -c:a libfdk_aac -profile:a aac_he -b:a 32k"
g_audiosettings="-ar 44100 -c:a libfdk_aac -profile:a aac_he -b:a 64k"
#g_audiosettings="-vn -af loudnorm=I=-16:LRA=11 -ar 44100 -c:a libfdk_aac -profile:a aac_he -b:a 32k"
g_audiosettings="-vn -ar 44100 -c:a libfdk_aac -profile:a aac_he -b:a 64k"
else
g_echo "Bearbeite Audiodatei $g_aud"
#g_audiosettings="-af loudnorm=I=-16:LRA=11 -ar 44100 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k"
g_audiosettings="-ar 44100 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 64k"
#g_audiosettings="-vn -af loudnorm=I=-16:LRA=11 -ar 44100 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 32k"
g_audiosettings="-vn -ar 44100 -ac 2 -c:a libfdk_aac -profile:a aac_he_v2 -b:a 64k"
fi
fi
# Tags/Metadata