From 19f018bac457fdeea0d0b6e5ccc806a6a4a001ad Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Mon, 17 Jun 2024 18:36:51 -0500 Subject: [PATCH] fix audio --- scripts/recc_encode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/recc_encode.sh b/scripts/recc_encode.sh index e45f665..13f76da 100755 --- a/scripts/recc_encode.sh +++ b/scripts/recc_encode.sh @@ -21,7 +21,7 @@ encode() { UNMAP=$(unmap_streams "$INPUT") echo "export UNMAP=\"$UNMAP\"" >> "$ENCODE_FILE" - AUDIO_FORMAT='-af "aformat=channel_layouts=7.1|5.1|stereo|mono" -c:a libopus' + AUDIO_FORMAT='-af aformat=channel_layouts=7.1|5.1|stereo|mono -c:a libopus' echo "export AUDIO_FORMAT='$AUDIO_FORMAT'" >> "$ENCODE_FILE" AUDIO_BITRATE=$(get_bitrate_audio "$INPUT") @@ -51,7 +51,7 @@ encode() { NL=' \\\n\t' - echo -e ffmpeg -i \""$INPUT"\" -map 0 $UNMAP \ + echo -e ffmpeg -i \""$INPUT"\" -map 0 \$UNMAP \ \$AUDIO_FORMAT $NL \$AUDIO_BITRATE \ -metadata \"\$ADD_METADATA\" $NL \ \$FFMPEG_PARAMS -dolbyvision 1 -svtav1-params \