FFmpeg Cookbook
JA

Audio Waveform Video Maker

Turn an audio file into an MP4 with a moving waveform, for YouTube, podcasts or social posts. Everything runs in your browser.

Your file is not uploaded
Drag & drop an audio file, or tap to select
MP3 / WAV / M4A / AAC / FLAC / OGG, up to 100 MB
—
—
Output is 1280×720 at 25 fps, H.264 + AAC. Rendering is roughly real-time in the browser, so a 3-minute song takes a few minutes — keep clips short for a quick result.
Rendering… 0%

Equivalent FFmpeg command

CLI command for your current settings. Updates live as you change controls.

ffmpeg -i input.mp3 -filter_complex "[0:a]showwaves=s=1280x720:mode=line:rate=25:colors=0x00d4aa:draw=full,format=yuv420p[v]" -map "[v]" -map "0:a:0?" -c:v libx264 -preset veryfast -crf 24 -c:a aac -b:a 192k -shortest -movflags +faststart output.mp4

How to use

  1. Drop an audio fileMP3, WAV, M4A, FLAC and more, up to 100 MB and 10 minutes. Shorter audio renders faster.
  2. Pick a style and colorLine draws lines up and down from the center, filling in the wave. Point to point joins the samples with one thin line. Centered line draws the wave mirrored above and below the center.
  3. Render and downloadPress Render waveform video to write the MP4. Play it, then download.

When it goes wrong

Rendering takes a very long time

Cause: The tool draws 25 pictures per second of audio and compresses them with H.264, so longer audio takes longer. Speed depends on the device.

Fix: If you only need part of the audio, cut it down first.

An error says the length could not be read

Cause: The browser cannot read this file's length, so the 10-minute limit cannot be checked.

Fix: Re-export it as a standard MP3 or WAV and try again.

The waveform looks flat

Cause: Quiet audio draws a small wave.

Fix: Even out the loudness first with the Volume Normalizer, then render.

Questions

What resolution and frame rate is the output?

1280×720 at 25 fps, with H.264 video and AAC audio (192 kbps).

How long can the audio be?

Up to 10 minutes and 100 MB. Longer audio takes longer, and a notice appears past 1 minute and again past 3 minutes.

Can I change the waveform look?

Yes. Pick the style (Line / Point to point / Centered line) and one of four colors. The background is black.

Is my audio uploaded?

No. Everything runs in your browser with ffmpeg.wasm, and the file is not sent anywhere.

More detail (settings, limits, FFmpeg commands)

What each setting means

Waveform style
The mode of FFmpeg's showwaves filter: line (a vertical line from the center for each sample), p2p (sample points joined by a line) or cline (a vertical line centered on the middle for each sample).
Color
The waveform color. The background is black.

Browsers and limits

  • Audio up to 10 minutes and 100 MB. Longer audio takes longer to render.
  • Output is fixed at 1280×720 / 25 fps. There is no custom resolution and no frequency spectrum view.

The same job with the FFmpeg command line

Audio → 720p waveform MP4
ffmpeg -i in.mp3 -filter_complex "[0:a]showwaves=s=1280x720:mode=line:rate=25:colors=white:draw=full,format=yuv420p[v]" -map "[v]" -map 0:a:0? -c:v libx264 -preset veryfast -crf 24 -c:a aac -b:a 192k -shortest -movflags +faststart out.mp4