Enabling MPEG2 / VC1 Codec On Raspberry Pi XMBC

Purchasing License

Buy a license from Raspberry Pi site at http://www.raspberrypi.com/mpeg-2-license-key/
Before doing so you’ll need to get the serial number from the Raspberry Pi. This is NOT printed physically on the board.

Power up RaspBMC and go to Settings > Settings Information to get the IP address.

SSH into Pi on the default port using the following credentials:

Username: pi
Password: raspberry

For example:
ssh pi@192.168.0.1

It may ask for setup information such as locale and keyboard. See the below screens for UK settings. Location should be self explanatory:
Raspberry Pi LocaleRaspberry Pi Package

To get the serial number, run cat /proc/cpuinfo
Raspberry Pi Proc Info
There’s a serial field which can should be copied and entered into the website to order the codecs licenses.

Post Purchase

Once paid, an email should be sent with

Edit the config.txt in /boot directory and add decode_MPG2 and decode_WVC1 as stated in the email.

Run the following commands to check if it’s enabled:
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1

SSH to Raspbmc – Default Username and Password

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Hardware, Linux and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.