Add Support WebM Video Playback on Mplayer
If you first installing your PC and freshly add new browser such Firefox 14, you’ll notice that your browser still able to play any kind of video on Youtube.com.
Youtube will detect your browser configuration. If you don’t have flash player installed, Youtube will use HTML5 mode. The video will use *.webm ekstension if you download it.
WebM video format has become popular nowadays, since it has video playback support for HTML5 browser. That mean, we don’t need third party add-on to play videos on a modern browser.
But seems there’s a problem to play webm file on my Crunchbang Linux (Debian Squeeze) machine. The Mplayer didn’t response when I tried to play. Seems I have an old version, a common problem for old-stable Linux distro.
So, I download the latest Mplayer on their official website at:
We will compile it, so we must have the supporting softwares for compiling. To install the support software, we can run this command (Debian and derivative):
sudo apt-get install make automake g++ bzip2 python unzip patch subversion ruby build-essential git-core checkinstall yasm texi2html libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvdpau-dev libvorbis-dev libvpx-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev
After the process done, now we can build the mplayer. Extract the file and open the folder. Inside, you’ll just need to run this command on your favorit console.
You’ll be prompted to enter root password. Input your password and run again this command:
Console will display checking system environment. After completed, add this command to compile:
Compile process begin. Sit, relax, and waiting (about 5 minutes on my laptop). After compile process completed, run this command:
Again another process begin. After that, my Mplayer can play *.webm file. I Prefers the MPlayer console interface since it’s very light. Just remember the keyboard shortcut to play movies using this player.
If you need the GUI, then you can install SMPlayer or Gnome MPlayer.