Fix: Convert your audio to first (Audacity or ffmpeg). Avidemux hates MP3/M4A as external tracks.
If Avidemux continues to fail, you can force the audio into the video container using this simple command (replace filenames accordingly): avidemux+cannot+use+that+file+as+audio+track
Fix for Avidemux error: "Cannot use that file as audio track" Fix: Convert your audio to first (Audacity or ffmpeg)