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

Free and Open Source Software

17953 readers
7 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
19
submitted 1 year ago* (last edited 1 year ago) by hellfire103@sopuli.xyz to c/foss
 

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
[–] aleph@lemm.ee 4 points 1 year ago* (last edited 1 year ago) (2 children)

If I were you, I would stick to streaming in that case.

However, if you're dead set on storing files locally and there's no other option but to transcode, then use 128kbps Opus instead of AAC - assuming that iPhones support it (I haven't checked). It's a lot more efficient.

A good converter program to use is fre:ac but don't ask me for an iOS only app because I'm not an Apple guy at all.

[–] mondul 3 points 1 year ago

Doesn’t support it directly, I can’t add opus files to the iTunes library, so I had to use VLC for them, but it’s not designed to be a music player for the iPhone and the music stops after playing a couple of songs with the screen off

[–] hellfire103@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago)

The app I'm using on my iPhone (foobar2000) supports OGG Opus. ~However, decoding takes about a second, resulting in a noticeable gap between songs.~

EDIT: It seems that HydrogenAudio have fixed the Opus decoding in foobar2000 Mobile.