rotate and auto-level video with mencoder
The proper CLI incantation to get mplayer/mencoder to clockwise rotate, apply an autolevels filter and re-sample an AVI video is: mencoder dscf5432.avi -vf rotate=1,pp=al -ovc xvid -xvidencopts pass=1:bitrate=687 -oac copy -o out.avi