Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Open Source Fraunhofer AAC Encoder (fdk-aac) (Read 303452 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #50
This is really off-topic, but I don't think AAC is very succeful too.



Exactly! I would probably never ever had to touch it if it wasn't for mobiles that need to support this codec because apple does.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #51
The thing with apple is pretty clear I guess: they are one of the major patent holders for aac probably (am I right?);


I don't think so. They weren't involved in AAC's development at all.

Quote
Honestly, ppl get harassed for posting something that is considered to be illegal by HA. Instead, I think AAC should be considered illegal here instead


Some companies licensed encoders and made those free to download. Winamp And Nero are two of them. You're free to discuss those as well as source implementations.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #52
This is really off-topic, but I don't think AAC is very succeful too. It have too many different profiles, many of them just eclipse one or another (just see this page here, that describes the entire MPEG-4 Audio; you have two codec for speech, three for general audio and three codecs for lossless). The majority of devices only supports the AAC-LC, many of them didn't support even the AAC Main Profile. The standard is so complex that some codecs never seem a working implementation (like ALS)-


I don't see how the fact that AAC (or H264, or any MPEG codec) has a load of cruft and extra profiles that nobody uses has any bearing on how successful it is. People used the parts that made sense and dropped the ones that just existed to satisfy some patent holders or niche applications.

Everybody now understands that when you talk about AAC you talk about LC-AAC and it's extensions (HE-AAC, SLS etc).

ALS probably never had a working implementation because it was years late to the party and didn't bring any significant advantages. That can't be said for LC-AAC and HE-AAC.

The parts that made sense were very successful. There's a hardware decoder in nearly every mobile device out there.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #53
Quote
Overall, all pv or vo codecs that google bought from packetvideo or visual on are clear ripoffs from 3gpp code and they aren't even well done.


This was pointed out here a long time ago and reported to Google. I wouldn't be surprised if the sudden appearance of the Fraunhofer encoder in Android was related to it.

Quote
My personal opinion is that they invent new crap not because there is a need, but because they want to prevent from new players coming into the big game.


This sentence directly contradicts itself. If a new player with a better algorithm that outperforms the MPEG ones would enter the market, the MPEG would lose out. So obviously there is a need to stay ahead of the game.

Quote
Just the idea that all these companies suddenly collaborate on a publicly available BSD licensed library is really fishy. To me it's clear what their intentions are.


I don't think it is a "secret" or "fishy" that the companies who contribute to MPEG standards do so because they expect to license their patents to any implementers of the standard. Or that the public code is crap because they want to license your their software as well. The programmers and researches who contribute expect to get paid, somehow.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #54
Quote
My personal opinion is that they invent new crap not because there is a need, but because they want to prevent from new players coming into the big game.


This sentence directly contradicts itself. If a new player with a better algorithm that outperforms the MPEG ones would enter the market, the MPEG would lose out. So obviously there is a need to stay ahead of the game.

Think he means that the big players pushed AAC to use it as a lock in format that everyone uses and the big corps can control

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #55
Can anyone provide a link to instructions for compiling avconv or ffmpeg with fdk-aac support? Thanks



Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #58
Think he means that the big players pushed AAC to use it as a lock in format that everyone uses and the big corps can control


You should present some argumentation for this baseless and erronous claim. How can AAC even be a "lock in format"?

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #59
I've spent a hour trying to compile this with MSYS/MingW but i gave up eventually because my installation doesn't had the directories the compile instructions mentioned  and got stuck stuck with ffmpeg. Hopefully there'll be a release on Rarewares soon.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #60
So, this encoder is in the new ffmpeg 1.0.  Anyone used it?  Just curious.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #61
I would like to know too is there someone tested for example: Nero AAC vs Apple AAC vs FDK-AAC

Weird is that FDK is only best open AAC encoder this far, i wonder why someone did not write AAC encoder long time ago like there is Lame that is best for mp3

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #62
I would like to know too is there someone tested for example: Nero AAC vs Apple AAC vs FDK-AAC

There are many test. Use the search.

Quote
Weird is that FDK is only best open AAC encoder this far, i wonder why someone did not write AAC encoder long time ago like there is Lame that is best for mp3

FDK-AAC is just a CLI for Fraunhofer, like qaac and qtaacenc are for Apple.



Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #65
Too bad ffmpeg hasn't sorted gapless encoding yet. It didn't look like avconv supported that yet, either, the last time I looked. Maybe somebody should make a stand-alone encoder.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #66
What about quality of FDK compared to closed? is it too some middle quality aac encoder, experts opinion?

Really bad that only closed source encoders have best quality(aac, mp3)  .... burn licences burn 
So now i know that even Lame is not best quality encoder thanks for info IgorC now i move all my audio to Opus.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #67
What about quality of FDK compared to closed? is it too some middle quality aac encoder, experts opinion?


Juding from the source code, it should be pretty good:
http://www.hydrogenaudio.org/forums/index....st&p=801900

Of course, it should be properly tested. The code might be advanced but full of bugs. (Not likely, but not impossible)

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #68
Out of curiosity, I tested this codec with various settings using the attached test files and script: [attachment=7254:fdkaac_vbr.zip]
Available VBR qualities for each <profile, #channels, sample rate> by this encoder are as follows:
Code: [Select]
LC-AAC	1ch	11250	1
LC-AAC 1ch 12000 1
LC-AAC 1ch 16000 1,2
LC-AAC 1ch 22500 1,2,3
LC-AAC 1ch 24000 1,2,3,4
LC-AAC 1ch 32000 1,2,3,4
LC-AAC 1ch 44100 1,2,3,4,5
LC-AAC 1ch 48000 1,2,3,4,5
LC-AAC 1ch 64000 1,2,3,4,5
LC-AAC 1ch 88200 1,2,3,4,5
LC-AAC 1ch 96000 1,2,3,4,5
LC-AAC 2ch 8000 1
LC-AAC 2ch 11250 1,2
LC-AAC 2ch 12000 1,2
LC-AAC 2ch 16000 1,2,3
LC-AAC 2ch 22500 1,2,3,4
LC-AAC 2ch 24000 1,2,3,4
LC-AAC 2ch 32000 1,2,3,4,5
LC-AAC 2ch 44100 1,2,3,4,5
LC-AAC 2ch 48000 1,2,3,4,5
LC-AAC 2ch 64000 1,2,3,4
LC-AAC 2ch 88200 1,2,3,4
LC-AAC 2ch 96000 1,2,3,4
LC-AAC 3ch 8000 1
LC-AAC 3ch 11250 1,2
LC-AAC 3ch 12000 1,2
LC-AAC 3ch 16000 1,2,3
LC-AAC 3ch 22500 1,2,3,4
LC-AAC 3ch 24000 1,2,3,4
LC-AAC 3ch 32000 1,2,3,4,5
LC-AAC 3ch 44100 1,2,3,4,5
LC-AAC 3ch 48000 1,2,3,4,5
LC-AAC 3ch 64000 1,2,3,4
LC-AAC 3ch 88200 1,2,3,4
LC-AAC 3ch 96000 1,2,3,4
LC-AAC 4ch 8000 1
LC-AAC 4ch 11250 1,2
LC-AAC 4ch 12000 1,2
LC-AAC 4ch 16000 1,2,3
LC-AAC 4ch 22500 1,2,3,4
LC-AAC 4ch 24000 1,2,3,4
LC-AAC 4ch 32000 1,2,3,4,5
LC-AAC 4ch 44100 1,2,3,4,5
LC-AAC 4ch 48000 1,2,3,4,5
LC-AAC 4ch 64000 1,2,3,4
LC-AAC 4ch 88200 1,2,3,4
LC-AAC 4ch 96000 1,2,3,4
LC-AAC 5ch 8000 1
LC-AAC 5ch 11250 1,2
LC-AAC 5ch 12000 1,2
LC-AAC 5ch 16000 1,2,3
LC-AAC 5ch 22500 1,2,3,4
LC-AAC 5ch 24000 1,2,3,4
LC-AAC 5ch 32000 1,2,3,4,5
LC-AAC 5ch 44100 1,2,3,4,5
LC-AAC 5ch 48000 1,2,3,4,5
LC-AAC 5ch 64000 1,2,3,4
LC-AAC 5ch 88200 1,2,3,4
LC-AAC 5ch 96000 1,2,3,4
LC-AAC 6ch 8000 1
LC-AAC 6ch 11250 1,2
LC-AAC 6ch 12000 1,2
LC-AAC 6ch 16000 1,2,3
LC-AAC 6ch 22500 1,2,3,4
LC-AAC 6ch 24000 1,2,3,4
LC-AAC 6ch 32000 1,2,3,4,5
LC-AAC 6ch 44100 1,2,3,4,5
LC-AAC 6ch 48000 1,2,3,4,5
LC-AAC 6ch 64000 1,2,3,4
LC-AAC 6ch 88200 1,2,3,4
LC-AAC 6ch 96000 1,2,3,4
HE-AAC 1ch 22500 1
HE-AAC 1ch 24000 1
HE-AAC 1ch 32000 1,2
HE-AAC 1ch 44100 1,2,3
HE-AAC 1ch 48000 1,2,3
HE-AAC 1ch 64000 1,2,3,4
HE-AAC 1ch 88200 1,2,3,4,5
HE-AAC 1ch 96000 1,2,3,4,5
HE-AAC 2ch 16000 1
HE-AAC 2ch 22500 1,2
HE-AAC 2ch 24000 1,2
HE-AAC 2ch 32000 1,2,3
HE-AAC 2ch 44100 1,2,3,4
HE-AAC 2ch 48000 1,2,3,4
HE-AAC 2ch 64000 1,2,3,4,5
HE-AAC 2ch 88200 1,2,3,4,5
HE-AAC 2ch 96000 1,2,3,4,5
HE-AAC 3ch 16000 1
HE-AAC 3ch 22500 1,2
HE-AAC 3ch 24000 1,2
HE-AAC 3ch 32000 1,2,3
HE-AAC 3ch 44100 1,2,3
HE-AAC 3ch 48000 1,2,3
HE-AAC 3ch 64000 1,2,3,4,5
HE-AAC 3ch 88200 1,4,5
HE-AAC 3ch 96000 4,5
HE-AAC 4ch 16000 1
HE-AAC 4ch 22500 1,2
HE-AAC 4ch 24000 1,2
HE-AAC 4ch 32000 1,2,3
HE-AAC 4ch 44100 1,2,3
HE-AAC 4ch 48000 1,2,3
HE-AAC 4ch 64000 1,2,3,4,5
HE-AAC 4ch 88200 1,3,4,5
HE-AAC 4ch 96000 3,4,5
HE-AAC 5ch 16000 1
HE-AAC 5ch 22500 1,2
HE-AAC 5ch 24000 1,2
HE-AAC 5ch 32000 1,2,3
HE-AAC 5ch 44100 1,2,3
HE-AAC 5ch 48000 1,2,3
HE-AAC 5ch 64000 1,2,3,4,5
HE-AAC 5ch 88200 1,3,4,5
HE-AAC 5ch 96000 3,4,5
HE-AAC 6ch 16000 1
HE-AAC 6ch 22500 1,2
HE-AAC 6ch 24000 1,2
HE-AAC 6ch 32000 1,2,3
HE-AAC 6ch 44100 1,2,3
HE-AAC 6ch 48000 1,2,3
HE-AAC 6ch 64000 1,2,3,4,5
HE-AAC 6ch 88200 1,4,5
HE-AAC 6ch 96000 4,5
HE-AACv2 2ch 32000 1
HE-AACv2 2ch 44100 1,2
HE-AACv2 2ch 48000 1,2
HE-AACv2 2ch 64000 1,2,3
HE-AACv2 2ch 88200 1,2,3,4
HE-AACv2 2ch 96000 1,2,3,4


Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #70
Has anyone tried this frontend yet?

Yes, it compiles OK with Ubuntu Linux and cross-compiles OK with mingw.
 

Code: [Select]
./fdkaac -m 3 -p 5 -a 1 \
--title "Lucky Night" --album "Treasure Quest Soundtrack" \
--artist "Jody Marie Gnant" --genre "Soundtrack"  \
--date "1995" -o Lucky_Night.m4a Lucky_Night.wav


Quote
General
Complete name                            : Lucky_Night.m4a
Format                                  : MPEG-4
Format profile                          : Apple audio with iTunes info
Codec ID                                : M4A
File size                                : 345 KiB
Duration                                : 30s 186ms
Overall bit rate mode                    : Variable
Overall bit rate                        : 93.7 Kbps
Album                                    : Treasure Quest Soundtrack
Track name                              : Lucky Night
Performer                                : Jody Marie Gnant
Genre                                    : Soundtrack
Recorded date                            : 1995
Encoded date                            : UTC 2013-01-07 03:47:11
Tagged date                              : UTC 2013-01-07 03:47:11
Writing application                      : fdkaac 0.0.5, libfdk-aac 3.3.3, VBR mode 3

Audio
ID                                      : 1
Format                                  : AAC
Format/Info                              : Advanced Audio Codec
Format profile                          : HE-AAC / LC
Codec ID                                : 40
Duration                                : 30s 186ms
Bit rate mode                            : Variable
Bit rate                                : 92.6 Kbps
Maximum bit rate                        : 143 Kbps
Channel(s)                              : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 44.1 KHz / 22.05 KHz
Compression mode                        : Lossy
Stream size                              : 341 KiB (99%)
Encoded date                            : UTC 2013-01-07 03:47:11
Tagged date                              : UTC 2013-01-07 03:47:11


 

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #71
Thanks nu774, the compiler runs perfectly. Now I have fdkaac.exe, it works well by itself but I can't find the configuration for foobar2000. "-m 4 - %d" doesn't work, "-m 4 %s %d" doesn't work, I can't do only "-m 4 %s".

Do you know a solution?

Thanks.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #72
fdkaac requires -o before %d (same as qaac).

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #73
Of course ...   

Thanks.

Open Source Fraunhofer AAC Encoder (fdk-aac)

Reply #74
Does anyone knows how to build the fdk acc as a shared library for Android? Thanks!