Firefly开源社区

Ubuntu 16.04 vaapi 视频硬解码 失败

76

积分

0

威望

0

贡献

技术小白

积分
76
发表于 2017-3-23 16:00:05     
1、/usr/local/bin/test_dec.sh  用gsteamer  解码播放1080p 成功,调用了/usr/lib/arm-linux-gnueabihf/dri/rockchip_drv_video.so;
2、https://github.com/01org/libva-utils  的vainfo demo查看,test  demo测试,va_getDriverName()  返回-1,调用/usr/lib/arm-linux-gnueabihf/dri/rockchip_drv_video.so,但硬解码失败;


求助  求助  求助


root@localhost:/usr/local/bin# ./test_dec.sh
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'rockchip'
libva info: Trying to open /usr/lib/arm-linux-gnueabihf/dri/rockchip_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'pipeline0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL;
Redistribute latency...
init done status 0 dpb_size 20
h264d ctx created
~~ AllocateAsicBuffers, support:3
Width 1920 Height 1088
videoRange 0, matrixCoefficients 2
(ret == H264DEC_HDRS_RDY) decInput.dataLen 720903
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:09.999815165
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
************* freeDpbMem buffer index 17
************* freeDpbMem buffer index 18
************* freeDpbMem buffer index 19
deinit DONE
Screenshot_2017-03-23_07-11-41.png
回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2018-9-13 16:34:14     
你好,想请问一下,你的rockchip_drv_video.so是怎么安装的?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表