2
1
The following command takes the mp3, attaches an image to it, and converts it to an mp4:
ffmpeg -i input.mp3 -loop 1 -i image.png -c:a copy -c:v libx264 -shortest output.mp4
I need to do this for all the mp3s in a folder. How would I code this?
Hi Doc Chop, welcome to Super User. What are you trying to achieve? A video of each MP3 with a single image? Or a different image per MP3 file?
– bertieb – 2015-07-02T19:35:10.6102Which OS? Windows, Mac or Linux? – Zalmy – 2015-07-02T20:37:42.227
Thank you! I'm trying to apply the same image to each mp3 in a folder. The operating system is windows 8 and the desired output for the file is mp4. I appreciate your help. – Doc Chop – 2015-07-07T17:54:20.907