How to Make a Music Visualizer Video for Free (With ffmpeg or Any Editor)

How to Make a Music Visualizer Video for Free (With ffmpeg or Any Editor)

A music visualizer video is your audio on top of a still image, a looped clip or an animated waveform. You can make one for free with ffmpeg, a free command-line tool, using a single command, or with any video editor. Use artwork and footage you own, export a 1080p video for YouTube or a 9:16 vertical file for Shorts, and make each upload visually distinct so your channel does not look mass-produced.

Streaming services only need audio, but YouTube needs a video. A visualizer is the fastest way to get a track onto YouTube with something to look at. This guide gives you commands we tested on December 5, 2026, with notes on what each one does. If you prefer a graphical editor, the same ideas apply.

Key Takeaways

  • ffmpeg can do it in one command. It is free, open source and runs on Windows, Mac and Linux.
  • Four formats cover most needs: a static image with audio, an audio waveform overlay, a looped background clip and a short vertical teaser.
  • Use only visuals you have the rights to. Your own artwork, your own footage or licensed material.
  • Shorts are vertical. YouTube's help pages say vertical videos of 1-3 minutes are categorized as Shorts.
  • Do not upload the same template over and over. YouTube's monetization rules list repetitive, templated content as ineligible. See what YouTube says about AI music and monetization.

What do I need?

  • Your finished audio as a WAV or high-quality MP3 file.
  • A cover image (a square or 16:9 for YouTube, 9:16 for Shorts) that you own or have the rights to use.
  • ffmpeg, available at ffmpeg.org, or a video editor you like.
  • Optional: a short looping clip, such as your Spotify Canvas. See how to make a Spotify Canvas.

All commands below assume the files are in the same folder as you run them. Replace cover.png, track.wav and the other filenames with your own.

Option 1: Static cover image and audio

This is the simplest YouTube upload. The video shows your cover art for the whole length of the track.

ffmpeg -loop 1 -i cover.png -i track.wav \
  -c:v libx264 -tune stillimage -r 30 -pix_fmt yuv420p \
  -c:a aac -b:a 192k -shortest static.mp4

What it does: loops the image as video (-loop 1), uses a still-image encoding tune, sets 30 frames per second and a widely compatible pixel format, encodes the audio as AAC and stops when the audio ends (-shortest).

Tip: make the image 1920x1080 for a standard YouTube video, or 1080x1920 for a vertical one. YouTube may re-compress your upload anyway, so start with a clean, sharp image.

Option 2: Audio waveform overlay

Add a moving waveform to make the video feel alive. ffmpeg's showwaves filter draws the audio as a waveform, and overlay places it on your image.

ffmpeg -loop 1 -i cover.png -i track.wav -filter_complex \
  "[1:a]showwaves=s=1080x300:mode=cline:colors=white:scale=sqrt:rate=30[w]; \
   [0:v][w]overlay=x=0:y=H-h-260:format=auto:shortest=1,format=yuv420p[v]" \
  -map "[v]" -map 1:a -c:v libx264 -tune stillimage \
  -c:a aac -b:a 192k -shortest waveform.mp4

We tested this with a 1080x1920 image and it produced a 1080x1920 H.264 video with AAC audio at the length of the audio. What the options do:

  • s=1080x300 sets the size of the waveform strip. Match its width to your video width.
  • mode=cline draws a centered line. Try line, point or p2p for different looks.
  • colors=white sets the color. Use a hex value such as 0xff2222 to match your art.
  • scale=sqrt boosts quiet audio so the wave is visible. Use lin for a literal look.
  • y=H-h-260 places the strip 260 pixels above the bottom edge. Adjust to taste.

If your video is 1920x1080, change the strip size to something like 1920x240.

Option 3: Looped background clip and audio

Loop a short video behind the whole track. This works with a Canvas loop, a short animation or footage you shot.

ffmpeg -stream_loop -1 -i loop.mp4 -i track.wav \
  -map 0:v -map 1:a \
  -vf "scale=1080:1920:force_original_aspect_ratio=increase,crop=1080:1920,format=yuv420p" \
  -c:v libx264 -crf 20 -c:a aac -b:a 192k -shortest loopbg.mp4

-stream_loop -1 repeats the clip forever, and -shortest ends the video when the audio ends. The scale and crop filters fill a 9:16 frame. For a landscape video, use 1920:1080 in both places. Keep loops seamless: a rebound loop (forward then reverse) is a simple way to hide the seam. The Canvas guide shows an ffmpeg recipe for that.

Option 4: A 30-second vertical teaser

Cut a short highlight with fades for Shorts, Reels and other social platforms. First trim the audio and add fades, then build the video.

ffmpeg -ss 45 -t 30 -i track.wav \
  -af "afade=t=in:d=0.5,afade=t=out:st=29.5:d=0.5" clip.wav

ffmpeg -loop 1 -i cover.png -i clip.wav -filter_complex \
  "[1:a]showwaves=s=1080x240:mode=cline:colors=white:scale=sqrt:rate=30[w]; \
   [0:v][w]overlay=y=H-h-300:format=auto:shortest=1,format=yuv420p[v]" \
  -map "[v]" -map 1:a -c:v libx264 -crf 20 -c:a aac -shortest teaser.mp4

The first command starts at 45 seconds, keeps 30 seconds and fades in and out. The second builds the vertical teaser. Choose the most hook-heavy section of the track, usually the first strong drop or melody, and consider opening on a dark frame before the sound hits. For more ideas, see how to promote music with YouTube Shorts.

We tested the same pattern on a short clip and it produced a valid 1080x1920 teaser file. Check your own export on a phone before uploading.

What if I prefer an editor?

Any editor works. The recipe is:

  1. Create a project at 1920x1080 (YouTube) or 1080x1920 (Shorts).
  2. Place your audio on the timeline.
  3. Add your image or looped clip on the video track and stretch it to the length of the audio.
  4. Add a waveform or spectrum effect if your editor has one, or leave it clean.
  5. Export H.264 MP4 with AAC audio at the project resolution.

Many free editors can do this. Check each editor's license and export limits before you commit.

What does YouTube require?

Mostly that you follow its normal rules. Points to remember:

  • Shorts are vertical and short. YouTube's help page says that new vertical videos of 1-3 minutes are categorized as Shorts, and that a longer Short with an active copyright claim is blocked. Make sure your audio is cleared. See YouTube Content ID for musicians.
  • Original and varied. YouTube's monetization policy lists templated slideshows and repetitive content with minimal variation as examples that are not allowed to monetize. A channel of identical visualizers with only the title changed can look mass-produced. Vary the visuals, add context in the description and give the channel an identity.
  • AI disclosure. If your music or visuals involve AI, check YouTube's current disclosure rules. We summarize them in can you monetize AI music on YouTube.
  • Rights to the image. Use your own art or properly licensed images. Do not use copyrighted film stills or someone else's artwork.

How do I get more out of a visualizer?

  • Add a title card with the track name and your artist name in the first few seconds.
  • Put your links in the description: streaming link, website, email sign-up. Our YouTube promotion guide covers titles, descriptions and playlists.
  • Make a series with consistent art so viewers recognize your releases, and vary the details.
  • Use your teaser on other platforms with the full video link in your bio.
  • Check your results in YouTube Studio and learn which videos hold attention.

Common mistakes

  • Uploading with a low-resolution image that looks soft.
  • A waveform that is too small or too faint to see.
  • Forgetting -shortest, which leaves a video that keeps running after the audio ends.
  • Using copyrighted images or footage.
  • Uploading dozens of identical-looking videos in a row.
  • Not testing the export on a phone.

FAQ

Is ffmpeg free?

Yes. ffmpeg is free and open source. Download it from the official site and check the license for your build.

What resolution should I use?

1920x1080 for standard YouTube videos and 1080x1920 for Shorts and vertical posts.

Can I use my Spotify Canvas as a YouTube video?

Yes, if you own the visuals. Loop the clip to the length of the song, as in Option 3.

Why is my waveform too faint?

Add scale=sqrt to the showwaves filter or pick a brighter color. Very quiet sections produce a thin line.

Do I need to disclose AI use?

If AI tools were used for the music or visuals, check YouTube's disclosure rules for your case. The rules change, so read the current help page.

Will a visualizer video be monetized on YouTube?

Only if your channel is in the YouTube Partner Program and the video meets the monetization policies, including the rules on originality and copyright.

Related Guides