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: Where to download FDK AAC for foobar2k/windows? (Read 62839 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #25
this tool works because i use it and you get fdk aac.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #26
Well, ffmpeg is a "Swiss Army Knife" tool at the command line. But there are several configurations.

Among all the available AAC encoders, Fraunhofer FDK-AAC and Apple CoreAudioToolbox (the encoder used by iTunes) are some of the very best. You can have them separately (either qaac with the extracted DLLs from iTunes, or fdkaac), or you can integrate FDK-AAC into an ffmpeg. But noone is allowed to distribute such an encoder set or ffmpeg completely and ready-to-use.

Alternatively, ffmpeg also has a free AAC encoder in its libavcodec core. You can distribute this kind of ffmpeg. But its quality is not as good as the others.

@szabi: You say it did not create fdkaac.exe? Why not? Where did you look? How did you configure the suite? Are there any erro rmessages to report? ... We don't have crystal balls to guess what happened. But to solve media-autobuild suite related issues, a separate forum thread is preferred, that won't fit in here anymore. I can confirm that it usually works.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #27
As I start my post I download "fdkaac_autobuild.zip"
I used it few years ago that time it run for few minutes and create fdkaac.exe.
Now I wanted to have newest version of it but fdkaac_autobuild not working anymore.
The linked media-autobuild run more than hour and did not create fdkaac.exe.
I mentioned there were near 50 question before starts doing something however I did not understand most of them.
I do not want to run once more because asking so many question from an end-user is nonsense as well as the running time.

This is the log file:
Code: [Select]
        Starting 64bit compilation of all tools
Imported default FFmpeg options from .bat
License: lgplv3
Imported default mpv options from .bat

        Starting 64bit compilation of global tools
  Running git clone for libtiff...
- libtiff git ....................................... [Recently updated]
+ Running cmake...
+ Running build...
+ Running install...
+ Stripping...
L libtiff-git ................................................ [Updated]

        Starting 64bit compilation of audio tools
Installing libvorbis... done
  Running git clone for fdk-aac...
- fdk-aac git ....................................... [Recently updated]
+ Running autoreconf...
+ Running configure...
+ Running make...
+ Running install...
+ Stripping...
L fdk-aac-git ................................................ [Updated]
Installing faac... done
  Running git clone for opus...
- opus git .......................................... [Recently updated]
+ Running autogen...
+ Running configure...
+ Running make...
+ Running install...
+ Stripping...
L opus-git ................................................... [Updated]

        Starting 64bit compilation of video tools

        Finished 64bit compilation of all tools

        Deleting status files...

        Zipping man files...
        Deleting temporary build dirs...

        Compilation successful.
        This window will close automatically in 5 seconds.
Successfull just the file do not created.

So I have a different approach.
I used the old fdkaac.exe which was created few years ago.
The encoded file has the following tool's information: fdkaac 0.6.3, libfdk-aac 3.4.22, VBR mode 4
Can media-autobuild create newer version of "fdkaac.exe"?

Re: Where to download FDK AAC for foobar2k/windows?

Reply #28
If you want to build fdkaac, you must set up ffmpeg to compiling for a "non-free" license. MABS wrote the warning in the configuration text that enabling a GPL compliant license disables OpenSSL and FDK-AAC. Furthermore, if you want a separate fdkaac.exe, you need to enable the compilation of standalone codecs.

Try the attached build/media-autobuild_suite.ini to have MABS compile as little as possible besides fdkaac.exe.

 

Re: Where to download FDK AAC for foobar2k/windows?

Reply #30
Since my last post I tried the following:
I used google how to create fdkaac.exe from FDK AAC by mstorsjo
This guide found: How to Compile From Source Code.
I downloaded visual studio but what to do definetly over my knowledge.
Failure.

However I found something what worked finally not only one but 3 solution.
After install apple itunes foobar2000 was able to encode with apple-aac.
Unfortunately after I need to spend few minutes to clean my PC from apple's garbage.
I found the qaac.exe but I could not use and no guide how to.

Secondly installing winamp 5.66 also provide success for fhg-aac.
Disadvantage of it is quite obsolete.

Third was the most preferred solution. Searching fdkaac.exe had success.
There are few users who try to help on some like me and after creating it is uploaded.
Still not the newest i think but much newer than my old version.
Find version: fdkaac 1.0.0, libfdk-aac 4.0.0, VBR mode 4

All of these above steps were done less time than suite did run with no result.
They are not the solution I looked for but better than playing with suite hours by hours in hoping of getting the expected result.
It might be a good tool however overcomplicated for an end-user.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #31
To use qaac, you either have to install iTunes, or unpack its codec core DLLs using the content of makeportable.zip from the qaac download folder (cabinet). That's pretty simple. And the best advantage of the Apple AAC codec it its superior configurability (FDK-AAC has only very distinct bitrate classes; may it have the advantage to be supported by foobar2000, but that is a severe disadvantage to me).

Re: Where to download FDK AAC for foobar2k/windows?

Reply #32
Encoding audio was much simple with lame.
Anyway your ini copid to build directory but suit also runs since 30 minutes.
Why it takes so much time to get a sinlge file which size propable will be around 1MB?

Re: Where to download FDK AAC for foobar2k/windows?

Reply #33
Ehm, well ... MABS is optimized to build ffmpeg. Disabling ffmpeg, unfortunately, does not reliably exclude all the libraries required for ffmpeg only. The author of MABS did not expect anyone using MABS for building "anything except ffmpeg". You may report this as issue. Or not. It may be "fixed". Or not.

At least ... once it has been built once, MABS will detect libraries being up-to-date and won't compile them unnecessarily.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #34
I do not understand why so much time need to create ffmpeg.exe if it can be downloaded from official page?

Re: Where to download FDK AAC for foobar2k/windows?

Reply #35
No. Because of its license. The FDK-AAC license is not compatible to the GPL, not even to the LGPL. Hence it cannot be distributed in any ffmpeg build in binary form, even if it can be built.

GPL compatibility would require the license of a linked project to be GPL compliant ... starting with OpenSource code.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #36
More than one hour but finally fdkaac.exe created.
It has the same version I already found by google (fdkaac 1.0.0, libfdk-aac 4.0.0, VBR mode 4).
However the file I found has size 4.5MB the created one only 0.7MB
The size difference is interesting.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #37
I wonder about the reason. May it just be that I disabled UPX packing (which isn't very important in these days)...

Re: Where to download FDK AAC for foobar2k/windows?

Reply #38
Media Autobuild Suite doesn't strip anything. Locate strip.exe inside its folders, run it from a command prompt (cmd.exe or powershell, your choice) and pass the paths to the compiled executables or dll files as command line parameters, and it should reduce their size significantly.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #39
It does not? Well, please search for do_strip() in build/media-suite_helper.sh and tell me what else this does (P.S.: if you selected strip=1 in build/media-suite_helper.ini). 8) OK, it may exclude some tools from being stripped. Probably for reasons.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #40
Okay then, then that setting is not the default, and I must have missed it when configuring my build setup.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #41
Hi
I did use last year created fdkaac (fdkaac 1.0.0, libfdk-aac 4.0.0, VBR mode 4)  since.
After one year I wanted to check whether a new version is available.
Unfortunately I could not find any new fdkaac by google.
Does it means still media-autobuild_suite torture is the only way for casual user?
After download and run of course it do not create what I want.
Are there any new fdkaac since one year old ((fdkaac 1.0.0, libfdk-aac 4.0.0, VBR mode 4)) version?
If no I am happy to use it further.
If yes I ask help how to create new one?

Regards
Szabi

Re: Where to download FDK AAC for foobar2k/windows?

Reply #42
I am not sure if this will be useful or not but I have created fdkaac 1.0.0 binaries for Windows here:


Tested fine here on a 64bit Windows 10 VM. Perhaps if you want to 'build your own' the details of the build are here:

Using MXE under Slackware Linux...
http://www.andrews-corner.org/mxe.html

If placing packages binaries in this manner is an issue I can ask for this post to be removed but the intention is to be helpful  as well as to spin out some the endless lock down free time :).

Re: Where to download FDK AAC for foobar2k/windows?

Reply #43
Hi
This seems the same version I mentioned my post.
It seems there was no update since more than a year.
Whether is Most recommended AAC Encoder list by Hydrogenaudio Knowledgebase Wiki list still valid?
The most recommended Apple AAC encoder is not available without itunes install.
2nd is gone with winamp and 3rd seems not updated any longer.
Nice story of AAC encoding.
Anyway I appreciate for your help, thx.
Regards
szabi

Re: Where to download FDK AAC for foobar2k/windows?

Reply #44
Well, aac encoders are pretty mature now, they won't be updated so much as they were twenty years ago. Use one that sounds best to you for the bitrate you want to use.
Error 404; signature server not available.

Re: Where to download FDK AAC for foobar2k/windows?

Reply #45
MSVC2015 compiles:

www.rarewares.org/files/aac/fdkaac-1.0.0-x64.zip

www.rarewares.org/files/aac/fdkaac-1.0.0-x86.zip

The x86 compile should run on XP.

I found these compiles to be considerably faster than the ones above but YMMV. ;)

Re: Where to download FDK AAC for foobar2k/windows?

Reply #46
Great improvement john33 :)
Code: [Select]
option     win32 ads (kbps)  john33 x86 (kbps)   fdkaac32  (kbps)
---------  -------  -------   -------  -------   -------  -------
-b 64000   10.945x   63.968   46.779x   63.968   66.367x   63.968
-b 80000   10.286x   79.592   43.540x   79.592   62.164x   79.592
-b 96000   10.103x   95.216   42.794x   95.216   60.441x   95.216
-b 112000   9.739x  110.835   41.092x  110.835   58.837x  110.835
-b 128000   9.669x  126.461   40.903x  126.461   58.054x  126.461

-m 1       11.125x   95.128   47.408x   95.120   67.641x   95.120
-m 2       11.042x  101.083   47.156x  101.075   66.868x  101.075
-m 3       10.420x  113.114   44.085x  113.128   63.033x  113.128
-m 4        9.804x  134.535   41.583x  134.539   58.824x  134.539
-m 5        8.042x  238.083   33.124x  238.071   47.540x  238.071

Note: At the last minute I remembered having the fdkaac32 binary from somewhere else (contains string GCC GNU 9.2.0) that produces the exact same file sizes as john33 compile, but utterly fails binary comparisons.

Tests ran on Sandy Bridge processor, win32 OS.
"Something bothering you, Mister Spock?"

Re: Where to download FDK AAC for foobar2k/windows?

Reply #47
Wow, do those numbers show that the binaries I produced are really painfully slow?

Re: Where to download FDK AAC for foobar2k/windows?

Reply #48
I think the speed of the binaries reflects the compiler used and the options which are used regarding instruction sets, possibly SSE/SSE2 (not sure if MMX is going to affect FDKAAC code).

There also is a difference in the code used, hence the slight difference in file size of the VBR modes. The john33 and GCC compiles match in exact file size with the only difference being rounding errors. (Might as well state for the new HA members that rounding errors are comparatively inaudible due to the internal math differences are very tiny numbers.)
"Something bothering you, Mister Spock?"

Re: Where to download FDK AAC for foobar2k/windows?

Reply #49
I did actually try 32 and 64 bit Intel compiles but although they compiled OK, they failed at run time. I confess that I didn't spend any time trying to figure out why! ;)