Avidemux Cannot Use That File As Audio Track Official
Now that we've explored the possible causes of the error, let's discuss the solutions:
Still failing?
ffmpeg -i video.mkv -i audio.m4a -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 output.mkv avidemux cannot use that file as audio track