I have a long ogg sounds file that I want to put on youtube, I don't have a video so want to display a single jpg for the duration for the ogg. I've seen:
avconv -i "sound file.ogg" -i cog.jpg out.avi
I have adjusted the jpg to be 640 x 480 but I get the following warnings:
Incompatible pixel format 'yuvj420p' for codec 'mpeg4', auto-selecting format 'yuv420p' Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt' [ac3 @ 0x18ae340] invalid bit rate
And it bombs out on:
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
Any ideas on what parameters I could use to make this work?