Tuesday, March 25, 2008

Multimedia codecs and players

  1. Add the extra repositories.
  2. (optional) Install DVD playback capability and Windows Media and RealPlayer codecs (see the Restricted Formats page):
    wget -c -P /tmp/ http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20071007-0.0_i386.deb
    wget -c -P /tmp/ http://www.debian-multimedia.org/pool/main/libd/libdvdcss/libdvdcss2_1.2.9-0.0_i386.deb
    sudo dpkg -i /tmp/w32codecs_20071007-0.0_i386.deb /tmp/libdvdcss2_1.2.9-0.0_i386.deb
  3. (recommended) Install Totem with the Xine back-end:
    sudo apt-get install totem-xine libxine1-plugins
  4. (recommended) Make Totem the preferred multimedia player:
    gconftool --type string --set /desktop/gnome/applications/media/exec "totem"
  5. (recommended) Add right-click options in Nautilus for enqueuing and replacing multiple files in Totem.
  6. (optional) Install MPlayer (rubbish interface, but good to have around for the rare cases when Xine can't play something):
    sudo apt-get install mplayer
    sudo sed -i.backup -e's@gmplayer@mplayer@g' /usr/share/applications/mplayer.desktop
    sudo sed -i.backup -e's@vo=x11,@vo=xv,@g' /etc/mplayer/mplayer.conf
  7. (optional) Install the MPlayer plugin for Firefox:
    sudo apt-get install mozilla-mplayer

0 comments: