Enhanced AAC plus free source code, Enhanced AAC plus free source code |
![]() ![]() |
Enhanced AAC plus free source code, Enhanced AAC plus free source code |
Jan 31 2005, 08:00
Post
#1
|
|
|
Group: Members Posts: 28 Joined: 26-July 04 Member No.: 15789 |
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 |
|
|
|
Jan 31 2005, 08:02
Post
#2
|
|
![]() Group: Developer Posts: 1679 Joined: 23-December 01 From: Germany Member No.: 731 |
http://www.audiocoding.com/ is the home of FAAD2, a free (GPLed) AAC decoder with HE-AAC support.
|
|
|
|
Jan 31 2005, 09:20
Post
#3
|
|
|
Group: Members Posts: 28 Joined: 26-July 04 Member No.: 15789 |
QUOTE (dev0 @ Jan 31 2005, 12:32 PM) 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 |
|
|
|
Jan 31 2005, 09:50
Post
#4
|
|
![]() LAME developer Group: Developer Posts: 2950 Joined: 1-October 01 From: Nanterre, France Member No.: 138 |
An encoder can be downloaded from 3gpp.
|
|
|
|
Jan 31 2005, 12:45
Post
#5
|
|
|
A/V Moderator Group: Members Posts: 858 Joined: 12-May 03 From: Finland Member No.: 6557 |
|
|
|
|
Jan 31 2005, 13:11
Post
#6
|
|
![]() Server Admin Group: Admin Posts: 4808 Joined: 24-September 01 Member No.: 13 |
QUOTE (shreya_pathak @ Jan 31 2005, 10:20 AM) QUOTE (dev0 @ Jan 31 2005, 12:32 PM) 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 FAAD2 has supported "Enhanced HE-AAC" (HE-AAC v2), or in other words, parametric stereo, for quite a while. |
|
|
|
Feb 1 2005, 06:06
Post
#7
|
|
|
Group: Members Posts: 28 Joined: 26-July 04 Member No.: 15789 |
QUOTE (Latexxx @ Jan 31 2005, 05:15 PM) http://www.3gpp.org/ftp/Specs/html-info/26410.htm http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/ 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 |
|
|
|
Feb 2 2005, 21:01
Post
#8
|
|
|
Group: Members Posts: 4 Joined: 27-November 04 Member No.: 18364 |
QUOTE (Garf @ Jan 31 2005, 03:11 PM) QUOTE (shreya_pathak @ Jan 31 2005, 10:20 AM) QUOTE (dev0 @ Jan 31 2005, 12:32 PM) 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 FAAD2 has supported "Enhanced HE-AAC" (HE-AAC v2), or in other words, parametric stereo, for quite a while. FAAD is decompresor, but how to make Enhanced HE-AAC files? 3gpp.org gives only sources:| |
|
|
|
Feb 2 2005, 21:08
Post
#9
|
|
|
A/V Moderator Group: Members Posts: 858 Joined: 12-May 03 From: Finland Member No.: 6557 |
QUOTE (shreya_pathak @ Feb 1 2005, 07:06 AM) 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 I haven't tried to debug. I've only compiled using ICL. My binaries can be found at http://kotisivu.mtv3.fi/ware.purkki/ . |
|
|
|
Feb 16 2005, 10:16
Post
#10
|
|
|
Group: Members Posts: 10 Joined: 12-January 05 Member No.: 19009 |
The 3G code works perfectly, including debug, when compiled in VC++. Linux I haven't tried.
This post has been edited by Robredo: Feb 16 2005, 10:18 |
|
|
|
Feb 22 2005, 04:44
Post
#11
|
|
![]() Group: Members Posts: 4 Joined: 22-February 05 Member No.: 20044 |
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). This post has been edited by Dan Nelson: Feb 22 2005, 04:48 |
|
|
|
Feb 22 2005, 05:40
Post
#12
|
|
|
Group: Members Posts: 28 Joined: 26-July 04 Member No.: 15789 |
QUOTE (Dan Nelson @ Feb 22 2005, 09:14 AM) 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). I want to what does these libraries consist of ? Thanks and Regards Shreya |
|
|
|
Feb 22 2005, 05:55
Post
#13
|
|
![]() Group: Members Posts: 4 Joined: 22-February 05 Member No.: 20044 |
QUOTE (shreya_pathak @ Feb 21 2005, 10:40 PM) 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. |
|
|
|
Feb 22 2005, 06:00
Post
#14
|
|
|
Group: Members Posts: 28 Joined: 26-July 04 Member No.: 15789 |
QUOTE (Dan Nelson @ Feb 22 2005, 10:25 AM) QUOTE (shreya_pathak @ Feb 21 2005, 10:40 PM) 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. 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 ? |
|
|
|
Feb 25 2005, 23:32
Post
#15
|
|
![]() Group: Members Posts: 4 Joined: 22-February 05 Member No.: 20044 |
QUOTE (shreya_pathak @ Feb 21 2005, 11:00 PM) 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 ? As I said in a previous post:QUOTE (Dan Nelson @ Feb 22 2005, 09:14 AM) 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). I would guess that the source to libaudio is available somwhere at either http://www.3gpp.org/ftp/Specs/html-info/26-series.htm 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...
|
|
|
|
Mar 17 2006, 11:56
Post
#16
|
|
|
Group: Members Posts: 1 Joined: 17-March 06 Member No.: 28535 |
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 |
|
|
|
Mar 17 2006, 12:51
Post
#17
|
|
|
Group: Members Posts: 273 Joined: 18-June 03 Member No.: 7254 |
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.
|
|
|
|
Mar 17 2006, 16:38
Post
#18
|
|
![]() Group: Members Posts: 324 Joined: 26-June 02 From: Marseille,France Member No.: 2400 |
QUOTE (matthieu.laurent@purplelabs.com @ Mar 17 2006, 11:56 AM) 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... -------------------- http://www.unite-video.com/phpbb/viewtopic.php?t=5412 :: An overview of all lossless Audio Formats (in french language ;-)
|
|
|
|
Mar 17 2006, 17:00
Post
#19
|
|
![]() LAME developer Group: Developer Posts: 2950 Joined: 1-October 01 From: Nanterre, France Member No.: 138 |
Unfortunately those libs are not provided for OSX/PPC.
A very nice thing would be to replace those binaries libs by some source code. |
|
|
|
Mar 17 2006, 18:43
Post
#20
|
|
![]() Group: Members Posts: 4 Joined: 22-February 05 Member No.: 20044 |
QUOTE (Gabriel @ Mar 17 2006, 10:00 AM) Unfortunately those libs are not provided for OSX/PPC. A very nice thing would be to replace those binaries libs by some source code. 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. |
|
|
|
Jun 5 2006, 12:01
Post
#21
|
|
![]() Group: Members Posts: 36 Joined: 30-March 06 Member No.: 28990 |
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 This post has been edited by rootkit: Dec 4 2007, 03:08 |
|
|
|
Jun 5 2006, 12:12
Post
#22
|
|
|
Group: Members Posts: 273 Joined: 18-June 03 Member No.: 7254 |
OMG - you rule!! checking it out now.
CODE 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 This post has been edited by loophole: Jun 5 2006, 12:18 |
|
|
|
Jun 5 2006, 12:34
Post
#23
|
|
![]() Group: Members Posts: 36 Joined: 30-March 06 Member No.: 28990 |
OMG - you rule!! checking it out now. CODE 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? This post has been edited by rootkit: Jun 5 2006, 12:38 |
|
|
|
Jun 5 2006, 12:38
Post
#24
|
|
![]() Group: Members Posts: 742 Joined: 27-May 02 From: Oslo, Norway Member No.: 2133 |
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! |
|
|
|
Jun 5 2006, 12:42
Post
#25
|
|
![]() Group: Members Posts: 36 Joined: 30-March 06 Member No.: 28990 |
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 This post has been edited by rootkit: Dec 16 2007, 03:17 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 21:40 |