Issues on testing Leopard Imaging LI-XAVIER-KIT-IMX185 for Jetson AGX Xavier

Hello, I am using this product to connect two cameras at the same time.
I flushed the Jetson Xavier while reading IMX185_R31.1_Xavier_NV_Quad_20190328_Driver_Guide’s setup procedure.
Then, I installed Argus software and tested the cameras.As a result, each camera operated normally.
However, the Gstreamer and v4l2-ctl capture raw did not work in the suggested way.
The command presented is as follows: (I used J3(video2) and J4(video3) port, DIPSW1 is turned off(Master mode). Of course, I changed the /dev/video number according to port.)


  • Suggested code
gst-launch-1.0 nvarguscamerasrc sensor-id=3 ! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080' ! nvvidconv flip-method=0 ! 'video/x-raw, format=(string)I420' ! xvimagesink –e
  • result
  • WARNING: erroneous pipeline: syntax error

    v4l2-ctl capture raw

  • Suggested code
  • v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG12 --set-ctrl bypass_mode=0 --set-ctrl sensor_mode=0 --stream-mmap --stream-count=3 --stream-to=IMX185.raw -d /dev/video3
  • result
  • <<<

    It seems to me that there is no problem with the code.
    Please check and let me know what’s wrong.

    Thanks in advance!

    Hi samchi.robot,

    In this pipeline, the log is clear: WARNING: erroneous pipeline: syntax error it’s indicating that the option “e” of gst-launch is not being written correctly, it should be specified with a hyphen not a dash. The same pipeline you are using but fixed is:

    gst-launch-1.0 nvarguscamerasrc sensor-id=3 ! 'video/x-raw(memory:NVMM), width=(int)1920,height=(int)1080' ! nvvidconv flip-method=0 ! 'video/x-raw, format=(string)I420' ! xvimagesink -e

    As for the v4l2-ctl command, to debug that issue it would be better first to enable verbose (-v) or provide dmesg output.



    Dear Jafet

    Thanks for your answer. I checked your answer now, and I tested it right away.

    The code you suggested worked. (GStreamer)

    I’ll debug v4l2-ctl and try to solve the problem.



    When I perform: v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=3 --stream-to=IMX274.raw -d /dev/video0; I also only get the result: <<<. Could you tell me how to fix it? Thanks a lot.

    Hi duanlinlin,

    It’s quite hard to say just with the output of that command. Can you please provide dmesg


    Thanks for reply. In my mind, when I perform this cmd, there should be a window contained realtime video showed. But I just see <<< and a file named IMX274.raw. Maybe I don’t know the cmd. What’s this cmd aimed for? Not for video show?
    dmesg.txt (81.6 KB)

    Hi dualinlin,

    In the dmesg output you provided I couldn’t find anything unusual. I suggest running the command with --verbose option and --stream-count=1 (just one frame). After that try to display the raw data (IMX274.raw) in this page: or using vooya (

    The command you are using is an application to call on V4L2 drivers. If you intend to display the streaming I suggest using GStreamer, you could use a command similar to this:

    gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! nvvidconv ! queue ! xvimagesink