I want to make a simple video with a jpeg image and a mp3 audio file using ffmpeg. I used this command:
ffmpeg -loop 1 -i image.jpg -i audio.mp3 -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest out.mp4
and get this error:
[swscaler @ 0x555f60538b40] deprecated pixel format used, make sure you did set range correctly [libx264 @ 0x555f60594d40] height not divisible by 2 (550x765) Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed!
I can't make sense of it. Could you correct the command for me?