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: AAC tools (Read 7443 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

AAC tools

I am presently verifying a new AAC decoder and many of my AAC test streams were generated in "ADIF" format. Is there a tool available already that will convert "ADIF" to "ADTS" format in a single or batch convert format. Command line is acceptable and GUI based tool is a plus.

regards,

Terry Shultz
Motorola Inc.

AAC tools

Reply #1
I don't think such a tool exists.
For ADIF files there is no way to detect the frame beginnings. You need to decode the whole file to get all the frame offsets, then use those to split up the ADIF file and create ADTS headers.
Shouldn't be too hard to implement using a decoder, just somebody needs to do it 

Menno

AAC tools

Reply #2
Ok, FAAD2 supports this option now. Get the latest CVS code, or wait until a new version gets compiled.

faad.exe -a adts_out.aac input.aac

Note that this simply decodes the whole file, for the reasons given above, so it's not very fast. It works for all possible input files (MP4, AAC).

Menno

edit: typo

AAC tools

Reply #3
Here for example: faad.zip

Menno

AAC tools

Reply #4
I have been trying it, but it seems not to work, showing library error

enrico

AAC tools

Reply #5
How exactly did you use it?

Menno

AAC tools

Reply #6
I have tried this: faad -a  new.aac adif.aac
and the screenshot I get is this:

****** FAAD2 (Freeware AAC Decoder) V2.0 RC1  ******

      Build: Sep 24 2003
      Copyright: M. Bakker
                  Ahead Software AG
      http://www.audiocoding.com
      Floating point version

****************************************************

rror initializing decoder library.
ress any key to continue . . .

What do think about?

AAC tools

Reply #7
That means that your adif.aac file is corrupted. Can you upload it somewhere so that I can test it?

Menno

AAC tools

Reply #8
Ok give me a valid address to send to

AAC tools

Reply #9
Correction!
You was right the file is corrupted, it really works with a different file.

Enrico

AAC tools

Reply #10
there is also an iso standard tool to convert from raw to adts from raw to adif from adts to adif and vice versa

this tool is called adif2mp4 and is part of the standard MPEG4 AAC reference software release.


Alastair