User avatar
VascoFerraz
Posts: 83
Joined: Thu Aug 30, 2012 11:54 am

MPG2 License

Tue Apr 18, 2017 1:31 pm

Hi all,

I have a valid MPG2 license for my RPi1 and from time to time I reinstall the OS.

This time, I forgot to add in the config.txt file the line to enable the MPG2 codec.

However, with a virgin config.txt I tested the license with
sudo vcgencmd codec_enabled MPG2
And got the following response:
MPG2=enabled
Please explain :)

Thank you.
Vasco Ferraz

User avatar
Paeryn
Posts: 2966
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: MPG2 License

Tue Apr 18, 2017 1:50 pm

A while ago the firmware was updated so that when a valid licence is seen it sets a bit in the RPi's OTP memory to say that it is valid. If the bit is set then the licence doesn't need to appear in the config.txt anymore (at least as long as you don't revert to using an old firmware that doesn't check the bit).
She who travels light — forgot something.

User avatar
VascoFerraz
Posts: 83
Joined: Thu Aug 30, 2012 11:54 am

Re: MPG2 License

Tue Apr 18, 2017 1:52 pm

Nice! Thanks.
Vasco Ferraz

Return to “Troubleshooting”