Multimedia and DVDs in Ubuntu

From FreekiWiki
Revision as of 12:41, 23 July 2008 by MichaelWestwind (talk | contribs) (updated hardy instructions (in progress))
Jump to navigation Jump to search

Since downloading some of the following libraries may violate some Digital Millenium Copyright laws, this wiki page is for educational purposes only. Anyone who follows these directions for their computer does so at their own risk.

In order to make DVD's work in Ubuntu, you need to add some additional software. This software ius not installed by default because of legal issues.

  • Make sure you are connected to the internet
  • In System>Administration>Software sources, put a check next to the multiverse line
  • Enable the medibuntu sources by copying and pasting the following two lines into a terminal window.
   sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
   wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
  • Install the following packages, either from synaptic or from the command line (below):
    • libdvdcss2
    • vlc
    • ubuntu-restricted-extras
   sudo apt-get install libdvdcss2 vlc ubuntu-restricted-extras

This procedure adds a second media player (vlc) which will appear in Applications>Sound and Video as well as flash, java, quicktime and some other media helpers and plugins.

Ubuntu Dapper Drake (outdated?)

Check out this page for additional information on Ubuntu and restricted media formats.

So, you've bought a DVD-ROM from the Thrift Store, and you want to play DVDs on your FreekBox. You'll need to install a few programs in order to make it work.

  • Physically install the drive, paying attention to whether the drive should be master or slave. If you replace the CD drive, the DVD drive must be set to master or cable-select.
  • uncomment the universe deb lines in /etc/apt/sources.list (should already be done in our boxes), then run the following commands:
sudo apt-get update
sudo apt-get install totem-xine libxine*
In the second line above, the asterisk is part of the command.
  • In order to play commercial encrypted DVDs, you will need to also install the libdvdcss library. There are potential legal issues with this which is why Free Geek does not install this package on their boxes. See wikipedia:libdvdcss.
  • to install libdvdcss run the following:
sudo /usr/share/doc/libdvdread3/examples/install-css.sh

Ubuntu Gutsy Gibbon (7.10)

So, you've bought a DVD-ROM from the Thrift Store, and you want to play DVDs on your FreekBox. You'll need to install a few programs in order to make it work.

  1. Physically install the drive, paying attention to whether the drive should be master or slave. If you replace the CD drive, the DVD drive must be set to master or cable-select.
  2. Open the Synaptic installation program (System -> Administration -> Synaptic)
  3. Search for ubuntu-restricted-extras and install it. This will enable video playback for some (but not all) formats, as well as enable the flash player, java, some special fonts, and MP3 playback. For more information on this package please go here.
  4. In order to play commercial encrypted DVDs, you will need to also install the libdvdcss library. There are potential legal issues with this which is why Free Geek does not install this package on their boxes. See wikipedia:libdvdcss.
    • to install libdvdcss and a few other bits of software to enable DVD playback, type the following into a terminal:
sudo apt-get install libdvdread3 libxine1-ffmpeg totem-xine build-essential debhelper fakeroot

then

sudo /usr/share/doc/libdvdread3/install-css.sh

Note: This info was found here.