Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: shorterxp on May 14, 2021, 12:29:31 PM

Title: extract m4a from mp4
Post by: shorterxp on May 14, 2021, 12:29:31 PM
Hello is it possible to extract m4a from mp4 with avidemux?

Thanks  :)
Title: Re: extract m4a from mp4
Post by: eumagga0x2a on May 14, 2021, 12:40:26 PM
"m4a" is a filename extension used to denote a mp4 file without a video track. Avidemux doesn't support mp4 files without video track in any way. However, it is possible to extract a variety of raw audio tracks from videos including mp4 videos, these are: PCM, MP2, MP3, AC3 and AAC. One cannot use Avidemux to encapsulate any kind of audio track in a video-less MP4 container.
Title: Re: extract m4a from mp4
Post by: butterw on May 14, 2021, 01:16:43 PM
@shorterxp
You can use Avidemux > Audio > Save Audio to save (the selection) as aac.
you can then mux to m4a container with ffmpeg which is a lossless operation.

ffmpeg -hide_banner -i "audio.aac" -vn -c:a copy "audio.m4a"
mp4 input is of course also possible directly with ffmpeg.




Title: Re: extract m4a from mp4
Post by: shorterxp on May 14, 2021, 02:20:24 PM
Butterw, I prodded the menus but I totally missed that one. It worked. Thanks!
Title: Re: extract m4a from mp4
Post by: shorterxp on May 14, 2021, 06:03:00 PM
I like the fact I can use this software on XP . thanks.
Title: Re: extract m4a from mp4
Post by: eumagga0x2a on May 14, 2021, 06:07:13 PM
Quote from: shorterxp on May 14, 2021, 06:03:00 PMI like the fact I can use this software on XP

An old, unsupported version – yes.
Title: Re: extract m4a from mp4
Post by: eumagga0x2a on May 14, 2021, 06:41:33 PM
Quote from: shorterxp on May 14, 2021, 06:03:00 PMI like the fact I can use this software on XP

However, if you mean that you can run a current win64 (https://avidemux.org/nightly/win64) (or even VC++ (https://avidemux.org/nightly/vsWin64)) build on a 64-bit Windows XP system, this would be pretty awesome. Please clarify.
Title: Re: extract m4a from mp4
Post by: shorterxp on May 14, 2021, 06:51:23 PM
I use avidemux version 2.6.20.

@eumagga0x2a

x86. but 32 bit software can run on 64bit os. i guess it depends if the software can exploit the added ram capabilities that a x64 OS affords, but, most video formats are (highly) compressed so its seldom more than 4gb (3.5) system ram will be discernably beneficial here . When compression was introduced systems were predominantly x86 and the compression algorithms reflected that /tailored to that fact.

BTW it was rare for hardware/device manufacturers to have released x64 drivers, which is why i remain with x86, which has/had broader driver 'support'.

Title: Re: extract m4a from mp4
Post by: eumagga0x2a on May 14, 2021, 07:04:51 PM
Quote from: shorterxp on May 14, 2021, 06:51:23 PMx86.

I see, thanks, so no miracles.

Quote from: shorterxp on May 14, 2021, 06:51:23 PMbut 32 bit software can run on 64bit os

This was not the point. The 32-bit OS cannot run current 64-bit executables. The last officially available 32-bit Avidemux build matches the 2.7.6 release, which is really outdated, unfortunately very buggy and unsupported. There are no supported Avidemux builds able to run on Windows XP, at least on the 32-bit version.
Title: Re: extract m4a from mp4
Post by: shorterxp on May 14, 2021, 07:06:41 PM
Ok
Title: Re: extract m4a from mp4
Post by: eumagga0x2a on May 14, 2021, 07:28:23 PM
To be clear, the problem is not 32-bit vs 64-bit – it should be almost trivial to generate 32-bit cross-compiled builds off the current git master able to run on Windows 7 (32- and 64-bit) and newer. The problem is to backport over 500 changesets from the git master onto the legacy-compat branch (the main feature: an ancient FFmpeg version, still compatible with Windows XP) for the final farewell build as further maintenance of a separate branch is definitely not feasible for me.