Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Blues on June 10, 2016, 10:52:19 AM

Title: fdk-aac
Post by: Blues on June 10, 2016, 10:52:19 AM
How to use fdk-aac with Avidemux? I'm running Gentoo, my system ffmpeg is built with fdk-aac, but Gentoo ebuild won't let me use system ffmpeg.
Title: Re: fdk-aac
Post by: Blues on June 12, 2016, 09:33:28 PM
Oh well, I see this is a no go. Too bad, fdk-aac is considered the best AAC encoder in Linux. I guess I can use Avidemux on video and then ffmpeg on audio. More work for user, but the goal is achievable.
Title: Re: fdk-aac
Post by: AQUAR on June 13, 2016, 02:03:53 AM
If not already - try putting the aac into a ADTS container.
As of very recently - ADM saves aac audio into that type of container and can read it back in.
Title: Re: fdk-aac
Post by: RoadRanger on June 13, 2016, 10:08:15 PM
Quote from: AQUAR on June 13, 2016, 02:03:53 AM
If not already - try putting the aac into a ADTS container.
As of very recently - ADM saves aac audio into that type of container and can read it back in.
Not sure if I understand you - I'm using "audio" "save" on an MP4 file that has an AAC stream. I understood the resultant file is a raw, containerless file and am trying to figure out how to "convert" that to an m4a file. I can't find much about this ADTS container and if I just rename it to .adts I can't play it in anything? :(
Title: Re: fdk-aac
Post by: AQUAR on June 14, 2016, 12:04:37 PM
I was replying to the issue of the OP.
Viz: he is using fdk-aac and can't import the result into ADM.

I was suggesting it might work if the aac audio was packaged in an ADTS container (rather than raw or other container).

If you are using a very recent mainstream ADM release then AAC is saved in an ADTS container (not raw).
Prior to that, ADM could not import an audio file with AAC in it.
Title: Re: fdk-aac
Post by: RoadRanger on June 14, 2016, 01:04:45 PM
Quote from: AQUAR on June 14, 2016, 12:04:37 PMIf you are using a very recent mainstream ADM release then AAC is saved in an ADTS container (not raw).
Prior to that, ADM could not import an audio file with AAC in it.
OK, so I theoretically have an AAC stream in an ADTS container - now what? How can I convert it to an M4A file? I say "theoretically" because Mediainfo doesn't report it as an ADTS file and I can't get any program I have to import or play it :( .
Title: Re: fdk-aac
Post by: AQUAR on June 14, 2016, 01:27:55 PM
As I said, I was just making a suggestion to the OP that might be worth a try.
Quite possible that the importing of AAC audio files will only work with AAC files exported by ADM.

If you want to play with or recode audio content I suggest you use an audio editor.
That is however a different topic than using the importing/exporting function of ADM for the purpose of muxing an external aac audio track into a media file.

Title: Re: fdk-aac
Post by: RoadRanger on June 14, 2016, 07:14:53 PM
I guess you're somewhat cryptically telling me that I should start a new topic? LOL
Title: Re: fdk-aac
Post by: AQUAR on June 15, 2016, 08:26:57 AM
Not really as I actually responded to your input.

I was however "cryptically" telling you that ADM is a simple video editor and not an audio editor.
And that the audio import/export functionality in ADM is limited to just a few audio file types and geared to editing the associated video.

I haven't even checked the latest nightlies to see if Mean has maintained the exporting of an AAC audio track in a media file, in a manner that lets the resultant audio file be re-imported.


Title: Re: fdk-aac
Post by: mean on June 15, 2016, 08:34:56 AM
yes, it can be reimported
Import/export of AAC/ADTS is only in the nightlies
Title: Re: fdk-aac
Post by: RoadRanger on June 15, 2016, 08:39:41 PM
Quote from: mean on June 15, 2016, 08:34:56 AM
yes, it can be reimported
Import/export of AAC/ADTS is only in the nightlies
I will check that out tomorrow - thanks!
Title: Re: fdk-aac
Post by: RoadRanger on June 16, 2016, 04:23:26 AM
Works great, thanks!
Title: Re: fdk-aac
Post by: potska on October 03, 2016, 10:59:15 AM
Any news of fdk-aac integration as FAAC is very stoneage codec and x264 is meant to be together with good aac codec as it is world standard.
Title: Re: fdk-aac
Post by: mean on October 03, 2016, 01:16:26 PM
I'll add that to the near term todos
Title: Re: fdk-aac
Post by: pokepud3 on March 24, 2017, 10:09:14 PM
Awesome I see that FDK-AAC has been added in the last few versions. Anyway you guys can add the option to enable the he-aacv2 at 32kbps? It would make this a great all in one encoder for video streams.