Firefly开源社区
标题:
mpp_rt: NOT found drm allocator
[打印本页]
作者:
msmmbl
时间:
2023-9-17 18:11
标题:
mpp_rt: NOT found drm allocator
使用了官方的debian,尝试使用自带的gstreamer将h264硬件编码时候出现了下面的错误。
gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,fmormat=NV12,width=1920,height=1080 ! mpph264enc ! rtph264pay ! udpsink host=192.168.11.144 port=5600
Setting pipeline to PAUSED ...
mpp[1956]: mpp_info: mpp version: unknown mpp version for missing VCS info
mpp[1956]: mpp_rt: NOT found ion allocator
mpp[1956]: mpp_rt: NOT found drm allocator
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000743479
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
复制代码
我觉得主要还是下面的
mpp_rt: NOT found drm allocator
看到github上,
https://github.com/rockchip-linux/mpp/issues/383
,提到正常都会有drm allocator。为啥我这个没有。
另外看到有些帖子还提到通过ssh访问这个条命令无效。1126-JD4配的这块底板板子没有hdmi输出,有没有什么办法能快速尝试这条命令。
tchip_askquestions
log.rar
2023-9-17 18:07 上传
点击文件名下载附件
下载积分: 灯泡 -1 , 经验 -1
17.11 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1
作者:
msmmbl
时间:
2023-9-17 22:36
看了mpp源码后明白了,它依赖/dev/dri/card0设备,所以需要在dts中开启一个dsi
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1