[SOLVED]2.8.1 Windows - m4a/aac cannot be selected as audio track for mp4 mux

Started by sebus, January 01, 2023, 10:30:35 AM

Previous topic - Next topic

sebus

Trying to mux mp4 by adding m4a to m4v

m4a audio is:

Writing application                      : Lavf57.71.100
ID                                      : 2
Format                                  : AAC
Format/Info                              : Advanced Audio Codec
Format profile                          : LC
Codec ID                                : 40
Duration                                : 2h 8mn
Bit rate mode                            : Variable
Bit rate                                : 92.8 Kbps
Channel(s)                              : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Frame rate                              : 46.875 fps (1024 spf)
Compression mode                        : Lossy
Stream size                              : 84.3 MiB (98%)
Default                                  : Yes
Alternate group                          : 1


Yet I only get an error: Cannot use that file as audio track

ffmpeg/mkvtoolnix worked perfectly fine to mux to mnk/mp4

Any idea why?

sebus

eumagga0x2a

Avidemux cannot use AAC muxed into a container (MP4 or Matroska) as an external audio track. Please ensure it is raw (i.e. in case of AAC either ADTS- or LATM-encapsulated).

M4A is a MP4 container without a video track. Avidemux cannot invoke demuxers for external audio tracks and additionally doesn't handle containers without a video track.

sebus


eumagga0x2a

For forseeable future, please do

ffmpeg -i aac-in-mp4-container.m4a -c copy aac-raw.aac
with (symbolic) filenames and paths adjusted accordingly.