From 90460c5839e96f51699f668753c92dfa6c82bdfc Mon Sep 17 00:00:00 2001 From: chickenflyshigh Date: Mon, 8 Dec 2025 17:02:48 +1100 Subject: [PATCH] fixed the processing of aac files into mp4 containers --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index b7c3676..273d56e 100755 --- a/main.sh +++ b/main.sh @@ -41,7 +41,7 @@ fi echo "Wrapping aac files in mp4 containers. Placing it in the same directory as the original file." -fd '' -e 'aac' "$d" | parallel -n 1 -P $(nproc) 'filename={} && ffmpeg -i ${filename: -4}.aac -c:a copy ${filename: -4}.mp4' +fd '' -e 'aac' "$d" | parallel -n 1 -P $(nproc) 'filename={} && ffmpeg -i ${filename: 0:-4}.aac -c:a copy ${filename: 0:-4}.mp4' echo "aac to mp4 conversion complete. Proceeding to create folders under $d/exif_media." mkdir -p "$O/exif_media/"{audio,photo,video}