树莓派 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/

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM