retr0rangepi / RetrOrangePi

Official RetrOrangePi
MIT License
163 stars 21 forks source link

RetroOrangePiZero 4.1 NTSC - mpv not using vdpau #24

Open yam001 opened 6 years ago

yam001 commented 6 years ago

Trying to use kodi to play video from the setup, it can only play for 5 minutes until the CPU temperature reaches 76 degree C and the system stops responding. I did a htop from a putty session and I noticed during video playback all 4 CPUs were 100% busy and the mpv threads were using --vo=x11. Shouldn't this be --vo=vdpau? Also in /etc/mpv/mpv.conf, vo is set to vdpau but its been ignored. May be this is reason why the CPU temperature was so high? Is hardware decoding supported in this release? BTW, thanks for the great work here.

I was only using air-cooling with a raspberry pi heat sink on the CPU. Having to use active cooling would defeat the purpose of this SBC.

retr0rangepi commented 6 years ago

kodi reads VO info from ~/.kodi/userdata/playercorefactory.xml and it's set to x11 because vdpau wont work on analog / lower resolutions (black screen). I'm not sure if this is a driver limitation. Anyway, avoid videos higher than current resolution (something like 672x448), otherwise it will push CPU to downscale the video. You can also try the builtin player, it seems to have good performance (press C prior to playing the video).

retr0rangepi commented 6 years ago

this is VDPAU info: VDPAU: Decoder capabilities:

name level macbs width height MPEG1 0 32400 3840 2160 MPEG2_SIMPLE 3 32400 3840 2160 MPEG2_MAIN 3 32400 3840 2160 H264_BASELINE 51 32400 3840 2160 H264_MAIN 51 32400 3840 2160 H264_HIGH 51 32400 3840 2160 VC1_SIMPLE --- not supported --- VC1_MAIN --- not supported --- VC1_ADVANCED --- not supported --- MPEG4_PART2_SP 5 32400 3840 2160 MPEG4_PART2_ASP 5 32400 3840 2160 DIVX4_QMOBILE --- not supported --- DIVX4_MOBILE --- not supported --- DIVX4_HOME_THEATER --- not supported --- DIVX4_HD_1080P --- not supported --- DIVX5_QMOBILE --- not supported --- DIVX5_MOBILE --- not supported --- DIVX5_HOME_THEATER --- not supported --- DIVX5_HD_1080P --- not supported --- H264_CONSTRAINED_BASELINE 51 32400 3840 2160 H264_EXTENDED --- not supported --- H264_PROGRESSIVE_HIGH --- not supported --- H264_CONSTRAINED_HIGH 51 32400 3840 2160 H264_HIGH_444_PREDICTIVE --- not supported --- HEVC_MAIN 150 32400 3840 2160 HEVC_MAIN_10 --- not supported --- HEVC_MAIN_STILL --- not supported --- HEVC_MAIN_12 --- not supported --- HEVC_MAIN_444 --- not supported ---