Enable the Pi's hardware decoding of MPEG-2 and VC-1
MPEG2 patents have expired
If you have start.elf in /boot
sudo -s cd /boot cp start.elf start.elf_backup && perl -pne 's/x47xE9362Hx3Cx18/x47xE9362Hx3Cx1F/g' < start.elf_backup > start.elf
If you have start_x.elf in /boot
sudo -s cd /boot cp start_x.elf start_x.elf_backup && perl -pne 's/x47xE9362Hx1Dx18/x47xE9362Hx1Dx1F/g' < start_x.elf_backup > start_x.elf
If you get this error:
bash: start_x.elf: Permission denied
chang to root :
su root
Once done, check by this:
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
参考:
https://www.reddit.com/r/raspberry_pi/comments/8sg0a6/patch_for_mpeg2_vc1_license_again_for_osmc/
https://www.reddit.com/r/raspberry_pi/comments/5x7xbo/patch_for_mpeg2_vc1_license/