View Full Version : Problems with FDK_AAC and ffmpeg
carlosrodriguez
3rd July 2020, 17:41
Hello everybody
I am using ffmpeg and its console commands to convert different audio streams (FLAC) of matroska video files to AAC. I have read that the built in AAC coder isn't the best and that I should use the FDK AAC coder.
I tried this following programm and tried to follow the instructions to build my own ffmpeg with FDK AAC enabled. media-autobuild_suite
Link to program: https://github.com/m-ab-s/media-autobuild_suite
To be sure I pretty much put everything to "build/create" during the process. Now I have all the exe's (like fdkaac.exe) in the /local64/bin-audio folder. I don't know what I have to do now unfortunately. I was of the impression that I get a new ffmpeg.exe which I can use in my CMD window.
As of now I just downloaded the standard ffmpeg and use that ffmpeg.exe for all my conversions. What do I do now with all those created files from media-autobild_suite? Where do I have to put them?
My end goal is that I can run ffmpeg commands from my console and use the FDK AAC coder to convert audio streams.
Can anybody help me with that? Unfortunately the tutorial on the mabs site only goes as far as to when you created your EXEs.
I am totally lost :(
jlw_4049
7th July 2020, 00:44
Hello everybody
I am using ffmpeg and its console commands to convert different audio streams (FLAC) of matroska video files to AAC. I have read that the built in AAC coder isn't the best and that I should use the FDK AAC coder.
I tried this following programm and tried to follow the instructions to build my own ffmpeg with FDK AAC enabled. media-autobuild_suite
Link to program: https://github.com/m-ab-s/media-autobuild_suite
To be sure I pretty much put everything to "build/create" during the process. Now I have all the exe's (like fdkaac.exe) in the /local64/bin-audio folder. I don't know what I have to do now unfortunately. I was of the impression that I get a new ffmpeg.exe which I can use in my CMD window.
As of now I just downloaded the standard ffmpeg and use that ffmpeg.exe for all my conversions. What do I do now with all those created files from media-autobild_suite? Where do I have to put them?
My end goal is that I can run ffmpeg commands from my console and use the FDK AAC coder to convert audio streams.
Can anybody help me with that? Unfortunately the tutorial on the mabs site only goes as far as to when you created your EXEs.
I am totally lost :(
The FFMPEG.exe that was created has "ALL" of those included. You just selected YES for it to create seperate binaries that some programs like StaxRip uses.
You should be able to run FDK_AAC with your new version of FFMPEG.
carlosrodriguez
9th July 2020, 07:54
The problem is, it didn't build an ffmpeg.exe. Is it possible to choose something wrong in mabs and skip the step to build the ffmpeg.exe?
jlw_4049
9th July 2020, 09:45
The problem is, it didn't build an ffmpeg.exe. Is it possible to choose something wrong in mabs and skip the step to build the ffmpeg.exe?The tool has been broken for a while. I've been trying to use it to build a version of ffmpeg with fdk to test and add it as optional codec for my app but I can't get the tool to build it either.
Sent from my SM-G986U1 using Tapatalk
tebasuna51
9th July 2020, 10:19
Maybe ffmpeg stop support FDK_AAC because the internal AAC encoder have some improvements and is comparable to FDK?
BTW if you want the best AAC encoder (http://listening-tests.hydrogenaud.io/igorc/aac-96-a/results.html) (at least at low bitrates) you can use qaac (https://forum.doom9.org/showthread.php?p=1395355#post1395355) based on iTunes/QuickTime libs (the Fhg encoder is based in Fraunhofer libs like FDK).
manolito
9th July 2020, 15:41
Maybe ffmpeg stop support FDK_AAC because the internal AAC encoder have some improvements and is comparable to FDK?
No, this is not true. See here:
https://trac.ffmpeg.org/wiki/Encode/AAC
The Zeranoe builds were always compiled without libfdk support just for licensing reasons. There are current binaries with libfdk support available from Sherpya
https://oss.netfarm.it/mplayer/
and from Reino (32-bit only, works under WinXP)
https://rwijnsma.home.xs4all.nl/files/ffmpeg/?C=M;O=D
tebasuna51
9th July 2020, 21:03
@manolito
Mi question, I don't know if is true or false, is for ffmpeg developers, because the document you link is too old (Last modified 16 months ago), is know than ffmpeg docs aren't updated frequently, and I see other documents than say than the internal AAC encoder was improved.
jlw_4049
9th July 2020, 21:05
@manolito
Mi question, I don't know if is true or false, is for ffmpeg developers, because the document you link is too old (is know than ffmpeg docs aren't updated frequently), and I see other documents than say than the internal AAC encoder was improved.Last I read the internal aac from ffmpeg is almost as good as FDK_AAC.
I've been trying to use the auto builder to build ffmpeg with it but so far the auto builder isn't working.
I am able to use ffmpeg to pipe to a fdkaac.exe and I am able to build that myself.
Sent from my SM-G986U1 using Tapatalk
carlosrodriguez
10th July 2020, 13:41
Thanks for all the replies. I will take a look at these posted links and see what I can do with them.
If all else fails and you guys say that the included AAC encoder is almsot as good as FDK now then I suppose that is sufficient. (For me anyways, but I am transcoding also for friends and don't know their audio system setups so I wanted to go with the best I could find.)
It was just that I have read everywhere the included AAC encoder isn't good but it seems like that were all outdated information.
Cheers
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.