Difference between revisions of "Installing codecs and decryption"

From LinuxMCE
Jump to: navigation, search
m (Playing WMV, WMA, and RealPlayer formats)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Installation Tutorials|* ]]
 +
[[category:media]]
 +
 
{| align="right"
 
{| align="right"
 
   | __TOC__
 
   | __TOC__
 
   |}
 
   |}
[[Category:Tutorials]]
 
=Installing from Orbiter=
 
{{sectstub}}
 
=Installing from Command Line=
 
==Playing DVDs==
 
Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD.
 
By installing the ''libdvdcss2'' package you can play encrypted DVDs. To get it installed you need to follow these steps:
 
  
*Open a terminal by Select Applications->Accesories->Terminal from the Ubuntu desktop, or by pressing CTRL+ALT+F1.
+
Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD. By installing the ''[http://en.wikipedia.org/wiki/Libdvdcss libdvdcss2]'' package you can play encrypted DVDs. <br>
 +
Also, to be able to play WMV, RealMedia and other formats, it is necessary to install the w32codecs package.
 +
 
 +
 
 +
=== Installing from the Admin page ===
 +
This is the easiest method. It is done after installation has been completed.
 +
 
 +
*[[LinuxMCE Admin Website]]-->Advanced-->Software.
 +
*"Update software list".
 +
*"Add software on which computer?"-->Choose Core.
 +
*Click on the "install" buttons next to libdvdcss and w64codecs (or w32codecs if your are using a 32-bit system).
 +
*Reload the menu to confirm the software has been installed (otherwise it says "installing" forever).
 +
 
 +
{{p}}
 +
 
 +
=== Installing from the Command Line ===
 +
These instructions reflect changes to the recent versions of Kubuntu. The following method is accomplished from the Kubuntu desktop. Stop LinuxMCE entirely and bring up the Kubuntu desktop.
 +
 
 +
*From the Konsole command terminal (K--> System --> Konsole), use
 +
 
 +
sudo apt-get install kubuntu-restricted-extras
 +
 
 +
to install multiple restricted drivers at once.
 +
*For more info see the [https://help.ubuntu.com/community/RestrictedFormats Restricted Formats] section of the Ubuntu documentation.
 +
 
 +
{{p}}
 +
 
 +
 
 +
==Legacy Instructions==
 +
===Playing DVDs===
 +
''Note: These instructions have been superseded by the instructions above. They are provided for legacy reference only.''
 +
 
 +
To install ''[http://en.wikipedia.org/wiki/Libdvdcss libdvdcss2]'' (<i>see caveat above</i>) you need to follow these steps:
 +
 
 +
*Open a Konsole terminal by K--> System --> Konsole from the Kubuntu desktop, or by pressing CTRL+ALT+F1.
 
*Type this set of commands:
 
*Type this set of commands:
 
  sudo apt-get install -y libdvdread3
 
  sudo apt-get install -y libdvdread3
 
  sudo /usr/share/doc/libdvdread3/install-css.sh
 
  sudo /usr/share/doc/libdvdread3/install-css.sh
  
If you got to the terminal by pressing Ctrl+Alt+F1, and you came from the Ubuntu desktop, get back to it by pressing Alt+F7.  If you got to it from within LinuxMCE, get back to it by pressing Alt+F11.
+
If invoked the terminal by pressing Ctrl+Alt+F1 from the Kubuntu desktop, go back to it by pressing Alt+F7.  If you reached it from within LinuxMCE, go back to it by pressing Alt+F11.
 +
 
 +
Optionally, there is an add software tab in the 'Media Director' portion of the setup wizard, which usually lets you add libdvdcss entirely within LinuxMCE using only the remote control.  We say 'usually' because LinuxMCE doesn't include this software since it's not legal in all areas. This software appears only if the add software wizard was able to locate this software by doing a google search.
 +
 
 +
*Insert a Video DVD in the LinuxMCE drive to test it.
 +
{{p}}
  
Optionally, there is an add software tab in the 'media director' portion of the setup wizard, which usually lets you add libdvdcss entirely within LMCE using only the remote control. We say 'usually' because LinuxMCE doesn't include this software since it's not legal in all areas, and this software appears only if the add software wizard was able to locate this software by doing google searches.
+
===Playing WMV, WMA, and RealPlayer formats===
 +
''Note: These instructions have been superseded by the instructions above. They are provided for legacy reference only.''  
  
*Insert a Video DVD in the LinuxMCE drive to test it ;)
+
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories and is not supported by Ubuntu, due to licensing and legal restrictions. (<i>But see caveat above.</I>) However, the package can be downloaded from debian-multimedia.org:
  
==Playing WMV, WMA, and RealPlayer formats==
+
wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20071007-0.1_i386.deb
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories or supported by Ubuntu, due to licensing and legal restrictions. You can download the package from debian-multimedia.org:
+
sudo dpkg -i w32codecs_20071007-0.1_i386.deb
  
      wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20071007-0.1_i386.deb
+
*Note: The w32codecs package from the Debian repositories have been tested and work with Ubuntu systems. However not all Debian packages work correctly with Ubuntu. For your safety do not add the Debian repositories to your /etc/apt/sources.list
      sudo dpkg -i w32codecs_20071007-0.1_i386.deb
+
*Note: The w32codecs package from the Debian repositories have been tested and work with Ubuntu systems however not all Debian packages will work correctly with Ubuntu, so for your safety do not add Debian repositories to your /etc/apt/sources.list
+
 
*WMV files encoded with DRM (Digital Rights Management) cannot be played with this package.
 
*WMV files encoded with DRM (Digital Rights Management) cannot be played with this package.
*If you are experiencing choppy audio when playing WMV files, try [[http://ubuntuforums.org/showpost.php?p=136306&postcount=2 the fix described here]].
+
*If you are experiencing choppy audio while playing WMV files, try [[http://ubuntuforums.org/showpost.php?p=136306&postcount=2 the fix described here]].
 
*If you still cannot play WMV files after installing w32codecs, try [[http://ubuntuforums.org/showthread.php?p=1649012 the method suggested here]].
 
*If you still cannot play WMV files after installing w32codecs, try [[http://ubuntuforums.org/showthread.php?p=1649012 the method suggested here]].

Latest revision as of 22:59, 19 October 2012


Most commercial DVDs are encrypted with CSS (the Content Scrambling System), which attempts to restrict the software that can play a DVD. By installing the libdvdcss2 package you can play encrypted DVDs.
Also, to be able to play WMV, RealMedia and other formats, it is necessary to install the w32codecs package.


Installing from the Admin page

This is the easiest method. It is done after installation has been completed.

  • LinuxMCE Admin Website-->Advanced-->Software.
  • "Update software list".
  • "Add software on which computer?"-->Choose Core.
  • Click on the "install" buttons next to libdvdcss and w64codecs (or w32codecs if your are using a 32-bit system).
  • Reload the menu to confirm the software has been installed (otherwise it says "installing" forever).



Installing from the Command Line

These instructions reflect changes to the recent versions of Kubuntu. The following method is accomplished from the Kubuntu desktop. Stop LinuxMCE entirely and bring up the Kubuntu desktop.

  • From the Konsole command terminal (K--> System --> Konsole), use
sudo apt-get install kubuntu-restricted-extras

to install multiple restricted drivers at once.




Legacy Instructions

Playing DVDs

Note: These instructions have been superseded by the instructions above. They are provided for legacy reference only.

To install libdvdcss2 (see caveat above) you need to follow these steps:

  • Open a Konsole terminal by K--> System --> Konsole from the Kubuntu desktop, or by pressing CTRL+ALT+F1.
  • Type this set of commands:
sudo apt-get install -y libdvdread3
sudo /usr/share/doc/libdvdread3/install-css.sh

If invoked the terminal by pressing Ctrl+Alt+F1 from the Kubuntu desktop, go back to it by pressing Alt+F7. If you reached it from within LinuxMCE, go back to it by pressing Alt+F11.

Optionally, there is an add software tab in the 'Media Director' portion of the setup wizard, which usually lets you add libdvdcss entirely within LinuxMCE using only the remote control. We say 'usually' because LinuxMCE doesn't include this software since it's not legal in all areas. This software appears only if the add software wizard was able to locate this software by doing a google search.

  • Insert a Video DVD in the LinuxMCE drive to test it.



Playing WMV, WMA, and RealPlayer formats

Note: These instructions have been superseded by the instructions above. They are provided for legacy reference only.

Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories and is not supported by Ubuntu, due to licensing and legal restrictions. (But see caveat above.) However, the package can be downloaded from debian-multimedia.org:

wget -c http://www.debian-multimedia.org/pool/main/w/w32codecs/w32codecs_20071007-0.1_i386.deb
sudo dpkg -i w32codecs_20071007-0.1_i386.deb
  • Note: The w32codecs package from the Debian repositories have been tested and work with Ubuntu systems. However not all Debian packages work correctly with Ubuntu. For your safety do not add the Debian repositories to your /etc/apt/sources.list
  • WMV files encoded with DRM (Digital Rights Management) cannot be played with this package.
  • If you are experiencing choppy audio while playing WMV files, try [the fix described here].
  • If you still cannot play WMV files after installing w32codecs, try [the method suggested here].