Blowind 发表于 2021-11-3 18:56:31

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: mpp_info: mpp version: unknown mpp version for missing VCS info
Pipeline is PREROLLING ...
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
mpp: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: 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: vcodec_service: open vcodec_service /dev/mpp_service failed
mpp: hal_h264d_api: mpp_dev_init failed ret: -1
mpp: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp: mpp_hal: mpp_hal_init could not found coding type 7
mpp: mpp_dec: mpp_dec_init could not init hal
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp_time: mpp_clock_put invalid clock (nil)
mpp: mpp: error found on mpp initialization
Freeing pipeline ...


板蓝根 发表于 2021-11-4 09:33:35

open /dev/mpp_servicedevice fail,看看 /dev/mpp_service有没有这个设备,或者看看 firefly 用户有没有权限,切换到 root 运行或者基于可读写权限
页: [1]
查看完整版本: gstreamer插件验证报错