Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED RAW-MIPI-SC535M格式取流设置问题

    VEYE MIPI camera
    2
    4
    488
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 毛
      毛宪历 last edited by 毛宪历

      您好,
      我使用了RAW-MIPI-SC535M这款相机执行preview_3588.sh脚本时遇到了问题。脚本的gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=GRAY8,width=$WIDTH,height=$HEIGHT ! autovideosink这一行在报错,完整的报错信息如下:
      Just use 2432*2048@30fps, I2C bus is 7 as a sample. Please modify these values if needed.
      Start MV Camera Preview!
      Setting pipeline to PAUSED ...
      Pipeline is live and does not need PREROLL ...
      Setting pipeline to PLAYING ...
      ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
      Additional debug info:
      gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
      streaming stopped, reason not-negotiated (-4)
      Execution ended after 0:00:00.000110543
      Setting pipeline to PAUSED ...
      Setting pipeline to READY ...
      Setting pipeline to NULL ...
      Freeing pipeline ...
      我希望知道报错的原因以及修改方式,感谢!

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @毛宪历 last edited by

        @毛宪历 请问你使用的主板型号是什么?

        毛 1 Reply Last reply Reply Quote 0
        • 毛
          毛宪历 @veye_xumm last edited by 毛宪历

          @veye_xumm RK3588S-PC,firefly5.10,基于Ubuntu20.04。同时还有一个附带的情况,就是我在C++中使用系统调用(v4l2框架)连接/dev/video0时可以连接,但使用ioctl查询设备支持的模式时发现获取的v4l2_capability.capabilities = 0x84201000,并没有明确的指向某个功能。我想这应该是一个共同的原因引起的,您有什么建议吗?

          veye_xumm 1 Reply Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @毛宪历 last edited by

            @毛宪历
            这个板子上,请使用如下命令进行测试先:

            python3 ./v4l2dev_2_opencv_show_grey.py --width 2432 --height 2048 --fps 50 --i2c 7

            1 Reply Last reply Reply Quote 0
            • First post
              Last post