0
1
I need to convert an mp3 to mp4 with image (1080x720) using ffmpeg from my OSX command line.
I already installed last version of ffmpeg (3.0.2), and tried the following command as described here
./ffmpeg -loop 1 -i test.jpg -i test.mp3 -c:a copy -c:v libx264 -shortest test.mp4
but the result mp4 file is not compatible with my iphone 5
Now this is what I am trying
./ffmpeg -loop 1 -i test.png -i test.mp3 -pix_fmt yuv420p -profile:v baseline -level 3.0 test.mp4
but the command takes a lot, never ends.
If I interrupt it, the output mp4 file is huge with a duration of about 45 min!
After 3:00 min I can see only the image without audio...
What's the console readout? – Gyan – 2016-05-03T16:20:13.650
please read my updated question – neoDev – 2016-05-03T16:48:00.640
Updated command. – Gyan – 2016-05-03T16:55:07.380