Firefly开源社区

标题: gstreamer插件验证报错 [打印本页]

作者: Blowind    时间: 2021-11-3 18:56
标题: gstreamer插件验证报错
我按照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 ...



作者: 板蓝根    时间: 2021-11-4 09:33
open /dev/mpp_service  device fail,看看 /dev/mpp_service  有没有这个设备,或者看看 firefly 用户有没有权限,切换到 root 运行或者基于可读写权限




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1