mpeg-2 raspberry pi license

I’m new to plex. I’ve been running Kodi on raspberry pi and had to purchase a MPEG-2 license and install it for Kodi to work right on my raspberry pi and HDHomerun. Do I need a raspberry PI MPEG-2 license for Plex? If so, how and where do I install it?

In the exact same way as on LibreElec. Edit the config.txt file on the SD card.

Keep in mind that Plex Media Player embedded requires at least a Raspberry Pi 2.

You can also stay on Kodi and simply install the Plex4Kodi Add-On.

Is the config.txt file that I’m supposed to edit under the /boot directory? And is it ok just to put the license at the bottom of the file? I’ve done that and it doesn’t seem to make a difference.

In the file there is already a prepared section for the licenses. You just need to uncomment it.
I honestly don’t know where to find the config.txt file when accessing the Pi with ssh .
I know only this file is visible on the first FAT partition on the SD card, so you can even edit it easily on Windows.

I must of put it in the correct config.txt file. I ran the following command: vcgencmd codec_enabled MPG2
and MPG2=enabled appeared. So it must be applied. I looked at the file again, but their was no place for the license. I just put it in the bottom of the file. Thanks for your help.

I have this in my config.txt:

################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################

# decode_MPG2=0x00000000
# decode_WVC1=0x00000000
# decode_DTS=0x00000000
# decode_DDP=0x00000000