Created
March 31, 2020 06:42
-
-
Save daftspaniel/97863d0780d3db1824a3abc08f216afb to your computer and use it in GitHub Desktop.
FFMPEG to convert MP3 and JPG to video with wave form.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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