maandag 24 mei 2010

WebM VP8 on Ubuntu: how to activate and use it

On Ubuntu Linux, you can try out Google's new WebM video codec by using the latest daily build of Chromium from the Chromium Daily PPA. Here's how:

First, install the Chromium daily build on Ubuntu:

sudo add-apt-repository ppa:chromium-daily
sudo apt-get install chromium-browser chromium-codecs-ffmpeg-extra
chromium-browser 

Then, within the chromium-browser you just started, go to www.youtube.com/html5 and enroll in the YouTube HTML5 experiment: Click on "Join the HTML5 Beta". You should then see "You are currently in the HTML5 beta."

Finally, search for WebM content: http://www.youtube.com/results?search_query=web&gl=US&webm=1 (note the "webm=1" at the end). 
Choose a Youtube clip and play it. In the lower right corner, it should say "HTML5 WEBM". (And, if you right-click on the youtube window, it should NOT say "About Adobe Flash Player 10...")

That's it! You should now be able to play WebM VP8 content.

PS: you can test the HTML5-ness of Chromium Daily here: http://html5test.com/ Chromium now scores 142 out of 160.
PS2: I was triggered by this post: http://www.omgubuntu.co.uk/2010/05/webmvp8-now-in-chromium-daily-ppa.html