Create Circular Waveform Video with FFmpeg

This guide explains how to generate a circular waveform visualization from an audio track using FFmpeg. By utilizing the built-in avectorscope filter in polar mode, you can quickly convert any stereo audio file into a dynamic, circular video visualization perfect for music platforms and social media.

The Basic Command

To create a square-format (1080x1080) video with a circular, green waveform from an audio file, run the following command in your terminal:

ffmpeg -i input.mp3 -filter_complex "[0:a]avectorscope=s=1080x1080:t=polar:m=line:rc=0:gc=255:bc=128[v]" -map "[v]" -map 0:a -c:v libx264 -pix_fmt yuv420p -c:a copy output.mp4

Parameter Breakdown

Customizing the Visualization

You can modify the appearance of the circular waveform by tweaking the avectorscope parameters: