主要参考[1],没有使用--enable-libx264,因为只用来解码。
./configure后出现VA-API版本不够,按照[2]进行安装,忽略了
1 wget http://paste.kde.org/6967/raw/ -O Libva_testdir_makefile.patch
2 patch -p1 < Libva_testdir_makefile.patch
2 patch -p1 < Libva_testdir_makefile.patch
Reference
[1] http://ubuntuforums.org/showthread.php?t=786095
[2] http://forum.xbmc.org/showthread.php?t=96669