Like any other operating system, e.g. Windows, most of the Linux systems come with no multimedia codecs, so you'll not be able to play AVI/DivX/XviD videos or MOV movie trailers. Luckily, someone is taking care of these codecs and they update them regularly. The MPlayer team are the ones that created this Linux codec pack and they are doing a very good job.
In this quick guide I will teach you how to install a codec pack into your Linux system. Let's begin by downloading this codec pack from here. After you have finished downloading, open a console and extract the archive with the following command:
tar -xvf all-20061022.tar.bz2
Now you need to create the directories to store the codecs in, because some players may look in different directories. For the first directory, type the following command:
Now for the second directory, type the following command:
NOTE: You might already have this last directory, if you have installed a multimedia player like xine or kaffeine. The only thing is that this directory is empty, so you still need to fill it up with codecs.
You need now to copy all the codecs to the first directory with the following command:
cp all-20061022/* /usr/local/lib/codecs/
After you have copied the codecs, you must change their permissions to 755, typing the following command:
chmod 755 /usr/local/lib/codecs/*
And finally, copy again all the codecs from the first directory to the second directory with the following command:
cp /usr/local/lib/codecs/* /usr/lib/win32/
That's all! Now you can test them by playing your favorite movie, with your preferred multimedia player.
Letï¿½s have a look now at the most important video and audio codecs that this package provides.
ï¿½ MPEG-1 (VCD) and MPEG-2 (DVD) video
ï¿½ native decoders for all DivX variants, 3ivX, M$ MPEG-4 v1, v2 and other MPEG-4 variants
ï¿½ native decoder for Windows Media Video 7/8 (WMV1/WMV2), and Win32 DLL decoder for Windows Media Video 9 (WMV3), both used in .wmv files
ï¿½ native Sorenson 1 (SVQ1) decoder
ï¿½ native Sorenson 3 (SVQ3) decoder
ï¿½ 3ivx v1, v2 decoder
ï¿½ Cinepak and Intel Indeo codecs (3.1,3.2,4.1,5.0)
ï¿½ MJPEG, AVID, VCR2, ASV2 and other hardware formats
ï¿½ VIVO 1.0, 2.0, I263 and other H.263(+) variants
ï¿½ RealVideo 1.0 & 2.0 from libavcodec, and RealVideo 3.0 & 4.0 codecs using RealPlayer libraries
ï¿½ native decoder for HuffYUV
ï¿½ Various old simple RLE-like formats
ï¿½ MPEG layer 1/2/3 (MP1/2/3) audio (native code, with MMX/SSE/3DNow! optimization)
ï¿½ Windows Media Audio 7 and 8 (AKA WMAv1 and WMAv2) (native code, with libavcodec)
ï¿½ Windows Media Audio 9 (WMAv3) (using DMO DLL)
ï¿½ AC3 Dolby audio (native code, with MMX/SSE/3DNow! optimization)
ï¿½ AC3 passing through sound card hardware
ï¿½ Ogg Vorbis audio codec (native library)
ï¿½ RealAudio: DNET (low bitrate AC3), Cook, Sipro and ATRAC3
ï¿½ QuickTime: Qualcomm and QDesign audio codecs
ï¿½ VIVO audio (g723, Vivo Siren)
ï¿½ Voxware audio (using DirectShow DLL)
ï¿½ alaw and ulaw, various gsm, adpcm and pcm formats and other simple old audio codecs
ï¿½ Adaptive Multi-Rate (AMR) speech codecs
In conclusion, after installing this package, you'll be able to play most of the video materials out there, with sound of course!