Browser FFmpeg recipe
Create Audio Waveform Online with FFmpeg
Create a 1280 by 240 waveform image from an audio file.
Command
Run this FFmpeg command
ffmpeg -i audio.mp3 -filter_complex showwavespic=s=1280x240:colors=0x1169e8 -frames:v 1 waveform.pngWhen to use it
- podcast artwork
- audio previews
- visual sound checks
How it works
- Upload the audio file.
- Adjust waveform size or color if needed.
- Run FFmpeg and download the waveform image.
Option reference
| Option | What it does |
|---|---|
showwavespic | Draws the waveform as an image. |
s=1280x240 | Sets the output image size. |
-frames:v 1 | Writes one image frame. |
Practical notes
- Change the color value to match your brand or background.
- Long audio files may take longer to analyze in the browser.
FAQ
Can I make the waveform taller?
Yes. Change the size value, for example s=1280x480.
Can I use video input?
Yes, if the video has audio, FFmpeg can draw a waveform from it.