Back to blog

How to Make a Music Visualizer Video

Nov 22, 2026ReelBoopReelBoop

Turn a finished song into a waveform or spectrum video. Follow a tested FFmpeg export, choose a visual style, and check timing and sound in the final MP4.

Concept illustration: How to Make a Music Visualizer Video
AI concept illustration

A music visualizer video gives a finished audio track a moving picture. A waveform shows how the sound swells and falls. A spectrum shows which frequencies are strongest at a given moment. A lyric video displays words against a manually or automatically prepared timing track. Pick the one you want viewers to follow, then export the sound and picture together as an MP4.

The example below makes a waveform with a lime line against black, starting from an audio file. It keeps the source audio in the finished video and uses a picture sized for a landscape player. You can make a vertical cut from the same audio when you know which section you want to share.

Choose what should move

The viewer should noticeUse
The pulse or dynamics across an entire trackA waveform. It needs space around the line for both quiet passages and big peaks.
The interplay between bass, drums and higher soundsFrequency bars. Give the bars enough horizontal space to read separately.
The words as they are sungTimed lyrics. Set the phrase boundaries, then check each entrance against the vocal. A spectrum can sit behind them at lower contrast.
The title and cover artworkA small waveform below fixed artwork. Give new viewers time to read the track name before animation competes with it.
Waveform, frequency bars and timeline cues for timed lyrics
Choose whether the picture should follow loudness, frequencies or the words.

A waveform shows amplitude over time. A spectrum breaks the signal into frequencies. Neither automatically knows which instrument or lyric you want to emphasize. FFmpeg's filters describe the separate rendering options. FFmpeg audio visualization filters

Prepare the sound and artwork

Use the track you plan to publish. If it is your own mix, start from the highest-quality file you already have. Confirm the beginning and end in an audio player. A count-in, empty export tail or unintended cut in the last note will also be present in the video. Keep a clean master and use a copy if you trim for social.

For the image, place the artist and track names where the movement can leave them clear. When the frame includes a photo or custom artwork, crop for the destination before deciding where the animation sits. On a phone the visualizer should still be recognizable at a glance. Make the graphics large enough for a paused screenshot and check the most active moment for competing detail.

For a YouTube release using Audio Library material, check the individual track's license and copy any required attribution into the description. Check rights for the music and artwork at your intended destination, including a separate social version. YouTube Audio Library guide

Make a waveform MP4 with FFmpeg

With FFmpeg installed, put a file named track.wav in your working directory. The first pass below produces a 1280 × 720 picture. Run a short audio excerpt first if your final track is long.

ffmpeg -i track.wav \
  -filter_complex "[0:a]aformat=channel_layouts=mono,showwaves=s=1280x720:mode=cline:rate=30:colors=lime,format=yuv420p[v]" \
  -map "[v]" -map 0:a:0 \
  -c:v libx264 -crf 20 -c:a aac -b:a 192k -ar 48000 \
  -movflags +faststart -shortest waveform.mp4

The filter reads a mono mix for a single centered line. The separate audio mapping takes the first stream from the input for the soundtrack, keeping its stereo channels if it has them. The video filter produces pictures continuously, and the resulting MP4 carries a normal AAC audio stream. An MP3 input also works by changing the input filename to match. Use a fresh output filename if an earlier render exists. FFmpeg stream mapping

To make a portrait version, change 1280x720 to 720x1280 and save under a different filename. For a 30-second teaser, first mark an excerpt that starts on a complete musical phrase and ends on a final beat. Render the same excerpt for both aspect ratios so you can compare the framing. For artwork and lettering, build those elements in an editor before exporting. Open the actual MP4 after the render rather than relying on the editor's live preview. YouTube's encoding reference documents H.264 in MP4, progressive frames, supported audio codecs and sample-rate recommendations. YouTube encoding reference

Set up a spectrum or a lyric version in an editor

Spectrum in Shotcut. Make a short video with your artwork or a black background and the soundtrack embedded. Add that clip to a video track. Select the track, open Filters → Audio Spectrum Visualization, choose Bar, and move the bars into a clear part of the frame. Play the clip to check the movement. The filter reads the audio assigned to the video track. If the music is only on a separate audio track, the published guide says that layout will not drive this filter. Shotcut spectrum filter documentation

Lyrics. Start with one line or phrase per entrance. Add markers where the words actually start, then place text using those markers. Play from a beat before each entrance so you can hear the timing and leave room at the end of longer phrases. If the song uses synced lyrics, a lyric-aware app such as Nuvo documents a separate local export path. Its README documents MP4 exports for part of a track or the full song, with a small Made with Nuvo mark. Check file support and follow its export instructions. Nuvo export and synced lyrics documentation

Fix common problems before you export again

  • The visualization barely moves. Listen first to check whether the intended input contains sound. For quiet music, try scale=sqrt on the waveform filter. It changes the visual response while leaving the mapped soundtrack alone.
  • The bass fills the entire panel. Shorten the spectrum display range or lower the visual level, then replay a loud chorus and a quiet intro. Leave enough headroom in the picture for both.
  • The picture moves but there is no music. Inspect the file for an audio track. The FFmpeg command maps audio explicitly. In an editor, check that the intended soundtrack is present and audible in the export.
  • The sound or image cuts off early. Check the source end and output duration. Play the last sustained note and final fade, and check the last picture against the end of the audio. If you add a title card after the song, set that tail in the editor and verify its duration separately. YouTube upload audio and video troubleshooting

Review the exported file

Play the first few seconds, the busiest section, and the final note. The waveform should react to the beats you hear, and the output should keep the full part of the track you intended. Make sure the title stays legible over the largest movement, the file plays on the target device, and any lyrics match the vocal at both the start and end. For the finished soundtrack, use the video quality control checklist to confirm timing and audio after encoding.