天天看点

centos6下安装mplayer

  mplayer支持相当多的格式,所以想换一下玩玩。

  从官网上下载下来mplayer-export-snapshot.tar.bz2

  在./configur报错

  “No FFmpeg checkout, press enter to download one with git or CTRL+C to abort”

   回车下载ffmpeg,回车后

   /configure: line 53: git: command not found Failed to get a FFmpeg checkout

   google搜了一圈也没找到答案,就选择用rpm包方式安装,

   下载mplayer1.0-0.126.20110816svn.fc16.x86_64.rpm

   发现依赖关系太多,有些YUM里还没有,无奈了,太多包总不能一个一个去找吧

   最后还是选择用源码方式安装,只是换一个版本

   下载MPlayer-1.0rc3.tar.gz

   tar zxvf MPlayer-1.0rc3.tar.gz

   cd MPlayer-1.0rc3

   ./configure --prefix=/usr/local/mplayer --enable-gui

   make&&make install

继续阅读