More info here
http://gentoo-wiki.com/HOWTO_Mencoder_I ... tion_Guide