I need a command line program to encode a video using an image file (png, jpeg, etc). I tried ffmpeg and mencoder but can't figure out how to set the duration. The video will always be 0 seconds long. I need to show the image for like 5-10 seconds. Anyone know how? It must be command line (for automation)