Page 1 of 1

MPG2 License

Posted: Tue Apr 18, 2017 1:31 pm
by VascoFerraz
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.

Re: MPG2 License

Posted: Tue Apr 18, 2017 1:50 pm
by Paeryn
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).

Re: MPG2 License

Posted: Tue Apr 18, 2017 1:52 pm
by VascoFerraz
Nice! Thanks.