Skip to content

Instantly share code, notes, and snippets.

@ekkebus
Created April 30, 2020 13:08
Show Gist options
  • Save ekkebus/35b892a200bd8c9d3c2edf808c93d21c to your computer and use it in GitHub Desktop.
Save ekkebus/35b892a200bd8c9d3c2edf808c93d21c to your computer and use it in GitHub Desktop.
FFMPEG transparent audio wave visulatsation on background image (Audio Library like)

ffmpeg -y -i input.mp3 -loop 1 -i background.png -filter_complex "[0:a]showfreqs=s=1920x300:colors=#ffffff:win_size=4096:win_func=hanning:fscale=lin[v];[1:v][v]overlay=0:780[outv]" -map "[outv]" -pix_fmt yuv420p -map 0:a -c:v libx264 -c:a copy -shortest output-audio-frequency-visualisation.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment