PhatHack

The Hacking Hoedown => PhatBox Hacking => Topic started by: phareous on August 07, 2009, 02:18:10 pm

Title: DMS Tools and AAC
Post by: phareous on August 07, 2009, 02:18:10 pm
So I ran DMS Tools and told it to include AAC support. However, when the music keg goes to play an AAC file, it just announces "Corrupt Track". Have I missed something? Do I need to own the original AAC plugin (which isn't for sale anywhere)?
Title: Re: DMS Tools and AAC
Post by: VorTechS on August 08, 2009, 08:56:05 am
No, you shouldn't need to have anything.  When you ran the DMS tools, it generates a number of logs in My Documents\PhatHack Media Manager\Logs.

Can you attach a copy of these, or mail them to me and I'll check the AAC installation bit ran through.
Title: Re: DMS Tools and AAC
Post by: phareous on August 11, 2009, 12:48:39 pm
So it appears the issues are my files are in .m4a instead of .aac and also they are at an unsupported sample rate. I just converted them to MP3 for now since I only have a handful of AAC files
Title: Re: DMS Tools and AAC
Post by: S80_UK on August 11, 2009, 10:35:44 pm
So it appears the issues are my files are in .m4a instead of .aac and also they are at an unsupported sample rate. I just converted them to MP3 for now since I only have a handful of AAC files

I have a bunch of .m4a files - all play fine with the AAC plugin installed - and the box is quite tolerant of a good range of sample rates.  How were the files encoded?  Are you sure that they are not Apple Lossless (also sometimes known as ALAC- not strictly correctly) since they also would have .m4a as the extension but would definitely not play.
Title: Re: DMS Tools and AAC
Post by: phareous on August 11, 2009, 11:17:44 pm
When I look at the file in itunes, it says:

AAC media file
bitrate 64k
sample 44.3 KHz
Encoded with SSA (Slideshow Assembler) 1.0.5a
Title: Re: DMS Tools and AAC
Post by: S80_UK on August 12, 2009, 10:37:16 pm
I don't know the encoder - so it may be a suspect, maybe not.  The sample rate should be 44.1kHz normally (44.3 may just be miss-reporting or a typo?).

Can you post a sample file somewhere briefly for folks to test for you?  (I will be on vacation for the next week or so, however.)
Title: Re: DMS Tools and AAC
Post by: mike47 on October 04, 2010, 10:04:24 am
Hi,

I am having a similar problem with m4a audio.

Using PhatHack DMS Tools v2.14 I have applied Audi Native (v7.02) and installed the AAC Plugin.
Using PhatNoise Media Manager 3.92 I have re-loaded the m4a files

Winamp shows Audio Properties:
   MPEG-4 AAC LC
   256 kbps.

When trying to play any of these tracks in the car, the tracks are skipped past until hitting the first actual mp3 track in the playlist (Before the Hack, when I was on the original Phatnoise software, I would be informed that an AAC decoder was needed, now with the hack, no audible notification is made).

I did read somewhere on the forum that a solution is to just rename the file attribute to aac – is this still the case?

Regards,
Mike.


Title: Re: DMS Tools and AAC
Post by: VorTechS on October 04, 2010, 10:21:09 am
It might be worth getting a log for this. 

I'm pretty sure M4a is added to the relevant support extensions so that the box should play the files (assuming that flacplay does actually support this), although I will check this.
Title: Re: DMS Tools and AAC
Post by: chico on October 04, 2010, 06:27:37 pm
When I look at the file in itunes, it says:

AAC media file
bitrate 64k
sample 44.3 KHz
Encoded with SSA (Slideshow Assembler) 1.0.5a

I had problems with with files with sample rates over 44.1 kHz not playing. Lowering the sample rates down to 441. kHz fixed it. That would be my guess as to what's causing your problem.
Title: Re: DMS Tools and AAC
Post by: mike47 on October 06, 2010, 09:52:44 am
I normally just use Winamp, but it doesn’t appear to show the precise sample rate the track is recorded at (it just shows 44KHZ), but my Winamp rip settings are currently set to:-
 
Encoding Format   MP4/LC-AAC Encoder v1.3
Bitrate:         256 kpps
Channel Mode:       Stereo

Although, using VLC Media player on the same track shows the following information:-

Stream 0
   Type: Audio
   Codec: mp4a
   Language: English
Channels: Stereo
Sample rate 44100 Hz

This would appear to be ok and at the 44.1Khz that chico (thanks chico and VorTechS for the replies) mentions.

It isn’t a great shakes as I have only just started using the m4a format and can revert back to mp3, but curiosity has taken over now  :)
Title: Re: DMS Tools and AAC
Post by: VorTechS on October 06, 2010, 09:57:11 am
Mail me a copy of one of the files.  Let me have a look and see what I can find out about it.  (Email address is on my profile)
I too am intrigued.  :D

I'm hoping in the next couple of days to have a Kenwood Stereo/Keg setup for bench testing, so I can certainly have a play around with these files to see what's what.
Title: Re: DMS Tools and AAC
Post by: VorTechS on October 06, 2010, 10:07:42 am
As I hadn't yet done so, I've now checked the source code for how it handles the installation of the ACC 'plugin'.

Essentially, it modifies exec.ini and adds 3 entries:

Code: [Select]
        Call ExecINI.WriteString("Phatbox", "player.m4a", "/dos/aacplay")
        Call ExecINI.WriteString("Phatbox", "player.aac", "/dos/aacplay")
        Call ExecINI.WriteString("Phatbox", "player.mp4", "/dos/aacplay")

Out of interest.... what is the exact casing of the extension on your files?  Could it be the extensions are upper case, and it's not matching a player because of that?