JUN 08

Much thanks to these blog posts for revealing the secrets behind rotating video with mencoder. Specifically, I had taken video on my D90 which needed to be rotated into portrait.

mencoder -vf rotate=3,scale=405:720 -o middle.avi -oac copy -fafmttag 1 -ovc lavc -lavcopts vcodec=mjpeg input.avi
mencoder -vf expand=960:720 -oac copy -ovc lavc -lavcopts vcodec=mjpeg middle.avi -o output.avi
blog comments powered by Disqus