Accelerated H.264 and HEVC video decoding with Cedrus
#13
Hello everyone,

It's my first post on this forum. I got my P64 about 3 days ago and have been playing with it since then. I quickly downloaded last Longsleep's Ubuntu image onto the fresh Class 10 card and one of my main concerns, as for many of us, was a lack of hardware graphics acceleration in this distro. Please, don't get me wrong, I cannot thank Longsleep enough for preparing this image for us all here...
Anyway, I can now finally confirm that I also managed to install libvdpau-sunxi library and I can now watch videos with HW graphics acceleration enabled.
I followed instructions from http://linux-sunxi.org/Cedrus/libvdpau-sunxi, but I believe they are not up-to-date anymore. Besides installing all the mentioned prerequisites I also had to install Pixman (http://www.linuxfromscratch.org/blfs/vie...ixman.html) and libcedrus (https://github.com/linux-sunxi/libcedrus). Anyway, it works! I can play a sample video ( http://samplemedia.linaro.org/H264/big_b..._7200K.MP4) and even though it has little glitches, I believe it's because the file resides on an SD card (I don't have any USB HDD attached yet). Am I correct that the framerate would be much worse hadn't I have HW acceleration enabled?
How do I check whether mplayer really uses HW graphics?

p.s. I'd like to point out that I'm barely a Linux user. I know simple commands and I can run a makefile or download some code from github, but I can't really call myself a Linux guy. Anyway I managed to build all these libraries which shows how simple it is at this stage (i.e. after so many people contributed to reverse-engineering Allwinner's SOCs).


Messages In This Thread
RE: Accelerated H.264 and HEVC video decoding with Cedrus - by paranoid_android - 04-14-2016, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Video wall? monty1 2 4,728 04-12-2017, 04:34 PM
Last Post: monty1
  pine64 accelerated jpeg decoding jacklau 1 4,068 01-12-2017, 01:12 AM
Last Post: Trizna
  Pine64 accelerated H.264 encoding hngjms 7 12,203 10-18-2016, 03:15 AM
Last Post: pfeerick
  The sunxi transform module is very slow, how to do video rotation? jacklau 0 2,382 09-19-2016, 12:24 AM
Last Post: jacklau
  Video encoding h.265/HEVC tomaThoma 1 6,067 07-02-2016, 11:35 PM
Last Post: tllim
  Question about video acceleration BringItOn 10 15,195 06-23-2016, 10:33 AM
Last Post: ssvb
  Linux accelerated graphics nomadewolf 1 4,407 12-29-2015, 11:26 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)