Fix first, then why, tested

Why does a converted video have no sound, and how do you fix it?

Updated Tested November 21, 202619 ffmpeg 6.1.1 runs, 3-second clipsFix first

A muted video frame beside a restored video frame with a glowing loudspeaker emitting sound waves and a small waveform bar.

Short answer

The audio was either refused by the new container, left out of the command, or switched to a silent track. Open the output in ffprobe and look for an audio stream. If there is none, convert the audio too (-c:a aac for MP4 and MOV, -c:a libopus for WebM) and map the track you want. If the stream is there but silent, you picked the wrong track.

MOV to MP4 converter (free, in your browser)

Key takeaways

  • In 19 ffmpeg runs, 4 refused to write a file at all (exit 234). All 4 sent audio into WebM or MOV, which does not take that codec, such as AAC into WebM. R2 and R8 also copied H.264 video into WebM, which WebM refuses too. In an extra check, AAC and AC3 with VP9 video and -c:a copy failed the same way.
  • Three runs wrote a file you could play but without usable sound: no audio in the source, -an in the command, and a source with two tracks where the first one was silent.
  • Leaving the audio codec out of a WebM conversion worked: ffmpeg chose Opus on its own and the sound survived at -21.1 dB. The trouble starts with -c copy.
  • The Koldflux MOV to MP4 converter does the conversion in your browser. Check its output, like any other, with ffprobe and volumedetect.
  • A copied stream that muxed without error is not proof that every player will play it. We did not open any player.

First, look inside the converted file

Do not change anything yet. Check first. One command lists what the output holds, and it tells you which case you are in.

Find your case
What ffprobe showsLikely causeFixTest rows
No output file, error "Could not write header"The container does not accept the audio codec you copiedRe-encode the audio: -c:a aac (MP4, MOV) or -c:a libopus (WebM)R2, R6, R8, R12
File exists, no audio stream-an in the command, or the source had no audioRemove -an. Check the source with ffprobe firstR13, R16
Audio stream exists, mean volume about -91 dBTwo audio tracks, ffmpeg took the silent onePick the track: -map 0:v:0 -map 0:a:1R14, R15
Audio stream exists with a normal volume, yet your player is silentA codec your player does not handle, such as PCM or Opus in MP4Re-encode to AAC. Rows show only the muxed file; no player was testedR5, R9, R10

Rows R1 to R19 are in test-results.txt and matrix.log.

Match the result to the table. The last column names the test rows behind each case, and matrix.log has its exact command.

ffprobe -v error -show_entries stream=index,codec_type,codec_name -of csv=p=0 converted.mp4
ffmpeg -hide_banner -i converted.mp4 -map 0:a:0 -af volumedetect -f null - 2>&1 | grep mean_volume
First command: the list of streams. Second command: the mean volume of the first audio track. No audio line means case 2. No output file at all means case 1. A mean volume near -91 dB means a silent track.

How do you re-encode only the audio and keep the video?

When the container refuses the audio, keep the video stream as it is and change only the audio. We ran this on a PCM clip in a MOV file.

  • -c:v copy keeps the picture untouched and fast, as long as the container allows the video codec.
  • -c:a aac -b:a 192k re-encodes only the sound, so the audio is rebuilt once.
  • A mean volume close to the source (-21.1 dB here) says the audio survived. It says nothing about sync.

This works only when the video codec is allowed in the new container. H.264 into MP4 is, and in our runs H.264 into MKV and MOV was too. If the video codec is not allowed, drop -c:v copy and let ffmpeg encode it. For WebM that means VP9 and Opus: in R3 the command was -c:v libvpx-vp9 -b:v 300k -c:a libopus -b:a 96k, and the Opus audio came through at -21.1 dB.

To keep all of one track and nothing else, map it by number. In R15 we wrote -map 0:v:0 -map 0:a:1 -c copy on a file whose first audio track was silent and the second held the tone. The output had one AAC stream at -21.1 dB. Without the -map, R14 gave -91.0 dB.

ffmpeg -i in.mov -c:v copy -c:a aac -b:a 192k out.mp4
Video copied, audio re-encoded to AAC at 192 kb/s. Result in R10: aac stream, mean volume -21.1 dB.

Why do some containers refuse the audio?

A copy only moves the stream. It does not change it. So the question is whether the new container is allowed to hold that codec, and ffmpeg 6.1.1 enforces that when it writes the header. AAC into WebM stopped with: "Only VP8 or VP9 or AV1 video and Vorbis or Opus audio and WebVTT subtitles are supported for WebM". Opus into MOV stopped with "opus only supported in MP4".

The matrix covers the combinations people ask about. Each row is one command on a 3-second clip with a 440 Hz tone.

The WebM Project lists Vorbis and Opus as the audio codecs for WebM, which matches what the muxer enforced. The rest of the table is what the muxers did on this version. A different ffmpeg build, or a stricter flag, can differ.

One result was a surprise. MP4 accepted Opus, PCM, MP3 and AC3 with -c copy, and the sound was in the file. That tells you the file is valid for ffmpeg. It does not tell you that Safari, a TV or an editing program will play it, and we did not try any of them.

WebM without -c copy is easy. In R4 the command had no audio option at all: -c:v libvpx-vp9 -b:v 300k. ffmpeg picked Opus by itself and the output measured -21.1 dB. Among the WebM tests, a refused copy was the only case where ffmpeg wrote no file. Sound is also lost by -an, by a source without audio, or by the wrong track. If a plain conversion keeps the sound and a copy does not, the codec is the cause and the container is only the messenger.

Chart of 13 ffmpeg runs: six copies into MP4, MKV and MOV kept the audio at about -21 dB, four copies into WebM or MOV were refused with exit 234, and three runs ended with no usable audio
The 13 runs that matter most, from test-results.txt (our measurement, ffmpeg 6.1.1).

Why does the file have an audio stream but no sound?

When a file has more than one audio track, ffmpeg picks one for you. Its manual says that for audio, "it is the stream with the most channels". Here the silent first track was stereo and the tone track was mono, so the most-channels rule picked the silent one. Its audio was digital silence, so R14 produced an AAC track at -91.0 dB. The tone was in the second track.

We did not test which devices or editors write extra tracks, so check your own file. If a mean volume of about -91 dB comes back, list the streams with the ffprobe command above and map the one you want.

Two more silent outcomes are plain. A source with no audio gives an output with no audio (R13), and -an removes it on purpose (R16). The conversion did nothing wrong in either case, because it was asked to drop the sound or never had any to carry, and no flag on the command line can bring back a track that was never in the source file. Nothing to fix.

Can you convert without the command line?

The Koldflux MOV to MP4 converter does this conversion in your browser tab; nothing is uploaded. We loaded the PCM clip into it in Chromium, and the screenshot shows the result screen with the Download MP4 button. Its page says streams are copied into the new container and re-encoded only if a codec does not fit.

Whatever tool you use, check the output the same way as the ffmpeg runs above: ffprobe must list an audio stream, and volumedetect must show a normal level.

That is one clip loaded into one tool in one session. We publish no size or volume figures for its output here, because they are not in the test log.

The Koldflux MOV to MP4 converter after loading pcm.mov, with a Download MP4 button and a note that streams are copied into the new container and re-encoded only if a codec does not fit
The Koldflux MOV to MP4 converter on koldflux.com after loading the PCM clip.

Limits: what this test does not show

The clips are 3 seconds long and 320 by 240 pixels, with a synthetic picture and a 440 Hz tone. Real files have longer audio, other sample rates, surround sound and drifting timestamps. Only ffmpeg 6.1.1 on Ubuntu was used; another version or a stricter muxer setting can accept or refuse different combinations.

The checks were presence of a stream and its volume. No player, browser, phone, TV, editor or social platform was opened, so whether a given app plays a given codec in a given container is not verified here. Files with variable frame rate, damaged audio or protected content were left out.

What the test does support: three of the four causes in the table are reproducible, each with a fix that was run (the fourth, a player that does not decode the codec, is advice, because no player was tested), and an audio stream that ffprobe lists with a normal volume is in the file.

Do it in your browser

Free Koldflux tools, no account needed.

MOV to MP4 converter (free, in your browser)MP4 to WebM converterVideo to audio converters (extract the sound)

Questions people ask

Why does my converted video have no sound?

The audio stream is missing from the output, or it is there but silent. Run ffprobe on the output. If there is no audio stream, the container refused the audio, -an was in the command, or the source had none. If the stream is there at about -91 dB, ffmpeg picked a silent track.

Which audio codec should I use for MP4?

AAC is the usual choice for MP4, and the command is short: -c:a aac -b:a 192k. In our tests ffmpeg also wrote Opus, MP3, AC3 and PCM into MP4, but we did not test whether players play them.

Why does ffmpeg refuse AAC in a WebM file?

WebM allows Vorbis and Opus audio. ffmpeg 6.1.1 stops with an error and writes no file if you copy AAC, AC3 or MP3 into it. Re-encode with -c:a libopus.

Is -c copy safe for audio?

It is fast. It changes nothing, which is exactly why it fails when the container does not allow the codec (four of our runs) and it carries over whatever is in the stream, including a silent track. Check the result with ffprobe.

How do I pick the right audio track?

List the streams with ffprobe, then map the one you want, for example -map 0:v:0 -map 0:a:1. Without -map, ffmpeg picks one itself, and in our two-track test that was the silent one.

The audio is in the file but my player is silent. What now?

Try AAC: -c:v copy -c:a aac -b:a 192k. Some players do not decode PCM or Opus in MP4. We could not test any player, so this is a way to rule the codec out, not a guarantee.

Related

More guides on this topic

Sources and how we checked

  1. Koldflux MOV to MP4 converter (our own tool, run November 21, 2026) (checked 2026-11-21)
  2. Koldflux test log: 19 ffmpeg runs (our measurement, November 21, 2026) (checked 2026-11-21)
  3. commands.log: every command with its exit code and error text (Koldflux) (checked 2026-11-21)
  4. matrix.log: the 19 matrix runs with exit codes and ffmpeg error text (Koldflux) (checked 2026-11-21)
  5. How to rerun the matrix (Koldflux, shell script) (checked 2026-11-21)
  6. FFmpeg documentation: automatic stream selection (checked 2026-11-21)
  7. WebM Project: container guidelines (checked 2026-11-21)

We generated seven 3-second clips with ffmpeg 6.1.1 on Ubuntu (a test pattern plus a 440 Hz tone in AAC, AC3, Opus, PCM and MP3, one clip with no audio and one with a silent track before the tone), ran 19 conversions, and read each output back with ffprobe for the audio streams and with the volumedetect filter for mean volume. We loaded the PCM clip into the live Koldflux MOV to MP4 converter with Playwright Chromium on Node.js 24 and kept the screenshot; its output is not in the log. We read the FFmpeg stream-selection documentation and the WebM Project container page. No player or device was used.