IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
HE-Aac encoder for linux needed
MediaJunkie
post Feb 22 2009, 23:13
Post #1





Group: Members
Posts: 5
Joined: 22-February 09
Member No.: 67287



I'm developing an application that decodes mp3 files on-the-fly using libMAD end encodes it's output with LAME.
Now I want to replace LAME with HE-AAC, so good acc encoder needed.
My tests show that FLAAC quality is much lesser compared to 3GPP encoder for example.
Is there any alternative to FLAAC with better quality closer to 3GPP's encoder?
I don't mean free solutions only.

Or have anyone used 3GPP's encoder to encode labMAD output, is it possible?

PS: I'm not looking for a command line utility, I'm looking for a C/C++ library to use in my program.

This post has been edited by MediaJunkie: Feb 22 2009, 23:58
Go to the top of the page
+Quote Post
kornchild2002
post Feb 22 2009, 23:15
Post #2





Group: Members
Posts: 2078
Joined: 8-April 05
From: Cincinnati, OH
Member No.: 21277



What about Nero's AAC encoder? It supports LC-AAC, HE-AACv1, and HE-AACv2 encoding.
Go to the top of the page
+Quote Post
kwanbis
post Feb 22 2009, 23:23
Post #3





Group: Developer (Donating)
Posts: 2362
Joined: 28-June 02
From: Argentina
Member No.: 2425



QUOTE (MediaJunkie @ Feb 22 2009, 23:13) *
I'm developing an application that decodes mp3 files on-the-fly using libMAD end encodes it's output with LAME.

You mean that you take some MP3, decode it, and re-encode it to MP3 using LAME?


--------------------
MAREO: http://www.webearce.com.ar
Go to the top of the page
+Quote Post
MediaJunkie
post Feb 22 2009, 23:42
Post #4





Group: Members
Posts: 5
Joined: 22-February 09
Member No.: 67287



Nero AAC encoder is a command-line utility, not a library that I can link to and use in my program.

QUOTE (kornchild2002 @ Feb 23 2009, 01:15) *
What about Nero's AAC encoder? It supports LC-AAC, HE-AACv1, and HE-AACv2 encoding.

Go to the top of the page
+Quote Post
MediaJunkie
post Feb 22 2009, 23:43
Post #5





Group: Members
Posts: 5
Joined: 22-February 09
Member No.: 67287



Exactly.
Re-encoding allows me to add sound effects like crossfading and bitrate convertions.

QUOTE (kwanbis @ Feb 23 2009, 01:23) *
QUOTE (MediaJunkie @ Feb 22 2009, 23:13) *
I'm developing an application that decodes mp3 files on-the-fly using libMAD end encodes it's output with LAME.

You mean that you take some MP3, decode it, and re-encode it to MP3 using LAME?

Go to the top of the page
+Quote Post
xenobrain
post Feb 23 2009, 00:23
Post #6





Group: Members
Posts: 3
Joined: 20-January 09
Member No.: 65800



Maybe you could write your own library that provides a generic API for interfacing with a command line utility? That would open up your options quite a bit.

Another option might be to take a look at the Quicktime API. I've not taken a close look at it myself but it may provide the functionality you need.
edit: whoops you're looking for a linux library so I guess this is out.... (also note I'm sketchy on whether QT supports HE-AAC now or not)

Otherwise, if this is a commercial project you could talk to Nero about licensing the Nero Digital Audio API.

This post has been edited by xenobrain: Feb 23 2009, 00:27
Go to the top of the page
+Quote Post
MediaJunkie
post Feb 23 2009, 00:41
Post #7





Group: Members
Posts: 5
Joined: 22-February 09
Member No.: 67287



This would be horrible slow as I decode and encode streams of audio by frames...
Make external system call for every frame is just too expensive smile.gif

QUOTE (xenobrain @ Feb 23 2009, 02:23) *
Maybe you could write your own library that provides a generic API for interfacing with a command line utility? That would open up your options quite a bit.

Go to the top of the page
+Quote Post
saratoga
post Feb 23 2009, 01:00
Post #8





Group: Members
Posts: 4963
Joined: 2-September 02
Member No.: 3264



QUOTE (MediaJunkie @ Feb 22 2009, 18:41) *
This would be horrible slow as I decode and encode streams of audio by frames...
Make external system call for every frame is just too expensive smile.gif


I think you are out of luck. And anyway, encoding one frame at a time wouldn't make a whole lot of sense anyway. You should probably fix your program to process a sane number of samples in each pass, or just decode the whole thing to wav, process it, and then encode.

Go to the top of the page
+Quote Post
MediaJunkie
post Feb 23 2009, 01:08
Post #9





Group: Members
Posts: 5
Joined: 22-February 09
Member No.: 67287



QUOTE (Mike Giacomelli @ Feb 23 2009, 03:00) *
QUOTE (MediaJunkie @ Feb 22 2009, 18:41) *
This would be horrible slow as I decode and encode streams of audio by frames...
Make external system call for every frame is just too expensive smile.gif


I think you are out of luck. And anyway, encoding one frame at a time wouldn't make a whole lot of sense anyway. You should probably fix your program to process a sane number of samples in each pass, or just decode the whole thing to wav, process it, and then encode.


Sorry, I'm not so good in English, I mean I decode and encode audio stream by pieсes, not by single frames of course smile.gif
Go to the top of the page
+Quote Post
saratoga
post Feb 23 2009, 01:19
Post #10





Group: Members
Posts: 4963
Joined: 2-September 02
Member No.: 3264



QUOTE (MediaJunkie @ Feb 22 2009, 19:08) *
QUOTE (Mike Giacomelli @ Feb 23 2009, 03:00) *
QUOTE (MediaJunkie @ Feb 22 2009, 18:41) *
This would be horrible slow as I decode and encode streams of audio by frames...
Make external system call for every frame is just too expensive smile.gif


I think you are out of luck. And anyway, encoding one frame at a time wouldn't make a whole lot of sense anyway. You should probably fix your program to process a sane number of samples in each pass, or just decode the whole thing to wav, process it, and then encode.


Sorry, I'm not so good in English, I mean I decode and encode audio stream by pieсes, not by single frames of course smile.gif


Ah ok. An AAC frame is defined as 2048 samples, which indeed would be a very small bit of data smile.gif
Go to the top of the page
+Quote Post
kornchild2002
post Feb 23 2009, 06:21
Post #11





Group: Members
Posts: 2078
Joined: 8-April 05
From: Cincinnati, OH
Member No.: 21277



QUOTE (xenobrain @ Feb 22 2009, 16:23) *
(also note I'm sketchy on whether QT supports HE-AAC now or not)


Just to further hammer the nail in QuickTime's Linux coffin (at least for this purpose), it doesn't support the proper decoding of HE-AAC files. In fact, it can't encode HE-AAC files at all. I don't know why Apple has refused to adapt HE-AAC. I know many people could find it handy who own only an iPod shuffle or a 8GB (or less) iPod nano/touch.
Go to the top of the page
+Quote Post
stlpaul
post Mar 30 2009, 21:46
Post #12





Group: Members
Posts: 1
Joined: 30-March 09
Member No.: 68514



QUOTE (MediaJunkie @ Feb 22 2009, 16:13) *
I'm developing an application that decodes mp3 files on-the-fly using libMAD end encodes it's output with LAME.
Now I want to replace LAME with HE-AAC, so good acc encoder needed.
My tests show that FLAAC quality is much lesser compared to 3GPP encoder for example.
Is there any alternative to FLAAC with better quality closer to 3GPP's encoder?
I don't mean free solutions only.

Or have anyone used 3GPP's encoder to encode labMAD output, is it possible?

PS: I'm not looking for a command line utility, I'm looking for a C/C++ library to use in my program.


libaacplus

http://tipok.org.ua/node/17

Go to the top of the page
+Quote Post
patmcg
post Jun 10 2009, 22:42
Post #13





Group: Members
Posts: 74
Joined: 18-March 08
Member No.: 52123



QUOTE (MediaJunkie @ Feb 22 2009, 12:13) *
Is there any alternative to FLAAC with better quality closer to 3GPP's encoder?


What about aacplusenc from http://teknoraver.net/software/mp4tools ? I haven't tried it, but maybe it is an alternative to Nero?


--------------------
Is your perfect hearing worth <$200? -- USE EAR PLUGS
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: 19th September 2014 - 13:34