# the command creates a video named output.mp4 which is as long as the music file a.mp3 and all it shows is a static image named static.png # useful if you want to upload mp3 to youtube, but it only lets you upload videos ffmpeg -loop 1 -i static.png -i a.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4