Skip to content

Instantly share code, notes, and snippets.

@daftspaniel
Created March 31, 2020 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daftspaniel/97863d0780d3db1824a3abc08f216afb to your computer and use it in GitHub Desktop.
Save daftspaniel/97863d0780d3db1824a3abc08f216afb to your computer and use it in GitHub Desktop.
FFMPEG to convert MP3 and JPG to video with wave form.
ffmpeg -i audio.mp3 -i logo.jpg -filter_complex "[0:a]showwaves=s=1280x720:mode=line,colorkey=0x000000:0.01:0.1,format=yuva420p[v];[1:v]scale=1280:720[bg];[bg][v]overlay[outv]" -map "[outv]" -map 0:a -c:v libx264 -c:a copy output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment