Skip to main content
Topic: Where to download FDK AAC for foobar2k/windows? (Read 26003 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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

Reply #50
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).

Interesting... I admit that I am more used to compiling under Linux than cross compiling for Windows but I sense a challenge here so I will dig a little deeper and see if I can optimise the compile (I did not set any extra flags with my current fdkaac binaries) and produce a faster binary. Where did the values such as: '10.945x' come from?

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

Reply #51
Well, I have spotted the  '10.945x' numbers in the fdkaac output and I presume that this is where the testing output numbers have come from. I have updated the cross compiled binaries having made a few small compiling changes:

  • Unbeknownst to me MXE was using an ancient version of gcc so I have set it to a more acceptable 9.3.0 and rebuilt all MXE packages. I note that MXE runs fdk-aac 2.0.0 rather than 2.0.1 but I doubt that is making much of a difference...
  • I have taken an uneducated punt and added in standard (Slackware) compiler flags to the 32bit: CFLAGS="-O3 -march=i686 -mtune=i686" and to the 64bit: CFLAGS="-O3 -fPIC". Mind you Slackware is a little conservative than this and will usually use 02...

Small changes but on my testing I have gained a little speed but absolutely nothing like that seen in the other 2 compiled binaries. So I am either bumping up against a limit of cross compiling or more likely a limitation in my knowledge of cross compiling :).

I have replaced the two online packages here  if anybody is interested in retesting...

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

Reply #52
@andrew.46 After re-running the tests I have the same encoding speeds as the previous version, as far as the 32-bit binary.

FYI, my script calculates encoding speeds by:
(number_of_samples / sampling_rate) / encode_time.

This way I can get figures many places past the decimal point. This comes in handy when benching xHE which needs 22khz or 32khz files.

edit: I was supposed to mention all tests were run on 16-bit 44khz stereo files.
"Something bothering you, Mister Spock?"

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

Reply #53
@andrew.46 After re-running the tests I have the same encoding speeds as the previous version, as far as the 32-bit binary.

Thanks for having another look, I will leave things as they are then as I cannot improve from a cross compiling point of view. Interesting to see if you have tested fdkaacenc on a native Linux platform, a quick look on my Slackware system seems to suggest that encoding may be considerably faster than has been demonstrated here?


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

Reply #55
I haven't checked it in detail, but I believe the library versions to be the same. I think the 1.0.0 designation relates to the Windows wrapped version.

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

Reply #56
Someone at doom9 compiled fdkaac a while back. A quick comparison using my quite old XP box seems to indicate the 32 bit version is about 30% faster than the build john33 linked to back in April. There's also a 64 bit build.

I don't really understand the version numbers.
What do frontend version 1.0.0 and libfdk version 2.0.1 actually mean (as described in the doom9 thread)?

Doom9 post:
https://forum.doom9.org/showthread.php?p=1892458#post1892458

Mediafie link:
http://www.mediafire.com/file/jphuy8iljrf9mf0/fdkaac-v2.0.1.7z/file

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

Reply #57
Version numbers of this code are rather arbitrary anyway, since the code was ripped from the Android source code, and is only updated when newer AOSP packages are published from which to rip newer source files.

 
SimplePortal 1.0.0 RC1 © 2008-2020