HydrogenAudio

Lossy Audio Compression => AAC => AAC - Tech => Topic started by: rvha50 on 2003-09-22 18:12:44

Title: AAC tools
Post by: rvha50 on 2003-09-22 18:12:44
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.
Title: AAC tools
Post by: menno on 2003-09-22 18:16:40
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
Title: AAC tools
Post by: menno on 2003-09-22 21:06:33
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
Title: AAC tools
Post by: menno on 2003-09-22 21:16:45
Here for example: faad.zip (http://www.saunalahti.fi/cse/files/faad.zip)

Menno
Title: AAC tools
Post by: enry2k on 2003-09-28 23:31:45
I have been trying it, but it seems not to work, showing library error

enrico
Title: AAC tools
Post by: menno on 2003-09-29 08:28:24
How exactly did you use it?

Menno
Title: AAC tools
Post by: enry2k on 2003-09-30 19:19:28
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 (http://www.audiocoding.com)
      Floating point version

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

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

What do think about?
Title: AAC tools
Post by: menno on 2003-09-30 19:26:03
That means that your adif.aac file is corrupted. Can you upload it somewhere so that I can test it?

Menno
Title: AAC tools
Post by: enry2k on 2003-10-01 16:09:08
Ok give me a valid address to send to
Title: AAC tools
Post by: enry2k on 2003-10-01 16:16:21
Correction!
You was right the file is corrupted, it really works with a different file.

Enrico
Title: AAC tools
Post by: andyrob on 2003-10-14 11:43:18
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