Trying on converting an mp3 audio and a jpeg image as background image into a mp4 video, video conversion should terminate after it reaches the audio play length.
Here's the ffmpeg commandline. The conversion is successful and encoded mp4 audio is also good, but the image don't seem to appear. Do I have to specify a screen resolution? Am I making any mistake? How can I make the command more faster (I can't use -c:a copy
as I may be converting other audio formats)?
ffmpeg -y -loop 1 -framerate 15 -i "/storage/emulated/0/Download/Kites.jpg" -i "/storage/emulated/0/Download/myaudio.mp3" -c:v libx264 -c:a libmp3lame -shortest "/storage/emulated/0/Download/Out.mp4"