Summary
What the error means
Common causes
How to diagnose
Quick fixes (ordered from simplest to more advanced)
ffmpeg -i input.m4a -c:a pcm_s16le output.wav
Recommended step-by-step using ffmpeg (reliable)
When to seek alternatives
Tips to avoid the issue
Verdict
Would you like a short ffmpeg script tailored to a specific input file (tell me its filename and extension) to convert it into a compatible audio track?
(Remember to run Avidemux from a terminal to capture any error messages if you need further troubleshooting.) avidemux cannot use that file as audio track
The error message "Avidemux cannot use that file as audio track"
is a common hurdle for video editors using this open-source tool. It typically occurs when there is a mismatch between the file format sampling rate
of the external audio file and what Avidemux is prepared to mux into the video container Common Culprits Incompatible Containers:
While Avidemux is versatile, it can be picky about the container of the audio source. For example, trying to import a high-bitrate file into a container like
occasionally triggers a generic rejection if the header information is malformed. Compressed vs. Uncompressed:
Avidemux often struggles if the audio file uses a variable bitrate (
) or a specific proprietary codec that hasn't been properly indexed. Sampling Rate Mismatch:
If your video project is set to a specific frequency (e.g., 48 kHz) and you attempt to add an audio track with a significantly different or non-standard rate, the software may fail to bridge the gap automatically. How to Fix It Transcode First:
The most reliable solution is to convert your audio file to a standard
format using a tool like Audacity or an online converter before importing it. Check the Audio Menu: Ensure you are using the Audio -> Select Track Review: Avidemux — "Cannot use that file as
menu correctly. Sometimes, toggling the "Enabled" checkbox or manually selecting the "Add audio track" option from the dropdown menu bypasses the initial error. Update the Software:
Older versions of Avidemux have known bugs with specific audio headers. Ensuring you are on the latest stable release often resolves codec compatibility issues.
In short, this error isn't usually a sign of a "broken" file, but rather a communication gap
between the audio's metadata and the video container’s requirements.
The error "Cannot use that file as audio track" in Avidemux typically occurs because the software is unable to handle certain container formats or specific codecs when they are loaded as external tracks. Why This Happens
Unsupported Containers: Avidemux often cannot demux external audio that is still wrapped in a container like .m4a or .mp4. It generally requires raw audio streams (e.g., raw AAC, MP3, or AC3) rather than files meant for playback in media players.
Codec Incompatibility: Certain codecs, such as Vorbis or specific AAC variants in proprietary Apple formats, may not be supported for external insertion without first being re-encoded or extracted.
Software Version: Older versions (like 2.7.x) sometimes trigger this error for files that work in legacy versions like 2.5 or newer nightly builds. How to Fix It Cannot use mp3 as audio track - avidemux.org
The "cannot use that file as audio track" error in Avidemux typically occurs because the software is strict about the format and container of external audio files. Common Causes and Solutions Unsupported Audio Container:
Avidemux often fails to import audio that is already inside a container like M4A (Apple's AAC container) . It prefers "raw" audio streams. Convert your audio to a standard format like WAV (16-bit) before importing. AAC Stream Type: Avidemux is a lightweight, free video editor focused
For AAC files, Avidemux generally requires the audio to be in an encapsulation rather than muxed into an M4A file. WAV Bit Depth: If you are using a WAV file, ensure it is . Avidemux sometimes struggles with 32-bit float WAV files. Metadata Interference:
Certain metadata (like Traktor tags in MP3s) can confuse Avidemux's header detection. Strip the metadata or re-save the file using a tool like Software Version: Ensure you are using the latest stable release (e.g.,
or newer), as bug fixes for file detection are frequently added to newer builds. avidemux.org Recommended Workarounds Cannot use mp3 as audio track - avidemux.org 3 Nov 2020 —
Ensure that you're running the latest version of Avidemux. You can check for updates by:
Ensure that the audio codec and bitrate are compatible with Avidemux. You can check the audio codec and bitrate using a tool like MediaInfo or FFmpeg.
If your audio file uses an unsupported codec or bitrate, you may need to re-encode it.
Error Message: Avidemux cannot use that file as audio track
Software: Avidemux (commonly v2.7+ on Windows/Linux/macOS)
Context: User attempts to load an external audio file (MP3, AAC, WAV, etc.) as a replacement or additional audio track for a video.
Symptoms: Error appears immediately after selecting the audio file, preventing further processing.
Avidemux supports a variety of audio and video formats, but it's not exhaustive. The most commonly supported audio formats include WAV, MP3, and AAC. If your audio file is in a less common format, Avidemux might not support it.
Avidemux might have issues with certain sampling rates or bit depths.
ffmpeg -i input.aac -vn -ar 44100 -ac 2 -ab 192k output.wav
Adjust parameters as necessary.Below are proven solutions, ranging from simple setting changes to intermediate transcoding methods.
This is the culprit in 80% of cases. If your video is in an MP4 container but you are trying to add an MP3 audio track, Avidemux will often refuse. Why? The MP4 specification strongly prefers AAC audio. While some players accept MP3-in-MP4, Avidemux adheres strictly to standards.
video.mp4 (H.264), External Audio = song.mp3 (MP3). Avidemux tries to copy MP3 into MP4 → Error.Мы применяем куки для сбора обезличенной информации о посетителях и обрабатываем персональные данные, вводимые вами при регистрации. Используя сайт, вы принимаете соглашение об использовании сайта и политику обработки персональных данных.