How to install most used codecs in Linux
Talk0
1,771pages on
this wiki
this wiki
Contents |
Common Codecs
Edit
These are the most common Codecs and are a good to have on you Linux system
| Pictures | Audio | Video |
|---|---|---|
|
|
|
System independent
Edit
Open Codecs
Edit
Most codecs have source code for them nowadays. Here is a fairly large, but very incomplete list. Most are not necessary for most users.
| lib3ds | liblo | libopendaap | |
| libao | liblrdf | libpano12 | |
| libfame | liblscp | libpixman | |
| libflash | libmad | libpng | |
| libcaca | libfpx | libmatroska | libptp2 |
| libggi | libmikmod | libquicktime | |
| libgig | libmimic | ||
| libgii | libmms | libsdl | |
| libmng | libshout | ||
| libgpod | libmnote | ||
| libhydrogen | libmodplug | ||
| libmovtar | |||
| libdts | libiec61883 | libmp4v2 | libsvg |
| libdv | libifp | libmpcdec | libswf |
| libdvb | libipoddevice | libmpd | libtheora |
| libirman | libmpeg2 | ||
| libdvdcss | libj2k | libmpeg3 | libuta |
| libmusepack | libvideogfx | ||
| libjsw | libmustux | ||
| libnjb | libvorbis | ||
| libemf | libkipi | libogg | libwmf |
| liboggz |
Binary Codecs
Edit
- Download Binary codecs from mplayer's website
- http://www.mplayerhq.hu/
- binary codecs the common location for copying them is
- /usr/local/lib/codecs
- however some programs look for certain codes at
- /usr/local/lib/win32
- If you install prefix is /usr then the codecs should be copied
- /usr/lib/codecs
- /usr/lib/win32
- The best way to cover all these cases is to copy all binary codecs to
- /usr/lib/codecs
- Then make symbolic links to the other directories
- ln -s /usr/lib/codecs /usr/lib/win32
- ln -s /usr/lib/codecs /usr/local/lib/win32
- ln -s /usr/lib/codecs /usr/local/lib/codecs
Installing Codecs in Gentoo
Edit
To list all the codec library packages available in Gentoo
- Execute: ls /usr/portage/media-libs/
- or visit: Gentoo media-libs
To install the ones you want
- Execute: emerge PACKAGE_NAME
To install the binary packages described above
- Execute: emerge win32codecs
To add the codecs to all installed programs
- Edit /etc/make.conf
- Edit the USE flag
- Example: USE="quicktime real gif jpeg mpeg matroska xanim png tiff svg a52 aac exif mp3 ogg vorbis theora xpm wmf win32codecs x264 flac postscript xvid mad mp2 divx encode" #Media