Generating a Rick Roll file
Generating an avi or mov movie from a single picture file is done with the following script:
for i in `seq 2 $1`; do cp 1.jpg $i.jpg done mencoder "mf://*.jpg" -mf fps=1 -o test.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 ffmpeg -i test.avi test.mov
The picture you want to be in the movie has to be called 1.jpg for this script to work.