VA-API support for ROCK 4

Hi,

I have been working on libva-v4l2, a project to provide a VA-API interface to the video decoder found on many SBCs, in particular also Radxa devices. The project is based on the discontinued libva-v4l2-request. By now, the maturity as reached a level where I feel like it might be interesting to people beyond me, which is why I’m posting here.

For development I have used a ROCK 4, featuring an RK3399. Two drivers are available for that, hantro and rockchip, supporting MPEG2/VP8, and H264/VP9 respectively. The drivers support other chips from the same family (RK3036, RK3066, RK3288, RK3328, RK3568), though apparently none of those used by other Radxa devices.

So if you’re looking to use your ROCK 4 for video decoding, you can give this a try :slight_smile: I’m curious whether it will work out-of-the-box, please let me know what your results are.

1 Like

Have you tested with any of those applications?

I have tested it with ffmpeg using vaapi-fits. My testing system is headless, that’s why I haven’t used any of the players. For the same reason gstreamer seems to fail, there is a problem in the eGL context creation on headless systems.