Navigation

    VEYE IMAGING Forum

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

    SOLVED CS-MIPI-SC132 got Internal data stream error on Xavier NX with Jetpack 5.1

    CS MIPI camera
    2
    3
    746
    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.
    • R
      ryanclark last edited by

      Hello, I have an xavier nx devkit with jetpack 5.1.
      The kernel driver (with .sig) and dtb were installed as the wiki instructed, and the cam was successfully detected:
      8b5e2381-42e1-44fb-bd18-a2d9c46de1f8-image.png
      When I was trying to test the cam with gstreamer, I got an Internal data stream error massage:

      Setting pipeline to PAUSED ...
      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:01.283335950
      Setting pipeline to PAUSED ...
      Setting pipeline to READY ...
      Setting pipeline to NULL ...
      Freeing pipeline ...
      

      the command line I used was:

      gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1080, height=(int)1280" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)UYVY" ! nvoverlaysink sync=false
      

      Can anyone help me this out? Thank you!

      R 1 Reply Last reply Reply Quote 0
      • R
        ryanclark @ryanclark last edited by

        @ryanclark said in CS-MIPI-SC132 got Internal data stream error on Xavier NX with Jetpack 5.1:

        Hello, I have an xavier nx devkit with jetpack 5.1.
        The kernel driver (with .sig) and dtb were installed as the wiki instructed, and the cam was successfully detected:
        8b5e2381-42e1-44fb-bd18-a2d9c46de1f8-image.png
        When I was trying to test the cam with gstreamer, I got an Internal data stream error massage:

        Setting pipeline to PAUSED ...
        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:01.283335950
        Setting pipeline to PAUSED ...
        Setting pipeline to READY ...
        Setting pipeline to NULL ...
        Freeing pipeline ...
        

        the command line I used was:

        gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1080, height=(int)1280" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)UYVY" ! nvoverlaysink sync=false
        

        Can anyone help me this out? Thank you!

        I figured it out. It was my fault.
        The correct command line should be:

        gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false
        
        veye_xumm 1 Reply Last reply Reply Quote 0
        • veye_xumm
          veye_xumm @ryanclark last edited by

          @ryanclark

          You took care of it yourself. that's great!

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