Skip to main content

Topic: AAC tools (Read 5535 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • rvha50
  • [*]
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.

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
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

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
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
  • Last Edit: 22 September, 2003, 04:07:37 PM by menno

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
AAC tools
Reply #3
Here for example: faad.zip

Menno

  • enry2k
  • [*][*]
AAC tools
Reply #4
I have been trying it, but it seems not to work, showing library error

enrico

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
AAC tools
Reply #5
How exactly did you use it?

Menno

  • enry2k
  • [*][*]
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?

  • menno
  • [*][*][*][*][*]
  • Developer (Donating)
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

  • enry2k
  • [*][*]
AAC tools
Reply #8
Ok give me a valid address to send to

  • enry2k
  • [*][*]
AAC tools
Reply #9
Correction!
You was right the file is corrupted, it really works with a different file.

Enrico

  • andyrob
  • [*]
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