I am trying to stream a GMSL camera that is connected to my Xavier NX through a deserializer to USB3 board.
The camera shows up on the list of devices, nvarguscamerasrc does not see the device so I tried with v4l2src but I can’t seem to find a gstreamer command that lets me stream it.
This is the camera information that I can retrieve:
$ v4l2-ctl -d /dev/video3 --list-formats-ext ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'YUYV' Name : YUYV 4:2:2 Size: Discrete 1936x1100 Interval: Discrete 0.033s (30.000 fps)
gst-launch-1.0 v4l2src device=/dev/video3 ! 'video/x-raw, format=(string)YUYV, width=(int)1936, height=(int)1100, framerate=(fraction)30/1' ! videoconvert ! xvimagesink -e
which does not work and returns this error
WARNING: erroneous pipeline: could not link v4l2src0 to videoconvert0, neither element can handle caps video/x-raw, format=(string)YUYV, width=(int)1936, height=(int)1100, framerate=(fraction)30/1
I tried using only a few of the caps but the result is the same.
The only thing that worked so far for me is this command:
gst-launch-1.0 v4l2src device=/dev/video3 ! xvimagesink -e
which returns a green image, so there is still something wrong with it
Anyone able to help? I need to be able to stream this camera and encode an H265 video file