mirror of
https://github.com/chickenflyshigh/meta-exif.git
synced 2026-02-20 10:28:19 +11:00
fixed the processing of aac files into mp4 containers
This commit is contained in:
parent
ab1bb83b7d
commit
90460c5839
2
main.sh
2
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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user