Navigation

    VEYE IMAGING Forum

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

    SOLVED IMX385 Jetson Xavier NX Gstreamer error!!!

    VEYE MIPI camera
    2
    9
    2003
    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.
    • M
      maponarooo last edited by maponarooo

      I want to use IMX385 for udp streaming at Xavier NX.
      I have already patched boot image also.
      How to use gstreamer camera source this camera?

      gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv flip-method=2 ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false

      is working well...

      this is error log....

      quad@xavier-nx:~$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! omxh264enc control-rate=2 bitrate=4000000 ! video/x-h264, stream-format=byte-stream ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
      nvbuf_utils: Could not get EGL display connection
      Setting pipeline to PAUSED ...
      Pipeline is live and does not need PREROLL ...
      Setting pipeline to PLAYING ...
      Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:725 No cameras available
      New clock: GstSystemClock
      Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
      ===== NVMEDIA: NVENC =====
      NvMMLiteBlockCreate : Block : BlockType = 4
      H264: Profile = 66, Level = 40
      Got EOS from element "pipeline0".
      Execution ended after 0:00:00.016803715
      Setting pipeline to PAUSED ...
      Setting pipeline to READY ...
      Setting pipeline to NULL ...
      Freeing pipeline ...
      $

      and this also error!
      $ gst-launch-1.0 nvv4l2camerasrc device=/dev/video0 ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! omxh264enc control-rate=2 bitrate=4000000 ! video/x-h264, stream-format=byte-stream ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false

      WARNING: erroneous pipeline: could not link nvv4l2camerasrc0 to omxh264enc-omxh264enc0 with caps video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, framerate=(fraction)30/1

      veye_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @maponarooo last edited by

        @maponarooo

        @maponarooo said in IMX385 Jetson Xavier NX Gstreamer error!!!:

        execute:725 No cameras available

        I think the driver and dtb is not replaced correctly.
        Please refer to :
        http://wiki.veye.cc/index.php/VEYE_CS_Camera_for_Jetson_TX2#Check_system_status
        http://wiki.veye.cc/index.php/VEYE_CS_Camera_for_Jetson_TX2#Are_Image_and_DTB_upgrade_successful_.3F

        M 2 Replies Last reply Reply Quote 0
        • M
          maponarooo @veye_xumm last edited by maponarooo

          @veye_xumm No! I have verified.

          quad@xavier-nx:~$ dmesg | grep veye
          [ 2.114386] veyecam 9-003b: probing v4l2 sensor
          [ 2.114586] veyecam 9-003b: tegracam sensor driver:veyecam_v2.0.6
          [ 2.129597] veyecam 9-003b: probe failed
          [ 2.129777] veyecam 9-003b: board setup failed
          [ 2.130083] veyecam 10-003b: probing v4l2 sensor
          [ 2.130347] veyecam 10-003b: tegracam sensor driver:veyecam_v2.0.6
          [ 2.141427] veyecam 10-003b: camera id is veyecam
          [ 2.142221] veyecam 10-003b: sensor is IMX385
          [ 2.142390] veyecam 10-003b: board type is ONE board
          [ 2.142739] veyecam 10-003b: Detected VEYECAM sensor
          [ 3.128931] tegra194-vi5 15c10000.vi: subdev veyecam 10-003b bound

          $ ls /proc/device-tree/cam_i2cmux/i2c@*
          /proc/device-tree/cam_i2cmux/i2c@0:
          '#address-cells' name rbpcv2_veyecam_a@3b '#size-cells'
          linux,phandle phandle reg

          /proc/device-tree/cam_i2cmux/i2c@1:
          '#address-cells' name rbpcv2_veyecam_c@3b '#size-cells'
          linux,phandle phandle reg

          1 Reply Last reply Reply Quote 0
          • M
            maponarooo @veye_xumm last edited by

            @veye_xumm Help me....

            veye_xumm 1 Reply Last reply Reply Quote 0
            • veye_xumm
              veye_xumm @maponarooo last edited by

              @maponarooo
              Sorry,I didn't read your question carefully enough before.

              1. nvarguscamerasrc is definitely not possible, our module contains internal isp function, which does not support this call method.
              2. Do not use omxh264enc either, according to the official Nvidia statement, this is already obsolete. Please use nvv4l2h264enc .
                Please refer to our pipeline:
              gst-launch-1.0 nvv4l2camerasrc num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)NV12" ! nvv4l2h264enc control-rate=1 bitrate=10000000 ! h264parse ! qtmux ! filesink location=filename.mp4 -e
              
              M 2 Replies Last reply Reply Quote 0
              • M
                maponarooo @veye_xumm last edited by

                @veye_xumm Okay. I see.
                Thank you so much.
                Your camera is very good!!!

                1 Reply Last reply Reply Quote 0
                • M
                  maponarooo @veye_xumm last edited by maponarooo

                  @veye_xumm One more question!!
                  I would like to RTSP streaming. So I have tried like this...
                  ./test-launch --gst-debug=3 '( nvv4l2camerasrc num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv flip-method=2! "video/x-raw(memory:NVMM),format=(string)NV12" ! nvv4l2h264enc control-rate=1 bitrate=10000000 ! h264parse ! rtph264pay name=pay0 pt=96 )'

                  gst-launch-1.0 -v rtspsrc location=rtsp://192.168.0.28:8554/test latency=0 buffer-mode=auto ! decodebin ! videoconvert ! autovideosink sync=false

                  But, happened error.

                  $ ./test-launch --gst-debug=3 '( nvv4l2camerasrc num-buffers=300 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv flip-method=2! "video/x-raw(memory:NVMM),format=(string)NV12" ! nvv4l2h264enc control-rate=1 bitrate=10000000 ! h264parse ! rtph264pay name=pay0 pt=96 )'
                  stream ready at rtsp://127.0.0.1:8554/test
                  ....
                  0:00:09.987992920 1410 0x55b5357d90 WARN default grammar.y:1137:priv_gst_parse_yyerror: Error during parsing: syntax error, unexpected $undefined, expecting IDENTIFIER or BINREF or '('
                  0:00:09.988389945 1410 0x55b5357d90 ERROR GST_PIPELINE grammar.y:1061:priv_gst_parse_yyparse: syntax error
                  ..........

                  Why syntax error?

                  veye_xumm 1 Reply Last reply Reply Quote 0
                  • veye_xumm
                    veye_xumm @maponarooo last edited by

                    @maponarooo
                    Sorry, I'm not too familiar with this part either. I suggest you ask a question in the Nvidia developer forum, and they are very quick to respond.
                    forums.developer.nvidia.com

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      maponarooo @veye_xumm last edited by

                      @veye_xumm Okay. Anyway Thank you.

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