Firefly开源社区

打印 上一主题 下一主题

[Linux] gstreamer插件验证报错

39

积分

0

威望

0

贡献

技术小白

积分
39

gstreamer插件验证报错

发表于 2021-11-3 18:56:31      浏览:5505 | 回复:1        打印      只看该作者   [复制链接] 楼主
我按照https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/Debian10.html教程内容烧录debain系统后验证gstreamer插件,我找了一个mp4视频,放到/home/firefly目录下,运行gst-launch-1.0 filesrc location="/home/firefly/test.mp4" ! qtdemux ! h264parse ! mppvideodec ! kmssink。报错如下:
firefly@firefly:~$ gst-launch-1.0 filesrc location="/home/firefly/000.mp4" ! qtdemux ! h264parse ! mppvideodec ! kmssink
Setting pipeline to PAUSED ...
mpp[2438]: mpp_info: mpp version: unknown mpp version for missing VCS info
Pipeline is PREROLLING ...
mpp[2438]: mpp_rt: NOT found ion allocator
mpp[2438]: mpp_rt: found drm allocator
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
Additional debug info:
qtdemux.c(6073): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
mpp[2438]: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp[2438]: hal_h264d_api: mpp_dev_init failed ret: -1
mpp[2438]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[2438]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[2438]: mpp_dec: mpp_dec_init could not init hal
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[2438]: mpp: error found on mpp initialization
Freeing pipeline ...


回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2021-11-4 09:33:35        只看该作者  沙发
open /dev/mpp_service  device fail,看看 /dev/mpp_service  有没有这个设备,或者看看 firefly 用户有没有权限,切换到 root 运行或者基于可读写权限
回复

使用道具 举报

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

本版积分规则

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