Tips on how to Add MPEG-2 and VC-1 Video Codec Support on your Raspberry Professional indemnity
To follow along youl require the following situations:
Despite the fact that are using a second Raspberry Professional indemnity distribution, the command string instructions plus the manual setup are still applied to you plus your Pi product.
Alternatively, if you wish to access the command induce remotely, turn on your SSH client (such as PuTTY) and your IP address of the Rasperry Professional indemnity unit.
When you have the the serial quantity for each person unit, it time to buy the licenses through the Raspberry Pi foundation.
For this, head over to your Raspbmc system and find the way from the primary interface to Programs gt; Raspbmc Settings. Once you are inside Raspbmc Settings, navigate to the System Construction Tab and scroll right down to the the Advanced System Settings section:
Locate the file and make a copy, renaming this config. oldhis version can serve as a backup in the event anything goes wrong during the enhancing process. Start the original config. txt within your text publisher of choice (wee using Notepad++).
Your Pi will spit back 10 lines of text, however the only one appealing to all of us is the previous line marked Serial . Copy the first 16 digital serial amount (partially obfuscated in the screenshot here).
The more correct way to evaluate is to compare and contrast the data file itself by using a tool just like MediaInfoou can easily follow along with this MediaInfo short training here. MediaInfo will tell you the actual video codec for any online video file you examine.
Save the config. txt file and safely remove the Facts from your laptop. Return the SD card for the Raspberry Professional indemnity and switch on the device.
To yourself install the codecs, you should power down your Raspberry Pi unit, remove the Sdcard, and support the Sdcard on a pc with entry to a simple textual content editor.
Depending on what operating system youe running in your Pi, the configuration document may search slightly different. Leave the existing articles alone. Minimize and insert the set up license articles you received in your email, like thus:
The Raspberry Pi was designed to be an educational pc. As part of that educational objective, the Raspberry Pi Basis has gone out of their method to minimize the manufacturing and licensing costs in order to keep the next cost of ipod down. Component to their expense cutting methods included certainly not purchasing a downright costly blanket certificate to use the MPEG-2 and VC-1 online video codecs.
Whether you may have pulled up the command induce directly with the machine or perhaps via SSH you will be caused to get access. The standard login/password collaboration for Raspbmc is professional indemnity / raspberry .
Given that we have the license programs, it a chance to add those to your Raspberry Pi and get to trying to play enhanced networking playback.
Purchasing the License: Go to the Raspberry Professional indemnity foundation order page just for the MPEG-2 license and/or VC-1 permit. Enter in your Raspberry Pi dram¨®n number inside the appropriate write off beneath the value. Add the license on your cart. Continue doing this process for the licenses about all the gadgets you wish to put the codecs to.
Wel be protecting two strategies: adding the license code manually and via Raspbmc popular Raspberry Pi-enabled syndication of XBMC.
Have a pressing Raspberry Pi-related theme you wish to see all of us address? Audio off inside the comments or perhaps write within tips@howtogeek. com with your recommendations.
The 0000000000 portion of the license can be your unique 10-digit alphanumeric permit code.
Testing the codecs : The most exciting way to try your new codecs is to start a media channels file you understand wouldn perform without this, sit back, watching it play perfectly.
I using my Raspberry Pi as a media center and/or general purpose device and I wish to:
Once you have added the appropriate codec licenses, head back to the main interface and reboot your device via the power selection menu in the lower left hand corner.
In order to purchase the licenses you need, you will have to retrieve the unique serial number for your Raspberry Pi board. This number is not printed anywhere on the circuit board but is instead stored in the hardware; it must be retrieved using the command prompt.
If youe unsure if you have the files types in question there are two simple ways to check. First, you can try to load the file in your Raspberry Pi media center. If the file is, for example , an MPEG-2 encoded video file there is a very high chance that the audio track will play just fine but the video track will fail to make, leaving the screen dark.
Finding the Dram¨®n Number: Primary, visit the demand prompt possibly at the real terminal or perhaps remotely coupled to the terminal by way of an SSH tool including PuTTY. When you have a key pad attached to the Raspbmc equipment, simply choose xit from the Raspbmc interface via the power button in the lower left hand side of the GUI. Press ESC to load the command prompt instead of booting back into the Raspbmc GUI. This will deposit you at the command prompt.
The more technical way to check, should you run into any hiccups and wish to confirm that your license is recognized by the device, is to head to the command prompt and enter the following commands:
This doesn mean the Raspberry Pi is not capable of decoding press encoded in MPEG-2 or VC-1, but that by default the codecs cannot run on the Raspberry Pi hardware for wish of a correct license. Luckily the Raspberry Pi Base was able to arrange for the money to sell person licenses for each and every codec extremely inexpensively.
In this tutorial wee assuming youe already received your hands on the Raspberry Professional indemnity unit and installed the operating system of preference on it. Further more, wel use a copy of Raspbmc in this tutorial beneath the assumption that lots of of our visitors followed the Raspbmc instruction and would probably now wish to add in DVD/WMV support for their build.
Although the foundation indicates that it could take up to 72 hours for your license to arrive via email, we received ours in about 24 hours. When your email arrives it will include a code for each license formatted like such:
Once at the control prompt enter the following control: cat /proc/cpuinfo
First, we will walk you through getting the serial number off the board and purchasing the licenses you need. After that, wel show you how to manually add the licenses to your Pi or make use of the built-in tool within Raspbmc.
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
Raspberry Professional indemnity SD pc cards include a EXCESS FAT formatted tiny partition that holds itc tools which include an conveniently edited setup file marked config. txt. [Note: Some systems builds might not exactly automatically build a config. txt file; if you have no config. txt merely create your private. ]
If youe wondering whether youe the target audience with this license sale program and this tutorial, check to see if some of the following assertions apply to you:
There you can click on MPEG2 and VC1 and insight your license number. Don type in the entire string provided for you by Raspberry Pi, leave off the leading decode_MPG2= and decode_WVC1= portion. Only input the 10-digit chain after the equivalent sign into each codec respective slot machine.
Since the license is usually granted to each specific Raspberry Pi table, repeat the above process for all those Raspberry Pi boards you wish to purchase a license for.
The Pi ought to immediately give back that the codec is enabled. Here the output for the MPG2 check up on our check machine, to find reference:
To be able to enjoy varied media play-back on your Raspberry Pi mini computer, you must manually permit the MPEG-2 and VC-1 codecs. Read more to see ways to do so and revel in DVD play-back and more with your Pi.
Everything appears good at the command punctual and the recently audio-only data now enjoy both the audio and video programs. For a few cash and a few a matter of minutes of our period, wee all set to enjoy the wide array of videos protected in MPEG-2 and VC-1 codecs.
Yourself installing the licenses: The manual assembly technique performs for any assembly on the Raspberry Pi, which include Raspbmc.
Adding the licenses with the built-in Raspbmc tool: In cases where youe jogging Raspbmc, you may skip the full manually editing and enhancing the config. txt stage and leverage the built-in software right inside Raspbmc.