Differences between revisions 36 and 37
Revision 36 as of 2011-05-03 18:38:39
Size: 3862
Editor: ?MarkusBrummer
Comment: Moved WMP Plugin to common
Revision 37 as of 2011-05-05 14:50:47
Size: 3512
Editor: ?MarkusBrummer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
After editing sources remember to update the package cache.  1.#3 After editing sources remember to update the package cache.
Line 38: Line 38:
 1. Make sure that you have the appropriate apt source lines, as above.

 1.#2
Do the following (if you're using 64-bit version of Debian, install the ''w64codecs'' package):
 1. Do the following (if you're using 64-bit version of Debian, install the ''w64codecs'' package):
Line 45: Line 43:
 1.#3 To see what codecs are included in w32codecs:  1.#2 To see what codecs are included in w32codecs:
Line 53: Line 51:
 1. Make sure that you have the appropriate apt source lines, as above.
 1.#2 Do the following:
DVDs are usually encrypted with CSS. To read them, you must install the following packages:
Line 61: Line 58:
 1.#3 libdvdcss2 is also available as a Debian package directly from its authors:
{{{
deb http://download.videolan.org/pub/videolan/debian sid main
}}}

Most media players which are in Debian main, such as kaffeine, will play
DVDs as soon as libdvdcss2 is installed.

Software > Codecs


Translation(s): English - Italiano


What Are Codecs?

Simply put for most users a codec is a program capable of compressing/decompressing data streams to make them more manageable and consume less bandwidth. To view files that are compressed by codecs, you will need to install a program capable of decompressing them for you.

How to Install Codecs

Basic multimedia playback is achieved trough common codecs included in the Debian repositories. To install other codecs not included with Debian (such as mp3 codecs):

  1. Install the Debian Multimedia Keyring, downloading it from http://debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2010.12.26_all.deb

  2. Depending on your chosen release, add one of the following lines to your /etc/apt/sources.list file:

    deb http://www.debian-multimedia.org lenny main non-free
    deb http://www.debian-multimedia.org squeeze main non-free
    deb http://www.debian-multimedia.org wheezy main non-free
    deb http://www.debian-multimedia.org sid main non-free
    deb http://www.debian-multimedia.org experimental main
  1. After editing sources remember to update the package cache.

    apt-get update

Visit Debian Multimedia homepage for mirrors and more details about the project.

Do your own legal due diligence before using restricted codecs.

DIVX, Quick Time, Real Video, Windows Media, etc...

  1. Do the following (if you're using 64-bit version of Debian, install the w64codecs package):

apt-get install w32codecs
  1. To see what codecs are included in w32codecs:

apt-cache show w32codecs

DVD Playback

DVDs are usually encrypted with CSS. To read them, you must install the following packages:

apt-get install libdvdcss2 vlc 

You can replace vlc with totem-xine, gnome-mplayer or another program capable of playing back DVDs depending on your taste.

WMP Plugin

Installing the mplayer mozilla plugin and the MediaWrap iceweasel add-on can help with wmp / ActiveX streams:

aptitude install mozilla-mplayer

The MediaWrap iceweasel plugin is found at https://addons.mozilla.org/en-US/firefox/addon/1879 .

Debian Lenny

  1. Install the following packages:

aptitude install gstreamer0.10-plugins-really-bad ffmpeg sox toolame vorbis-tools lame lame-extras faad totem-xine
  1. DVD Menus don't seem to work in gstreamer any more so if you installed totem-xine in the step above and you would like to have DVD Menus working and other functions (for example zooming in and out during video play - r and t keys) you can uninstall totem-gstreamer:

aptitude remove totem-gstreamer

If, for any reason, you want to keep both totem-xine and totem-gstreamer skip the step above and go to System >> Preferences >> Main Menu, click on Sound & Video and check the option Movie Player (Xine), but now (if you don't remove totem-gstreamer) you will have to explicitly select this option every time you want to play a video with these features instead of having this work automatically when inserting a DVD.

Debian Squeeze

Install the following packages:

aptitude install gstreamer0.10-fluendo-mp3 ffmpeg sox twolame vorbis-tools lame faad