|
【Linux】
mpp_linux_demo 运行报错
发表于 2021-11-11 16:50:50
浏览:5318
|
回复:4
打印
只看该作者
[复制链接]
楼主
本帖最后由 jishutao 于 2021-11-11 16:52 编辑
您好,
我在ROOT平台上,下载了mpp_linux_cpp-master源码,想使用MPP,RGA,DRM实现解码显示功能,报错如下:
./mpp_linux_demo
mpp[1641]: mpp_info: mpp version: 31814aea author: Herman Chen 2021-09-30 [vepu]: Add offset_x offset_y support for vepu
mpp[1641]: mpp_rt: NOT found ion allocator
mpp[1641]: mpp_rt: found drm allocator
failed to open rga dev /dev/v4l/by-path/platform-ff680000.rga-video-index0.
failed to exec mRGA->init -1.
failed to init codec
mpp[1641]: mpp_meta: ~MppMetaService cleaning leaked metadata
mpp[1641]: mpp_buffer: ~MppBufferService cleaning leaked group
mpp[1641]: mpp_buffer: ~MppBufferService cleaning leaked buffer
mpp_linux_demo[1641]: mpp_mem_pool: put_pool found 2 used buffer size 80
mpp_linux_demo[1641]: mpp_mem_pool: put_pool found 5 used buffer size 192
看起来是打开RGA设备结点时失败,代码中显示打开了"/dev/v4l/by-path/platform-ff680000.rga-video-index0"这个设备文件。不知道是什么原因导致的失败,请支持我一下,十分感谢。 |
|