Drag and drop your problematic audio file ( .m4a , .mp3 , .ogg , or .flac ) into the window. Click > Export Audio . Set the export format dropdown menu to WAV (Microsoft) . Save the file. Open your video inside Avidemux. Select Audio from the top menu bar > Select Track .
: Files with complex metadata (e.g., Traktor ID3 tags in MP3s) can confuse Avidemux, causing it to misread the sampling rate and reject the file.
: He took his file and converted it to a high-quality PCM WAV or a raw MP3 . These are the "universal languages" that Avidemux accepts with fewer complaints. The Solution Returning to the interface, Alex followed the ritual:
Convert the audio to a friendly format (preferred: WAV or AAC in MP4/M4A container) avidemux+cannot+use+that+file+as+audio+track
# To convert an OGG file to MP3 ffmpeg -i input.ogg -c:a libmp3lame -b:a 192k output.mp3
To resolve this, you must provide Avidemux with a compatible raw audio format. 1. Convert to a Supported Raw Format
Avidemux is a popular, free video editor used for quick cutting, filtering, and encoding. However, many users encounter a frustrating roadblock when trying to add an external audio track to their video: Drag and drop your problematic audio file (
Avidemux often fails to import audio if it is wrapped in an incompatible container like .m4a or .mp4 . It primarily expects "raw" streams or standard formats like .wav , .mp3 , or .ac3 .
The error message in Avidemux occurs because the software requires raw, demuxed audio streams or specific containerless structures for external audio insertion , meaning it will reject standard container files like .m4a , .mp4 , or metadata-heavy .mp3 files.
This command forces the audio into a standard 44.1kHz sample rate with a constant 192kbps bitrate, removing any anomalies that cause Avidemux to crash or reject the file. How to Correctly Add Audio in Avidemux Save the file
FFmpeg one-liner: ffmpeg -i input_vbr.mp3 -b:a 192k -acodec libmp3lame output_cbr.mp3
This command takes input.m4a , copies ( -c copy ) the audio stream without changing it, and saves it as a raw AAC file called output.aac .
ffmpeg -i input.mp3 -c:a copy -map_metadata -1 clean_output.mp3 Use code with caution. Method 2: Convert to Waveform Audio ( .wav )
If you're still having trouble importing an audio file into Avidemux, try using FFmpeg to extract the audio from the video file. To do this: