From b6db325f92380eb4f4869d51c23313ac5d498d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arvis=20Skr=C4=93j=C4=81ns?= Date: Mon, 26 Feb 2018 00:29:00 +0200 Subject: [PATCH] Update resample_all_audio.sh --- resample_all_audio.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resample_all_audio.sh b/resample_all_audio.sh index b53b9f2..2197171 100644 --- a/resample_all_audio.sh +++ b/resample_all_audio.sh @@ -1,6 +1,6 @@ #!/bin/bash ## -#Resamples audio and adds compensation where needed. Useful if on normal concat audio goes out of sync. +#Resamples audio to 48000 stereo and adds compensation where needed. Useful if on normal concat audio goes out of sync. ## ##CONFIG - START converted_video_path="videos/converted/" @@ -11,7 +11,6 @@ do base_filename=$(basename $file) -ffmpeg -i $file -c:v copy -c:a aac -af "aresample=async=1000" "${converted_video_path}resampled_${base_filename}" -hide_banner +ffmpeg -i $file -c:v copy -c:a aac -ar 48000 -ac 2 -af "aresample=async=1000" "${converted_video_path}resampled_${base_filename}" -hide_banner done -