前言
尝试在树莓派上装Emby,然后转码播放1080P的视频,发现非常非常非常的卡,一看CPU….全满了:
但是RaspberryPi本身硬件是支持硬解码的,所以需要做一些配置来开启功能。
升级内核固件
pi@raspberrypi:/ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18058 100 18058 0 0 59794 0 --:--:-- --:--:-- --:--:-- 59794
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.19.97-v7l+</