Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to mux AAC to play back on my Sony car stereo? (Read 4892 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to mux AAC to play back on my Sony car stereo?

Since pretty much all of my hardware supports mp3, I haven't yet made the transition to more efficient codecs nor do I see this happen soon since storage is getting cheaper every day. However, when I stumbled over this obscure German electro song on Vimeo I downloaded it and extracted the AAC audio track to test it on my Sony car stereo that is advertized as supporting MP3/AAC/WMA (crap)/Atrac3Plus (LOL!). I had tested one AAC song successfully years ago but I don't have this encode anymore and don't remember how I did it. The manual only reads:

- AAC tag is 126 characters.
- When naming an AAC file, be sure to add the file extension .m4a to the file name.

I've tried simply renaming the AAC and also muxing it into an mp4 renamed to m4a but both files just get skipped. Is it because of the format? Mediainfo reports:

Code: [Select]
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 4.33 MiB
Duration                                 : 3mn 48s
Overall bit rate mode                    : Variable
Overall bit rate                         : 159 Kbps

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 3mn 48s
Source duration                          : 3mn 48s
Bit rate mode                            : Variable
Bit rate                                 : 157 Kbps
Maximum bit rate                         : 163 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 4.28 MiB (99%)
Source stream size                       : 4.29 MiB (99%)
Language                                 : English


This file plays back on my PC in Winamp, iTunes and VLC. How do I make it run on my Sony (preferrably without transcoding)? Thx.

How to mux AAC to play back on my Sony car stereo?

Reply #1
The regular suggestion here is to ensure you have a copy first, then try foobar2000, load file into playlist, right click, Utilities, Rebuild MP4 stream.
Dynamic – the artist formerly known as DickD

How to mux AAC to play back on my Sony car stereo?

Reply #2
Gonna try this but the only option I get is "Optimize MP4 Layout" which "Puts tagging data at the beginning of specified MP4 files and strips away unused blocks". Is that what you mean by rebuilding or is there another plugin I have to install manually?

How to mux AAC to play back on my Sony car stereo?

Reply #3
Yes, that is what I meant. I've only recently reinstalled my PC and didn't have an AAC/M4A file to check (but I knew that MP3 streams could be rebuilt).

Your other options would be software like MP4Box or FFMPEG to mux or demux the AAC into the MP4 container.
Dynamic – the artist formerly known as DickD

How to mux AAC to play back on my Sony car stereo?

Reply #4
If you're trying from a CD make sure the CD is burned in ISO 9660 and not in UDF (Universal Disk Format). Cars usually read only ISO 9660.

Example:


How to mux AAC to play back on my Sony car stereo?

Reply #5
Foobar did the trick, thanks. Curiously enough Mediainfo shows the same info on the file done with foobar and the other one not working on my car stereo. I guess there's only so much nuances it can read from files. BTW, does anyone know why muxing in mp4 should be necessary? Wouldn't using AAC streams be easier?

 

How to mux AAC to play back on my Sony car stereo?

Reply #6
Curiously enough Mediainfo shows the same info on the file done with foobar and the other one not working on my car stereo.

It's only the matter of layout/order of boxes in the MP4 file. Some poor/incomplete MP4 implementations are known to assume specific box layout (or even major branding), and refuse others.

Quote
Wouldn't using AAC streams be easier?

ADTS is much simpler in structure, but is hard to seek. It doesn't have seek tables, and each frame headers doesn't contain something like time stamp. Therefore only thing you can do for ADTS is to start from the first frame, then skip frame-by-frame parsing each frame header. Very inefficient.