Differences between revisions 48 and 49
Revision 48 as of 2012-03-17 14:50:39
Size: 3043
Editor: ?AndresMejia
Comment: Minor phrase change.
Revision 49 as of 2012-03-17 15:18:40
Size: 3816
Editor: ?AndresMejia
Comment: Make section about available codecs from Debian
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
Basic multimedia playback is achieved trough common codecs included in the Debian repositories. To install other codecs not included with Debian you can install restricted codecs from Debian Multimedia repository. Do your own legal due diligence before using restricted codecs. === Available Codecs from Debian ===

Many codecs are already available in the official Debian archive. Codecs available include codecs for MP3, H264, and AAC encoding and decoding. These codecs are made available through libraries such as the libav/ffmpeg libraries. Media players available in Debian such as VLC and Mplayer make use of these libraries in order to provide support for playback of files encoded through these many different codecs.

In summary, when you install a media player available from Debian, the many different codecs the media player supports will be automatically installed. Chances are, the codecs you will ever wish to use will be the ones automatically installed with the media player you install. If however, you find that a codec you need isn't available from your media player, you may need to install a few extra packages. Below is information on how to install these extra packages, some from Debian, and some available through third parties.

==== Codec packages from debian-multimedia.org ====
Line 34: Line 40:
=== Debian Squeeze === ===== Debian Squeeze =====
Line 46: Line 52:
=== Debian Wheezy === ===== Debian Wheezy =====
Line 53: Line 59:
== DIVX, Quick Time, Real Video, Windows Media, etc... == ===== DIVX, Quick Time, Real Video, Windows Media, etc... =====

Software > Codecs


Translation(s): English - Italiano - Français - Português


What Is A Codec?

A codec is a device or computer program capable of encoding or decoding a digital data stream or signal. The word codec is a portmanteau of "compressor-decompressor" or, more commonly, "coder-decoder". A codec (the program) should not be confused with a coding or compression format or standard – a format is a document (the standard), a way of storing data, while a codec is a program (an implementation) which can read or write such files. In practice, however, "codec" is sometimes used loosely to refer to formats.

See http://en.wikipedia.org/wiki/Codec for more information about codecs.

Codec Installations

Available Codecs from Debian

Many codecs are already available in the official Debian archive. Codecs available include codecs for MP3, H264, and AAC encoding and decoding. These codecs are made available through libraries such as the libav/ffmpeg libraries. Media players available in Debian such as VLC and Mplayer make use of these libraries in order to provide support for playback of files encoded through these many different codecs.

In summary, when you install a media player available from Debian, the many different codecs the media player supports will be automatically installed. Chances are, the codecs you will ever wish to use will be the ones automatically installed with the media player you install. If however, you find that a codec you need isn't available from your media player, you may need to install a few extra packages. Below is information on how to install these extra packages, some from Debian, and some available through third parties.

Codec packages from debian-multimedia.org

  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 squeeze main non-free
    deb http://www.debian-multimedia.org wheezy main non-free
    deb http://www.debian-multimedia.org sid main non-free
  1. After editing sources update the package cache.

    apt-get update

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

Debian Squeeze

Install the following packages:

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

If you get an error message about DVD Subpicture Decoder missing also install the following:

aptitude install gstreamer0.10-plugins-bad

Debian Wheezy

Install the following packages:

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

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 DVDs depending on your taste.

More information

Windows Media Video playback