October 23, 2020, 09:06:55 pm

News:

--


fdk-aac

Started by Blues, June 10, 2016, 10:52:19 am

Previous topic - Next topic

Blues

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.

Blues

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.

AQUAR

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.

RoadRanger

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? :(

AQUAR

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.

RoadRanger

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 :( .

AQUAR

June 14, 2016, 01:27:55 pm #6 Last Edit: June 14, 2016, 01:36:45 pm by AQUAR
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.


RoadRanger

I guess you're somewhat cryptically telling me that I should start a new topic? LOL

AQUAR

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.



mean

yes, it can be reimported
Import/export of AAC/ADTS is only in the nightlies

RoadRanger

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!

RoadRanger

Works great, thanks!

potska

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.

mean

I'll add that to the near term todos

pokepud3

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.