VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    GStreamer读取SC132的图像时,当相机运动时会报错

    Scheduled Pinned Locked Moved CS MIPI camera
    4 Posts 2 Posters 1.5k Views 1 Watching
    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.
    • C Offline
      CVUser
      last edited by

      我用Gstreamer的C/C++库,自己写程序读取SC132的图像,并保存为图片。
      当相机静止时,可以正常存储;当相机放车上开始运动时,会在运行一段时间后就会报错(段错误),每次测试运行的时间不同。已经检测过硬件连接。不知道可能是什么原因造成的。

      Gstreamer中的Lanuch代码为:

      pipeline_ = gst_parse_launch("v4l2src num-buffers=100 do-timestamp=true is-live=true device=/dev/video0 ! video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)1080 ! videoconvert ! video/x-raw, format=(string)GRAY8 ! jpegenc ! multipartmux ! multipartdemux ! jpegparse", &error);

      不知道大家有没有遇到类似情况。

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @CVUser
        last edited by

        @cvuser
        建议出问题的时候,先通过dmesg检查一下错误日志。
        感觉你这个问题呢,有可能是mipi出现了错误帧,然后你的程序对于错误处理没有搞好。
        这个只是我的猜测。

        也有可能你的程序的段错误跟摄像机没关系。

        总之肯定要先从软件着手,找到问题点,再查硬件。

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          CVUser @veye_xumm
          last edited by

          @veye_xumm 好的~我尝试debug一下~

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @CVUser
            last edited by

            @cvuser
            这个问题提出已经很久了,一直没有更新状态。 我会将状态标记为解决,如果需要,可以再次跟帖,或者直接打开问题。

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post