Update 2023-03-28 18:19 OpenBSD/amd64
This commit is contained in:
@@ -26,9 +26,10 @@ set -x
|
||||
ffmpeg -y -loglevel error -hide_banner ${_ffmpeg_param} "${_vidfile}"
|
||||
set +x
|
||||
|
||||
# with audio?
|
||||
[ "$1" == "-a" ] \
|
||||
&& _audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
|
||||
# # with audio?
|
||||
# [ "$1" == "-a" ] \
|
||||
# && _audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
|
||||
_audio_encode_param="-filter_complex amix=inputs=2,stereotools=phase=5,compand=attacks=0:points=-80/-115|-35.1/-80|-35/-35|20/20 -c:a aac -b:a 160k"
|
||||
|
||||
printf 'Encoding...\n'
|
||||
set -x
|
||||
|
||||
Reference in New Issue
Block a user