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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Converting from one lossy codec another isn't generally recommended, plus you aren't likely to save that much disk space by converting to AAC.
10 GB is actually pretty small for a local music collection, quite honestly. If I were you, I would try to expand your storage capacity instead of wasting time, and potentially audio quality, by transcoding.
I have an iPhone. The storage I have is all I've got.
Don't buy iPhone
You need ffmpeg
Read this for the exact command
You can use the find command (in console) to list all mp3 files, these you can pipe into ffmpeg.
Just ask ChatGPT to write the shell script for you
Already did that. Thanks though.
By the way, owning an iPhone is not my choice. I'm 17 and still living with my parents, and my dad is a huge Apple fanboy. Ideally, I'd have either a Pixel with DivestOS, an Xperia with SailfishOS, a PinePhone with PostMarketOS, or an old Nokia 3210; but for now I'm stuck with my second hand iPhone SE.
You could consider running a plex server and using Plexamp to stream from that to your phone. It’s free as of a few days ago!
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. It's a lot more efficient (assuming that iPhones support it - I haven't checked).
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.
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
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.