Introduce basic x265 encoding support.

git-svn-id: http://svn.code.sf.net/p/megui/code@2422 a21b8521-4df1-4ed3-b48c-cff5bc73dcb3