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'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 need to do this for all the mp3s in a folder. How would I code this?
P.S. I'm also in need of the code that can attach an intro mp4 to multiple mp4 files in a folder.
Your PS may be better asked as a separate question. It may be a simple case of using the
concat
filter (for example); but that is based on certain assumptions and so it would be better asked separately :) – bertieb – 2015-07-08T21:51:20.040