Avidemux cannot use audio-only MP4 container as external audio track

Started by albert121, December 23, 2022, 04:12:50 PM

Previous topic - Next topic

albert121

Hi

I've just converted the original 2GB mov into an 1GB m4v (using Handbrake)

But I had to do some changes at the audio track with Audacity

Then exported from audacity as "m4a (AAC) Files (FFmpeg)" as is the only AAC in the "save as type" menu

But when I add it to the m4v video using Avidemux I get the error "Cannot use that file as audio track"

I don't understand why

Any solution?

Thank you in advance🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

GBWhatsApp

eumagga0x2a

Avidemux can use only raw (in case of AAC: ADTS- or LATM-encapsulated) streams as external audio tracks. Audio streams put into container (MP4, MKV, MPEG-TS etc.) cannot be used for this purpose. Adding such capability would probably require massive changes in the application.

You should use command-line FFmpeg to extract the AAC track from the MP4 container (m4a filename extension is just a hint that the MP4 container lacks a video track):

ffmpeg -i in.m4a -c copy out.aac
Avidemux should be able to load out.aac as an external audio track.