: Avidemux is most stable with uncompressed PCM (WAV) files. Use a tool like to convert your audio file to a 16-bit PCM WAV before importing. Check the Sampling Rate
: Ensure the audio file's sampling rate (e.g., 44100Hz or 48000Hz) matches the video's properties. Incompatibilities here often trigger the error. Re-mux with MKVToolNix : If you are trying to add a track to an MKV, use MKVToolNix
instead. It is far more robust for multiplexing audio and video than Avidemux. Step-by-Step Troubleshooting Guide 1. Verify File Compatibility Avidemux often struggles with compressed formats like AAC, M4A, or variable bitrate MP3s when imported as external tracks. .m4a, .wma, or .flac. Preferred: .wav (PCM) or .mp3 (Constant Bitrate). 2. How to "Fix" the Audio File
If Avidemux rejects your file, the most reliable fix is converting it to a standard format: Open the audio file in File > Export > Export as WAV WAV (Microsoft) signed 16-bit PCM In Avidemux, go to Audio > Select Track , check the "Enabled" box, click the dropdown, and select Add audio track to point to your new WAV file. 3. Update Avidemux
Older versions of Avidemux have known bugs with specific audio headers.
Ensure you are using the latest nightly build or stable release from the official Avidemux website 4. The "Dummy Video" Trick If you are trying to save
audio or combine audio with a still image and getting this error:
Ensure a video file is actually loaded first. Avidemux cannot handle an "Audio Track" without a video stream to "attach" it to.
If you don't have a video, you may need to use a different tool like Alternative Tool: FFmpeg (Command Line)
If Avidemux continues to fail, you can force the audio into the video container using this simple command (replace filenames accordingly):
ffmpeg -i video.mp4 -i audio.wav -c:v copy -c:a aac output.mp4 : Keeps the video quality identical.
The error message " cannot use that file as audio track " in Avidemux typically occurs when the software's demuxer cannot properly parse the external audio file you are trying to add. This often stems from container incompatibility, metadata issues, or outdated software versions. avidemux.org Common Causes & Solutions Container Incompatibility (M4A/MP4/MKV)
: Avidemux cannot use audio that is already inside a container (like : You must provide the "raw" audio stream (e.g., ) or convert the file to a standard before importing. Metadata Interference
: Files from certain sources (like Traktor) may have metadata headers that confuse Avidemux, leading it to misread the file's sample rate or format.
: Use a tool to strip metadata or "clean" the audio file by re-saving it in a basic audio editor. Unsupported Bit Depth or Codecs avidemux+cannot+use+that+file+as+audio+track
: Avidemux may reject specific high-fidelity formats, such as 24-bit WAV : Convert the audio to 16-bit WAV at 44.1kHz or 48kHz for the best compatibility. Outdated Software Version
: Older versions of Avidemux (e.g., 2.7.x) had known bugs related to external audio track recognition. : Upgrade to the latest stable release (e.g.,
or newer) or try a nightly build, which often includes fixes for these parsing errors. avidemux.org How to Correctly Add an External Track Cannot use mp3 as audio track - avidemux.org
If you’ve run into the "Cannot use that file as audio track" error in Avidemux, it usually means the software is struggling with the file's container format or a sample rate mismatch, even if the audio itself seems fine.
Here is a quick guide to understanding why this happens and how to fix it. Why it happens
Avidemux is picky about external audio tracks. The error typically triggers for two reasons:
Format Incompatibility: While Avidemux supports many codecs (like MP3 or AAC), it often fails to "mux" (combine) them if they are wrapped in certain containers or have unusual headers.
Sampling Rate Issues: If your video is 44.1kHz and your audio track is 48kHz, Avidemux sometimes rejects the link to prevent sync issues. How to fix it 1. Standardize the Audio File
The most reliable fix is to convert your audio file into a "clean" version before importing it.
Use a tool like Audacity or an online converter to export the audio as a WAV (uncompressed) or a standard MP3.
WAV files have the highest success rate because they lack the complex metadata that often confuses Avidemux. 2. Check the "Audio Configuration"
Before importing the external file, ensure your video's audio output is set correctly:
In the left-hand sidebar, under Audio Output, try changing "Copy" to MP3 (lame) or AAC (lav).
Click Filters under Audio Output and ensure the Resampling checkbox is either off or matches your source file’s bitrate. 3. Use the "Append" Method : Avidemux is most stable with uncompressed PCM (WAV) files
Sometimes Avidemux prefers it if you don't use the "Select Track" menu immediately.
If you have the audio and video as two separate files, try opening the video first, then go to File > Append (though this is primarily for joining files, it can sometimes bypass header checks). 4. The "Muxer" Workaround
If Avidemux simply won't cooperate, use a dedicated muxing tool like MKVToolNix. Drag your video and your audio file into MKVToolNix. Uncheck the original audio and keep the new audio. Hit "Start multiplexing."
Once you have this new file, open it in Avidemux to do your final edits.
Pro Tip: Always make sure the audio file duration matches your video duration before importing, or you’ll end up with a "drifting" sync error that’s much harder to fix later.
The error "Cannot use that file as an audio track" in Avidemux typically occurs because the software is highly specific about the containers and formats it accepts for external audio. Unlike standard media players, Avidemux often requires "raw" streams rather than audio wrapped in common containers like MP4. Why This Happens
Container Conflict: Avidemux cannot use audio that is already muxed into a container like .m4a or .mp4 as an external track. It expects the raw stream (e.g., ADTS-encapsulated AAC).
Unsupported Formats: Certain formats like .ogg or Vorbis are often supported for re-encoding but may not be accepted as external input tracks.
Bit-Depth Issues: High bit-depth files (e.g., 32-bit WAV) can trigger errors; Avidemux generally prefers 16-bit or 24-bit WAV. Quick Fixes
Convert to WAV (16-bit): Use a tool like Audacity to export your audio as a 16-bit PCM WAV file. This is the most "universally acceptable" format for Avidemux.
Use Raw Streams for AAC: If you are using AAC, ensure it is in a raw format like .aac (ADTS-encapsulated) rather than an .m4a container.
Update Avidemux: Ensure you are using at least version 2.8.1 or a recent nightly build, as newer versions have improved demuxer support.
Alternative Tool: For quickly swapping audio tracks without re-encoding, MKVToolNix is often more flexible than Avidemux for handling various audio containers. How to Properly Add the Track
New user getting "Cannot use that file as audio track" - avidemux.org Unsupported audio format or codec (e
The error message "Cannot use that file as audio track" in Avidemux typically occurs because the software expects raw audio streams rather than audio stored within a container like MP4 or M4A when importing external tracks. Primary Causes of the Error
Unsupported Container Format: Avidemux cannot invoke demuxers for external audio tracks. If you try to add an .m4a or .mp4 file as an external track, it will fail because these are containers, not raw streams.
Encapsulation Issues: For AAC files, Avidemux specifically requires the audio to be in a raw ADTS or LATM envelope. Standard M4A files from iTunes or Audacity are often rejected for this reason.
Bitrate and Bit-Depth Restrictions: External audio tracks may fail if they use incompatible bit rates; specifically, some users find that audio rendered at 16-bit or lower works more reliably.
Metadata Corruption: Excess metadata at the head of a file (common in files from Traktor or similar DJ software) can confuse Avidemux, causing it to misinterpret frame headers and reject the file.
Version Mismatch: Older versions of Avidemux have more limited support for modern external audio streams. Using the latest release (e.g., version 2.8.1 or later) is often recommended as a first step to resolve these bugs. How to Fix the Error
To resolve this, you must provide Avidemux with a compatible raw audio format. 1. Convert to a Supported Raw Format
Convert your audio file to one of the following formats, which are natively supported as external tracks: MP3 (Constant Bit Rate is most stable). AC3. WAV (16-bit or 24-bit PCM). Raw AAC (ADTS-encapsulated). 2. Use FFmpeg for Quick Remuxing
If you have an M4A or MP4 file and want to strip it to a raw stream for Avidemux, you can use the FFmpeg command line tool:
# To extract raw AAC from an M4A container ffmpeg -i input.m4a -acodec copy -bsf:a aac_adtstoasc output.aac Use code with caution. Copied to clipboard 3. Adjust Metadata
If you suspect metadata is the issue, you can try "cleaning" the file by running it through a simple converter or a metadata stripper. Removing the first several bytes of a file that contains Traktor metadata has been known to fix rejection issues.
Avidemux will never accept:
In those cases, always convert to 48 kHz 16‑bit PCM WAV – that’s the most reliable format for Avidemux.
If your external audio file is shorter or longer than the video by a fraction of a second, Avidemux’s copy mode may panic.
The Fix:
In Audio > Main Track, check Shift and Delay. Don't change them; just toggle the checkbox. Sometimes this forces Avidemux to recalculate the duration. Alternatively, use Audacity to trim/silence the audio to exactly match the video length (down to the millisecond).