rockchip_drv_video.so

I want to test the video hardware codecs on the RK3399 to transcode video.

I noticed that ffmpeg is apparently able to access hardware for h.264 and h.265v video.

I installed vainfo and vdpauinfo:

sudo apt-get install vainfo

sudo apt-get install vdpauinfo

First I tried running vainfo:

[firefly@firefly] ~ 1182: sudo vainfo

error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/rockchip_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Aside from XDR_RUNTIME_DIR not being set the command reports an error regarding the rockchip video driver - as it turns out one isn’t installed:
[firefly@firefly] ~ 1183: ls /usr/lib/aarch64-linux-gnu/dri/

./   dummy_drv_video.so    r600_drv_video.so
../  nouveau_drv_video.so  radeonsi_drv_video.so

A similar library error is reported missing in action when I attempt to use vdpauinfo:

[firefly@firefly] ~cv 1184: sudo vdpauinfo

display: :0.0   screen: 0
Failed to open VDPAU backend libvdpau_rockchip.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

It’s obvious that vainfo knows it’s a rockchip device, so that’s a good sign. I’m going to look around and see if I can locate a package with the drivers, but I’m wondering if this is the correct approach.

Has anyone else managed to utilize ffmpeg to access the harware video codecs?

I deeply appreciate your article, it was truly unforgettable. Free New C_S4CPR_2508 exam duration resources—your key to climbing the career ladder!

為了不讓你得生活留下遺憾和後悔,我們應該盡可能抓住一切改變生活的機會。你做到了嗎?NewDumps WGU的Health-Fitness-and-Wellness考試培訓資料是幫助每個想成功的IT人士提供的培訓資料,幫助你們順利通過WGU的Health-Fitness-and-Wellness考試認證。為了不讓成功與你失之交臂,趕緊行動吧。