IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
AAC tools, ADIF to ADTS file conversion tools
rvha50
post Sep 22 2003, 18:12
Post #1





Group: Members
Posts: 1
Joined: 22-September 03
Member No.: 8955



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.
Go to the top of the page
+Quote Post
menno
post Sep 22 2003, 18:16
Post #2


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



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 smile.gif

Menno
Go to the top of the page
+Quote Post
menno
post Sep 22 2003, 21:06
Post #3


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



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

This post has been edited by menno: Sep 22 2003, 21:07
Go to the top of the page
+Quote Post
menno
post Sep 22 2003, 21:16
Post #4


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



Here for example: faad.zip

Menno
Go to the top of the page
+Quote Post
enry2k
post Sep 28 2003, 23:31
Post #5





Group: Members
Posts: 91
Joined: 15-November 02
Member No.: 3787



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

enrico
Go to the top of the page
+Quote Post
menno
post Sep 29 2003, 08:28
Post #6


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



How exactly did you use it?

Menno
Go to the top of the page
+Quote Post
enry2k
post Sep 30 2003, 19:19
Post #7





Group: Members
Posts: 91
Joined: 15-November 02
Member No.: 3787



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?
Go to the top of the page
+Quote Post
menno
post Sep 30 2003, 19:26
Post #8


Nero MPEG4 developer


Group: Developer (Donating)
Posts: 1218
Joined: 11-October 01
From: LA
Member No.: 267



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

Menno
Go to the top of the page
+Quote Post
enry2k
post Oct 1 2003, 16:09
Post #9





Group: Members
Posts: 91
Joined: 15-November 02
Member No.: 3787



Ok give me a valid address to send to
Go to the top of the page
+Quote Post
enry2k
post Oct 1 2003, 16:16
Post #10





Group: Members
Posts: 91
Joined: 15-November 02
Member No.: 3787



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

Enrico
Go to the top of the page
+Quote Post
andyrob
post Oct 14 2003, 11:43
Post #11





Group: Members
Posts: 41
Joined: 8-October 03
Member No.: 9210



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
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 08:20