树莓派 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
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/
欢迎转载,转载请保留页面地址。帮助到你的请点个推荐。