红联Linux门户
Linux帮助

ubuntu自带“电影播放机”也玩万能播放

发布时间:2007-07-02 00:48:10来源:红联作者:Bymaunte
  mplayer虽然号称万能,但总是运行不稳定,源里更新比较慢,要完美安装配置稍显麻烦

  所以为了能更快的得到一个可以配置一个基于xine-lib的totem:

  gstreamer是gnome主推的多媒体平台。xine是另外一个多媒体平台,功能非常强大。我们把系统自带的totem卸载,改为使用xine后端的totem,这样就可以播放rmvb等视频了。

  安装gstreamer的解码器
  sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

  安装xine及解码器
  sudo apt-get install libxine-extracodecs totem-xine ffmpeg lame faad sox mjpegtools libxine-main1

  安装w32codecs
  sudo apt-get install w32codecs

  现在7.04的源里还没有w32codecs,大家可以在这一手动下载安装
  http://www.debian-multimedia.org/pool/main/w/w32codecs/

  Totem 播放 rmvb 没有声音,解决方法:

  编辑 ~/.xine/catalog.cache 文件
  找到
  [/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
  把 decoder_priority 增加到 10。
文章评论

共有 0 条评论