linux-sunxi / libvdpau-sunxi

Experimental VDPAU for Allwinner sunxi SoCs (obsolete, see https://linux-sunxi.org/Sunxi-Cedrus)
https://linux-sunxi.org/Cedrus
166 stars 80 forks source link

H264 1080p 60fps supported? #49

Open luyi1888 opened 8 years ago

luyi1888 commented 8 years ago

I tried it on Orange Pi PC(H3). It cannot play H264 1080p 60fps video smoothly. (Audio/Video out of sync) 30fps video is fine. According to H3 Datasheet, It should support H.264:1080p@60fps. Is it normal?

Demo file:http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4 OS:Armbian 5.0.5

jemk commented 8 years ago

We are likely hitting a software performance limitation here, the hardware should be able to decode this. libvdpau-sunxi isn't really optimized for maximum performance yet, some dumb things like clearing the whole window each frame with XClearWindow could really hurt at 60fps.