# 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