Skip to main content

Topic: Enhanced AAC plus free source code (Read 39373 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Enhanced AAC plus free source code
Hi All,
    I want to know where I can get the publicly available free source code of Enhanced AAC plus. Also I want to know where can I get the standard for Enhanced AAC plus or some documents related to Enhanced AAC plus.
Thanks and Regards
Shreya

  • dev0
  • [*][*][*][*][*]
  • Developer
Enhanced AAC plus free source code
Reply #1
http://www.audiocoding.com/ is the home of FAAD2, a free (GPLed) AAC decoder with HE-AAC support.
"To understand me, you'll have to swallow a world." Or maybe your words.

Enhanced AAC plus free source code
Reply #2
Quote
http://www.audiocoding.com/ is the home of FAAD2, a free (GPLed) AAC decoder with HE-AAC support.
[a href="index.php?act=findpost&pid=269617"][{POST_SNAPBACK}][/a]


I wanted the source code of Enhanced HE-AAC and not HE-AAC.
Can I get it from here. Has it been supported in FAAD2.
Thanks and Regards
Shreya

  • Gabriel
  • [*][*][*][*][*]
  • Developer
Enhanced AAC plus free source code
Reply #3
An encoder can be downloaded from 3gpp.

  • Latexxx
  • [*][*][*][*][*]

  • Garf
  • [*][*][*][*][*]
  • Developer (Donating)
Enhanced AAC plus free source code
Reply #5
Quote
Quote
http://www.audiocoding.com/ is the home of FAAD2, a free (GPLed) AAC decoder with HE-AAC support.
[a href="index.php?act=findpost&pid=269617"][{POST_SNAPBACK}][/a]


I wanted the source code of Enhanced HE-AAC and not HE-AAC.
Can I get it from here. Has it been supported in FAAD2.
Thanks and Regards
Shreya
[a href="index.php?act=findpost&pid=269626"][{POST_SNAPBACK}][/a]


FAAD2 has supported "Enhanced HE-AAC" (HE-AAC v2), or in other words, parametric stereo, for quite a while.

Enhanced AAC plus free source code
Reply #6
Quote
http://www.3gpp.org/ftp/Specs/html-info/26410.htm
http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/
[a href="index.php?act=findpost&pid=269652"][{POST_SNAPBACK}][/a]


Hi,
  Thanks for your response.
          I have downloaded the code from 3gpp but i am not able to debug the code. Have you come accross such error.
Waiting for ur reply
Thanks and Regards
Shreya

  • Wolverine5
  • [*]
Enhanced AAC plus free source code
Reply #7
Quote
Quote
Quote
http://www.audiocoding.com/ is the home of FAAD2, a free (GPLed) AAC decoder with HE-AAC support.
[a href="index.php?act=findpost&pid=269617"][{POST_SNAPBACK}][/a]


I wanted the source code of Enhanced HE-AAC and not HE-AAC.
Can I get it from here. Has it been supported in FAAD2.
Thanks and Regards
Shreya
[a href="index.php?act=findpost&pid=269626"][{POST_SNAPBACK}][/a]


FAAD2 has supported "Enhanced HE-AAC" (HE-AAC v2), or in other words, parametric stereo, for quite a while.
[a href="index.php?act=findpost&pid=269660"][{POST_SNAPBACK}][/a]

FAAD is decompresor, but how to make Enhanced HE-AAC files?
3gpp.org gives only sources:|

  • Latexxx
  • [*][*][*][*][*]
Enhanced AAC plus free source code
Reply #8
Quote
Hi,
   Thanks for your response.
           I have downloaded the code from 3gpp but i am not able to debug the code. Have you come accross such error.
Waiting for ur reply
Thanks and Regards
Shreya
[{POST_SNAPBACK}][/a]

I haven't tried to debug. I've only compiled using ICL. My binaries can be found at [a href="http://kotisivu.mtv3.fi/ware.purkki/]http://kotisivu.mtv3.fi/ware.purkki/[/url] .

  • Robredo
  • [*]
Enhanced AAC plus free source code
Reply #9
The 3G code works perfectly, including debug, when compiled in VC++. Linux I haven't tried.
  • Last Edit: 16 February, 2005, 04:18:02 AM by Robredo

Enhanced AAC plus free source code
Reply #10
The problem is the "source" distribution actually includes two binary libraries: libaudio.a, and libisomediafile.a.  Not much source in there..

To build libisomediafile, you need to download http://www.iso.ch/iso/en/ittf/PubliclyAvai...nce/systems.zip and build the systems/mp4_file_format/ directory.  I haven't found where the source to libaudio.a is yet (NAS probides a libaudio library, but it's not the same).
  • Last Edit: 21 February, 2005, 10:48:17 PM by Dan Nelson

Enhanced AAC plus free source code
Reply #11
Quote
The problem is the "source" distribution actually includes two binary libraries: libaudio.a, and libisomediafile.a.  Not much source in there..

To build libisomediafile, you need to download http://www.iso.ch/iso/en/ittf/PubliclyAvai...nce/systems.zip and build the systems/mp4_file_format/ directory.  I haven't found where the source to libaudio.a is yet (NAS probides a libaudio library, but it's not the same).
[a href="index.php?act=findpost&pid=275831"][{POST_SNAPBACK}][/a]


I want to what does these libraries consist of ?
Thanks and Regards
Shreya

Enhanced AAC plus free source code
Reply #12
Quote
I want to what does these libraries consist of ?
Thanks and Regards
Shreya
[a href="index.php?act=findpost&pid=275840"][{POST_SNAPBACK}][/a]


I assume libisomediafile is responsible for creating the mp4 container, and libaudio is for reading the input file, since without either library, I get link errors like:

./src/main.o(.text+0x273): In function `main':
: undefined reference to `AuChannelOpen'
: undefined reference to `AuChannelClose'
: undefined reference to `AuChannelReadShort'
./src/mp4file.o(.text+0x21d): In function `MP4FileAddFrame':
: undefined reference to `MP4GetHandleSize'
./src/mp4file.o(.text+0x3a5): In function `WriteMP4File':
: undefined reference to `MP4WriteMovieToFile'
./src/mp4file.o(.text+0x491): In function `CloseMP4File':
: undefined reference to `MP4DisposeHandle'


, and if I build libisomediafile and link with that, the MP4* functions link okay, and the only errors that are left are the AuChannel* functions.

Enhanced AAC plus free source code
Reply #13
Quote
Quote
I want to what does these libraries consist of ?
Thanks and Regards
Shreya
[a href="index.php?act=findpost&pid=275840"][{POST_SNAPBACK}][/a]


I assume libisomediafile is responsible for creating the mp4 container, and libaudio is for reading the input file, since without either library, I get link errors like:

./src/main.o(.text+0x273): In function `main':
: undefined reference to `AuChannelOpen'
: undefined reference to `AuChannelClose'
: undefined reference to `AuChannelReadShort'
./src/mp4file.o(.text+0x21d): In function `MP4FileAddFrame':
: undefined reference to `MP4GetHandleSize'
./src/mp4file.o(.text+0x3a5): In function `WriteMP4File':
: undefined reference to `MP4WriteMovieToFile'
./src/mp4file.o(.text+0x491): In function `CloseMP4File':
: undefined reference to `MP4DisposeHandle'


, and if I build libisomediafile and link with that, the MP4* functions link okay, and the only errors that are left are the AuChannel* functions.
[a href="index.php?act=findpost&pid=275844"][{POST_SNAPBACK}][/a]


These libraries are precompiled. If I want to port this code on say Arm processor, then I need the source code of these libraries so as to compile it for Arm.Can I get this source code or these libraries can itself be used for porting on Arm ?

Enhanced AAC plus free source code
Reply #14
Quote
These libraries are precompiled. If I want to port this code on say Arm processor, then I need the source code of these libraries so as to compile it for Arm.  Can I get this source code or these libraries can itself be used for porting on Arm ?[{POST_SNAPBACK}][/a]
As I said in a previous post:
Quote
To build libisomediafile, you need to download [a href="http://www.iso.ch/iso/en/ittf/PubliclyAvailableStandards/ISO_IEC_14496-5_2001_Software_Reference/systems.zip]http://www.iso.ch/iso/en/ittf/PubliclyAvai...nce/systems.zip[/url] and build the systems/mp4_file_format/ directory. I haven't found where the source to libaudio.a is yet (NAS probides a libaudio library, but it's not the same).[{POST_SNAPBACK}][/a]
I would guess that the source to libaudio is available somwhere at either [a href="http://www.3gpp.org/ftp/Specs/html-info/26-series.htm]http://www.3gpp.org/ftp/Specs/html-info/26-series.htm[/url] or http://www.iso.ch/iso/en/ittf/PubliclyAvailableStandards , but I wouldn't know where to start looking.  Maybe someone should email the 3gpp people and ask them...

Enhanced AAC plus free source code
Reply #15
Has someone found the source code of libaudia.a?
If yes, could he/she tell me where to find it?

Thanks

Matthieu
matthieu.laurent@purplelabs.com

  • loophole
  • [*][*][*][*]
Enhanced AAC plus free source code
Reply #16
I hope somebody works out what's going on here...I'd love a native OS X HE-AACv2 encoder - having to use Virtual PC is downright painful.

  • kurtnoise
  • [*][*][*][*]
Enhanced AAC plus free source code
Reply #17
Quote
Has someone found the source code of libaudia.a?
If yes, could he/she tell me where to find it?

With the last 3gp sources, these libs are in lib/linux folder. This encoder works fine with my Linux distro.



@loophole :: compilation under MacOS should work with gcc...

  • Gabriel
  • [*][*][*][*][*]
  • Developer
Enhanced AAC plus free source code
Reply #18
Unfortunately those libs are not provided for OSX/PPC.

A very nice thing would be to replace those binaries libs by some source code.

Enhanced AAC plus free source code
Reply #19
Quote
Unfortunately those libs are not provided for OSX/PPC.

A very nice thing would be to replace those binaries libs by some source code.
[a href="index.php?act=findpost&pid=372149"][{POST_SNAPBACK}][/a]

The encoder's requirements as far as processing the input file are pretty light; the only functions it needs are AuChannelOpen, AuChannelClose, and AuReadShort.  It should be easy to write wrappers for those that call your favorite soundfile-reading library.

  • rootkit
  • [*]
Enhanced AAC plus free source code
Reply #20
I've edited a bit the source code and i've written missing Au* functions.
I had to keep in mind endianness to make the encoder works on powerpc and other big endian machines.
You can get it here: http://teknoraver.campuslife.it/software/mp4tools/

Cheers
  • Last Edit: 03 December, 2007, 09:08:06 PM by rootkit

  • loophole
  • [*][*][*][*]
Enhanced AAC plus free source code
Reply #21
OMG - you rule!! checking it out now.
Code: [Select]
cc -O3 -I/Users/hexley/Downloads/aacplusenc-0.2/libaacenc -I/Users/hexley/Downloads/aacplusenc-0.2/libbitbuf -I/Users/hexley/Downloads/aacplusenc-0.2/libfr -I/Users/hexley/Downloads/aacplusenc-0.2/libresamp -I/Users/hexley/Downloads/aacplusenc-0.2/libsbrenc -I/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile -I/Users/hexley/Downloads/aacplusenc-0.2/libaudio   -c -o src/main.o src/main.c
In file included from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4Movies.h:29,
                 from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/ISOMovies.h:9,
                 from src/main.c:13:
/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4OSMacros.h:33:20: error: malloc.h: No such file or directory
src/main.c: In function 'main':
src/main.c:237: warning: pointer targets in passing argument 4 of 'IsSbrSettingAvail' differ in signedness
make: *** [src/main.o] Error 1


Get this trying to compile on OS X, do i need to manually tell make the target platform or anything, as there's on configure script or anything. Sorry I'm pretty new to this
  • Last Edit: 05 June, 2006, 07:18:52 AM by loophole

  • rootkit
  • [*]
Enhanced AAC plus free source code
Reply #22
OMG - you rule!! checking it out now.
Code: [Select]
cc -O3 -I/Users/hexley/Downloads/aacplusenc-0.2/libaacenc -I/Users/hexley/Downloads/aacplusenc-0.2/libbitbuf -I/Users/hexley/Downloads/aacplusenc-0.2/libfr -I/Users/hexley/Downloads/aacplusenc-0.2/libresamp -I/Users/hexley/Downloads/aacplusenc-0.2/libsbrenc -I/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile -I/Users/hexley/Downloads/aacplusenc-0.2/libaudio   -c -o src/main.o src/main.c
In file included from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4Movies.h:29,
                 from /Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/ISOMovies.h:9,
                 from src/main.c:13:
/Users/hexley/Downloads/aacplusenc-0.2/libisomediafile/MP4OSMacros.h:33:20: error: malloc.h: No such file or directory
src/main.c: In function 'main':
src/main.c:237: warning: pointer targets in passing argument 4 of 'IsSbrSettingAvail' differ in signedness
make: *** [src/main.o] Error 1


Get this trying to compile on OS X, do i need to manually tell make the target platform or anything, as there's on configure script or anything. Sorry I'm pretty new to this


I have compiled it on Linux PPC, not MacOSX PPC.
You culd try this CFLAGS: -I.. -I../../src -Wall -W -ansi -pedantic -Wno-long-long
The error was in libisomediafile, that had two subdirs, win32 and linux, so i've stripped the win32 out.
Dunno about OS X, never had it, but i suggest you to use the latest gcc compiler, since i'm using gcc 4.1.0 under linux.
What gcc -v says about his version?
  • Last Edit: 05 June, 2006, 07:38:22 AM by rootkit

  • krmathis
  • [*][*][*][*][*]
Enhanced AAC plus free source code
Reply #23
I've edited a bit the source code and i've written missing Au* functions.
I had to keep in mind endianness to make the encoder works on powerpc and other big endian machines.
You can get it here: http://blueangel.us/aacplusenc/

Compiled and running on Mac OS 10.4.6 (PowerPC). But testing remains...
Thanks!

  • rootkit
  • [*]
Enhanced AAC plus free source code
Reply #24
I've edited a bit the source code and i've written missing Au* functions.
I had to keep in mind endianness to make the encoder works on powerpc and other big endian machines.
You can get it here: http://teknoraver.campuslife.it/software/mp4tools/

Compiled and running on Mac OS 10.4.6 (PowerPC). But testing remains...
Thanks!


Isn't Mac OS 10.4.6 64-bit?
I have an issue with AMD64 that i haven't under i386, can you reproduce it?
issue samples are there: http://blueangel.us/mp4tools/ct-he-aac/
It seems a CT bug.

Cheers
  • Last Edit: 15 December, 2007, 09:17:34 PM by rootkit