How to convert mp3 to aac for the Nintendo DSi under Linux
Recently got a Nintendo DSi for my child and one of the first things she asked was for her music to be copied there.
Since the device does not read mp3 files, we had to get them converted to aac, despite the fact that they have to have the m4a extension.
ffmpeg does a great job for converting several file formats, so after some googling I got this one line to convert all the stuff in one folder:
for f in *.mp3; do echo $f ; ffmpeg -i "$f" -acodec aac -ab 256k "${f%mp3}m4a" 2>/dev/null ; done
And it works like a charm
ShareThis
Why such a large bitrate? I bet 160k will be just fine for DSi’s audio capabilities
So I though, but it makes a *huge* difference if I use a lower bit rate. Maybe it was just the files I used to test.
On the other hand, the DSi is not that bad when it comes to sound, trust me. And you can connect headphones too, so a high bit rate does make sense, imho.
160kbps is a pretty regular bitrate. A lot of audio files out there have this bitrate. For me, it’s the minimum value for an audio file and 320kbps is the recommended (although I prefer flac, despite the huge space it needs)
Hey… is that a bash script or another language?