Firefly开源社区

标题: mpp_rt: NOT found drm allocator [打印本页]

作者: msmmbl    时间: 2023-9-17 18:11
标题: mpp_rt: NOT found drm allocator
使用了官方的debian,尝试使用自带的gstreamer将h264硬件编码时候出现了下面的错误。
  1. 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
  2. Setting pipeline to PAUSED ...
  3. mpp[1956]: mpp_info: mpp version: unknown mpp version for missing VCS info
  4. mpp[1956]: mpp_rt: NOT found ion allocator
  5. mpp[1956]: mpp_rt: NOT found drm allocator
  6. Pipeline is live and does not need PREROLL ...
  7. Setting pipeline to PLAYING ...
  8. New clock: GstSystemClock
  9. ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
  10. Additional debug info:
  11. gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
  12. streaming stopped, reason not-negotiated (-4)
  13. Execution ended after 0:00:00.000743479
  14. Setting pipeline to PAUSED ...
  15. Setting pipeline to READY ...
  16. Setting pipeline to NULL ...
  17. 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

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