zoukankan      html  css  js  c++  java
  • 树莓派 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/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/

  • 相关阅读:
    Servlet
    MySQL游标
    MySQL数据库的备份和还原
    MySQL安全管理
    MySQL存储过程
    MySQL联结——实现多表查询
    MySQL视图
    MySQL触发器
    asp.net core 读取连接字符串
    form表单提交前进行ajax验证
  • 原文地址:https://www.cnblogs.com/jins-note/p/10229357.html
Copyright © 2011-2022 走看看