Firefly开源社区

打印 上一主题 下一主题

[应用开发] mpp报错mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1

30

积分

0

威望

0

贡献

技术小白

积分
30

mpp报错mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1

发表于 2023-4-3 21:01:39      浏览:4648 | 回复:0        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
ffmpeg解码视频报错,由于使用了硬解码,在连续多次的解码和播放视频后,mpp报错
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1
mpp[12268]: mpp_buffer: mpp_buffer_create failed to create buffer with size 1843200
mpp[12268]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1

等。
如果无视这些报错再次进行视频解码,则会出现更多报错,可见日志。

mpp.zip

569 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

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

本版积分规则

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