this post was submitted on 25 Jul 2023
19 points (100.0% liked)

Free and Open Source Software

17915 readers
38 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I have a fairly large music collection, which is 9.9 GB in size. It's mainly made up of MP3 files, with some OGG Vorbis files and a handful of WAV and WMA files. I would like to convert the entire library to AAC (or a better format, if there is one) in order to reduce the size of my collection by a considerable amount.

My library is organised using this folder structure:

~/Music/{Artist}/{Album}/{Track}

Can anyone recommend a GUI tool or shellscript which would recursively convert the files, map across the metadata, and dump the files into a different folder with the same directory structure?

EDIT: I have used a script to convert everything to Opus. Problem solved, just working out the kinks now.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

If you are a Mac users (which I am assuming yes based on your preference toward AAC), the program Pine Player does an excellent job with batch conversion. Otherwise FFMPEG is probably acceptable as well.

[–] [email protected] 2 points 1 year ago (1 children)

Thanks, but I'm an openSUSE user. I was considering AAC because of a recommendation from MakeUseOf or some other tech news website.

[–] [email protected] 2 points 1 year ago

If you have access to a Mac, use the Apple AAC encoder. It will give you better results than libfdk_aac, which itself is much better than the ffmpeg built-in aac encoder.