Today I needed to convert an ogv file to an avi file. I found this script after a quick search in the web. But for some reason mencoder did not work for me. It was cutting the video. A big mess. So I changed it with ffmpeg and all is good.
Here is the ogv2avi script I made: