- liz
- Raspberry Pi Foundation Employee & Forum Moderator
- Posts: 5212
- Joined: Thu Jul 28, 2011 7:22 pm
- Contact: Website
You wanted MPEG-2? You've got it!
We've also made VC-1, H.264 encode and CEC support available - some of these things are bundled with the latest firmware, others you'll have to pay for. See below for details.
http://www.raspberrypi.org/archives/1839
http://www.raspberrypi.org/archives/1839
Director of Communications, Raspberry Pi
- Burngate
- Posts: 6427
- Joined: Thu Sep 29, 2011 4:34 pm
- Location: Berkshire UK Tralfamadore
- Contact: Website
Re: You wanted MPEG-2? You've got it!
Never mind all that stuff - Stickers! Weheheh!




Re: You wanted MPEG-2? You've got it!
I would like to thank Dom and all else involved !
Thank you !!!
ghans
Thank you !!!
ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Re: You wanted MPEG-2? You've got it!
Many thanks for this, have placed my orders. 
One thing that occurs to me is whether it would have been better to put the licence keys in a separate file that is read at boot (eg. licences.txt) since config.txt is often provided by various distributions (obviously without licence key information) and will require modification to re-enable MPG2/VC1 etc.
If we had the keys in a separate file we would just need to copy that file over each time - much easier...

One thing that occurs to me is whether it would have been better to put the licence keys in a separate file that is read at boot (eg. licences.txt) since config.txt is often provided by various distributions (obviously without licence key information) and will require modification to re-enable MPG2/VC1 etc.
If we had the keys in a separate file we would just need to copy that file over each time - much easier...
Re: You wanted MPEG-2? You've got it!
Liz replied in the blog post:milhouse wrote:One thing that occurs to me is whether it would have been better to put the licence keys in a separate file that is read at boot (eg. licences.txt) since config.txt is often provided by various distributions (obviously without licence key information) and will require modification to re-enable MPG2/VC1 etc.
If we had the keys in a separate file we would just need to copy that file over each time - much easier...
OK, but I'm at a bit of a loss how a separate plain text licence file is any less secure than a single plain text config file...No – well, I mean, it’d be *easier*, but it’d be less secure. We have to make it hard to circumvent so we don’t get sued by the MPEG LA!
- mahjongg
- Forum Moderator
- Posts: 13706
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: You wanted MPEG-2? You've got it!
Its probably because the config.txt file is read by the GPU at boot time, not by easily to disassemble ARM code.
Re: You wanted MPEG-2? You've got it!
Yeah, should be interesting to see how many keys are accidentally made public by virtue of people sharing their config.txt...OK, but I'm at a bit of a loss how a separate plain text licence file is any less secure than a single plain text config file...
- mahjongg
- Forum Moderator
- Posts: 13706
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: You wanted MPEG-2? You've got it!
Its tied to the internal unique serial number of the PI.
Re: You wanted MPEG-2? You've got it!
Great news!!
Re: You wanted MPEG-2? You've got it!
Possibly, but if the GPU (through it's bootloader firmware) is able to read one file (config.txt) I'd expect it to be possible to read a second. More work for dom, of course, but "cleaner" than adding yet more end-user (rather than device) specific options to config.txt.mahjongg wrote:Its probably because the config.txt file is read by the GPU at boot time, not by easily to disassemble ARM code.
Quite likely... another overhead for developers and maintainers of distributions (though surely the key will be hashed with the serial#?)lavers wrote: Yeah, should be interesting to see how many keys are accidentally made public by virtue of people sharing their config.txt...
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5714
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: You wanted MPEG-2? You've got it!
I'll think about it. Not sure it makes life that much easier for you:milhouse wrote: Possibly, but if the GPU (through it's bootloader firmware) is able to read one file (config.txt) I'd expect it to be possible to read a second. More work for dom, of course, but "cleaner" than adding yet more end-user (rather than device) specific options to config.txt.
Code: Select all
cp licences.txt /boot/licences.txt
Code: Select all
cat licences.txt >> /boot/config.txt
Re: You wanted MPEG-2? You've got it!
Thanks RPF!liz wrote:We've also made VC-1, H.264 encode and CEC support available - some of these things are bundled with the latest firmware, others you'll have to pay for. See below for details.
http://www.raspberrypi.org/archives/1839
/me tips his hat with gratitude
Re: You wanted MPEG-2? You've got it!
Thanks.dom wrote: I'll think about it.
True, but separating the licence keys from config.txt just "feels" like the right thing to do... I can't think of any real pro's (from an end-users POV) for keeping it all combined in a single file, mostly just con's.dom wrote: Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txt
Code: Select all
cat licences.txt >> /boot/config.txt
Admittedly it's not a huge concern, but keeping the keys separate would seem to make life easier for end-users over the longer term (I can imagine schools having fun with "Now children this is what your config.txt file should like like - whoops, those are my special keys, ignore those...").

- Paul Webster
- Posts: 842
- Joined: Sat Jul 30, 2011 4:49 am
- Location: London, UK
- Contact: Twitter
Re: You wanted MPEG-2? You've got it!
Well done.
Order placed - don't be too worried if it shows the price in Euros during the process .. it switched to GBP for me when it arrived at Paypal.
Order placed - don't be too worried if it shows the price in Euros during the process .. it switched to GBP for me when it arrived at Paypal.
Re: You wanted MPEG-2? You've got it!
Although I'm guessing we'll have a lot of relatively inexperienced Windows users wanting to do that. In that case, dragging licenses.txt to the FAT partition is far easier than editing a text file they normally don't need to touch, and far less likely to break something.dom wrote:I'll think about it. Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txt
Code: Select all
cat licences.txt >> /boot/config.txt
But I would also like to sincerely thank all that made this possible - especially as it's outside the foundation's core goals.
Re: You wanted MPEG-2? You've got it!
Fantastic news !
Nice to see the foundation listening to the users, and not being political about it
("mpeg2 is old and not relevant for educational purposes the pi is aimed at").
It's great that encoding is also there (mpeg2 and h264 encode)
Nice to see the foundation listening to the users, and not being political about it
("mpeg2 is old and not relevant for educational purposes the pi is aimed at").
It's great that encoding is also there (mpeg2 and h264 encode)
Android app - Raspi Card Imager - download and image SD cards - No PC required !
-
- Posts: 210
- Joined: Fri May 25, 2012 9:44 pm
Re: You wanted MPEG-2? You've got it!
This morning I was researching the current progress on MPEG2, and was drafting an email volunteering to help as I've been through the MPEG-LA mire myself many times. And now I've thrown that email in the bin. Many thanks, Dom, Liz, Eben etc etc for the time you've put into this. A nice clean solution. Might need to work out a way of buying in bulk though before education customers want to buy 10 classrooms worth...
Bryan
Bryan
- Evilbadger
- Posts: 29
- Joined: Mon Jun 25, 2012 7:12 am
- Location: No longer Coventry
Re: You wanted MPEG-2? You've got it!
Look through the options you can specify within config.txt, and the majority of them should not be distributed beyond the users set-up. i.e. I'd be annoyed if a distribution forced a video resolution on me just because it was what the distributor uses.linuxstb wrote:Although I'm guessing we'll have a lot of relatively inexperienced Windows users wanting to do that. In that case, dragging licenses.txt to the FAT partition is far easier than editing a text file they normally don't need to touch, and far less likely to break something.
But I would also like to sincerely thank all that made this possible - especially as it's outside the foundation's core goals.
From that respect I don't see a problem with the codec license keys going into config.txt, with all the other user specific options.
What I'd prefer is the boot options (kernel, kernel_address, ramfsfile, ramfsaddr, etc.) being moved out of config.txt into a file that should be included as part of a distribution.
It all comes down to splitting the distribution specific and user specific options to be in separate files. How that is achieved, if at all, is up to dom and the rest of the foundation.
-
- Posts: 14438
- Joined: Fri Mar 09, 2012 7:36 pm
- Location: Vallejo, CA (US)
Re: You wanted MPEG-2? You've got it!
Add the set up of a license (once the user has a key) to raspi-config for those that don't want to/know how to muck about with files?milhouse wrote:Thanks.dom wrote: I'll think about it.
True, but separating the licence keys from config.txt just "feels" like the right thing to do... I can't think of any real pro's (from an end-users POV) for keeping it all combined in a single file, mostly just con's.dom wrote: Not sure it makes life that much easier for you:orCode: Select all
cp licences.txt /boot/licences.txt
Code: Select all
cat licences.txt >> /boot/config.txt
Admittedly it's not a huge concern, but keeping the keys separate would seem to make life easier for end-users over the longer term (I can imagine schools having fun with "Now children this is what your config.txt file should like like - whoops, those are my special keys, ignore those...").
Re: You wanted MPEG-2? You've got it!
They have to learn it.W. H. Heydt wrote: Add the set up of a license (once the user has a key) to raspi-config for those that don't want to/know how to muck about with files?
Re: You wanted MPEG-2? You've got it!
Thanks for listening to the community. This will only benefit the aims of the PI foundation.
Re: You wanted MPEG-2? You've got it!
I assume this is based on a newer Kernel / Update? Do we know which versions include it?
Just ordered both the MPEG-2 and VC-1 licenses.
Just ordered both the MPEG-2 and VC-1 licenses.
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com
My RPI Info Pages including Current Setup - http://rpi.tnet.com
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 5714
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: You wanted MPEG-2? You've got it!
August 8th or newer.Dweeber wrote:I assume this is based on a newer Kernel / Update? Do we know which versions include it?
Just ordered both the MPEG-2 and VC-1 licenses.
- liz
- Raspberry Pi Foundation Employee & Forum Moderator
- Posts: 5212
- Joined: Thu Jul 28, 2011 7:22 pm
- Contact: Website
Re: You wanted MPEG-2? You've got it!
We really *are* sorry, by the way, that we weren't able to tell you we were working on this over the last couple of months; some of the threads here were getting pretty exercised, but we didn't want to announce until we were absolutely sure the solution we had worked properly. I hope nobody's teeth took damage with all the grinding.
We really *do* listen to what you have to say here. Please keep making requests of us; we do our best to address what we can.
We really *do* listen to what you have to say here. Please keep making requests of us; we do our best to address what we can.
Director of Communications, Raspberry Pi