1. 程式人生 > >樹莓派 MPG視訊硬體解碼破解 Raspberry Pi Patch for MPEG-2, VC-1 license

樹莓派 MPG視訊硬體解碼破解 Raspberry Pi Patch for MPEG-2, VC-1 license

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/\x47\xE9362H\x3C\x18/\x47\xE9362H\x3C\x1F/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/\x47\xE9362H\x1D\x18/\x47\xE9362H\x1D\x1F/g' < start_x.elf_backup > start_x.elf

If you get this error:

bash: start_x.elf: Permission denied

chang to root :

su root

 

 

參考:

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/