Posts Tagged ‘install’
There is an over abundance of video formats right now – fortunately, our favorite OS, Linux, is capable of handling all of them. But some video formats are not supported ‘out-of-the-box’ – in such cases, we have to install the necessary codecs. This guide will show you how install the codecs for just about every video format under the sun.
Before going into the topic further, let me pacify the flamers in the audience. There are many codecs that include DRM and many are proprietary – and for this reason, many distros refuse to support them. But these can be supported using external software – whether or not to do that is a choice I leave to the readers. I am only handling the technical issue of installing the codecs here. The moral and ethical concerns have been handled by others better than me.
The Players – Video Trinity
There is no shortage of video players in linux. Among these, three players are more prominent than the others – these are Mplayer, Xine and VLC. I call them the Video Trinity. Before doing anything, install all three players. Yes, all of them.
Mplayer is perharps the most popular among linux video players. You can install it in a Red Hat/Fedora system using this command(the command for debian/ubuntu systems will be similar – can someone post it in the comments?)…
yum install mplayer mplayer-fonts mplayer-gui
If you are on a Debian based system – like Ubuntu, use this command…
apt-get install mplayer mplayer-fonts mplayer-skins
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet. It interprets many of the most common multimedia formats available – and some of the most uncommon formats, too. Installing xine is just as easy…
yum install xine xine-lib xine-skins xine-lib-extras-nonfree
Again, on a Debian/Ubuntu system, use the command…
apt-get install xine-ui
VLC media player is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, …) as well as DVDs, VCDs, and various streaming protocols. VLC is popular in the windows crowd as well. Here is the command to install it…
yum install vlc
Debain/Ubuntu uses should use the command…
apt-get install vlc
With these 3 players installed, you must be able to open 90% of the video files out there. But for the more exotic video formats, we must install the extra codecs provided by mplayer. First install the codes available in your distro’s repository – in Fedora(with Livna repository) the command I used is…
yum install gstreamer libdvdcss gstreamer-plugins-ugly audacious-plugins-nonfree-mp3 kdemultimedia-extras-nonfree ...
Or in Debian/Ubuntu system
apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg
Essential Video Codecs
The binary codec packages provided by mplayer adds support for codecs that are not yet supported natively, like newer RealVideo variants and a lot of rare formats. Note that they are not necessary to play most common formats like DVDs, MPEG-1/2/4, etc. Take a look at the codec status table for the list of currently supported codecs in Mplayer.
Instructions for installing binary codecs can be found in the README or in the README.txt file that accompanies each codec package. Detailed usage instructions are in the codecs section of the documentation. A brief overview of the installation procedure is given below...
Installing the Codecs
First, extract the file to a local directory. There should be 64 files(currently). Next, we have to copy this to the system's codecs folder(usually /usr/local/lib/codecs/). To do this, you must have root user privileges...
sudo cp -R essential-20071007/ /usr/local/lib/codecs/
Voila - we have installed the codecs. But we are not done yet. Some players look for the codecs in other folders - to accommodate those players, we have to link the other folders to the central codecs directory. To do that, run these commands(as root)...
ln -s /usr/local/lib/codecs/ /usr/lib/codecs ln -s /usr/local/lib/codecs/ /usr/lib/win32 ln -s /usr/local/lib/codecs/ /usr/local/lib/win32
Playing the Video
Now open up the video you are trying to play in any video player(say mplayer) - in 99% of the cases, it will play without any issues. In the unlikely event of a problem, open up the same video in xine. If it still does not play, go to vlc. Your video will be working in atleast one of these three players.
Did it work for you - let me know in the comments...
Tags: codec, format, guide, install, multimedia, tutorial, Video
Posted in Configuration, Troubleshooting, Video | 14 Comments »
As promised, I installed Fedora 9 – and promptly moved back to Fedora 8. The problem is not Fedora – its KDE. KDE 4 is not yet ready for normal use. And if you are a KDE user, I would suggest that you stay away from Fedora 9.
The purpose of KDE 4 is to make KDE compactable with Qt4. Its not for actual use. Sure, it could be used as a desktop, but it will lack many features that you expect in KDE.
I am surprised that Fedora decided to include KDE4 – despite its ‘alpha-ness’. But they have their reasons
Problems With KDE4
- Customizable Panel
- I could not find any options to customizing the panel – KDE 3.5 have a lot of options.
- Many Options/Settings are missing.
- It will be coming in the future releases – but its missing now.
- Desktop Icons have no consistency
- Some icons are bigger than others. On the other hand, you can rotate these icons – but I fail to see any practical application for that.
- And many more…
- Random crashes, dolphin, irremovable ‘Add Plasmoid’ option on the desktop, etc.
Long story short, I am back in Fedora 8. And I will be on it until Fedora 10 is out. And even then, I’ll wait some time before upgrading.
Fedora 9/KDE4 Positive Reviews
- Fedora 9 Review
- Fedora 9 and the road to KDE4
- Review Roundup: Fedora 9
- Fedora 9: Leading edge or bleeding edge?
- Hats off to Fedora 9
- 5 Reasons Why Youâ€™ll Love Fedora 9
- aseigo: talking bluntly
- KDE 4.0 – why now?
And the Negative Ones…
Tags: Fedora, install, KDE, review, upgrade
Posted in Fedora, KDE | 9 Comments »