Environmental information:
jetson Orin NX
jetson 5.1.1
Deepstream6,2
TensorRT8.5.2.2
This is the code of the deepstream-test1 example I modified, I am using a gmsl camera, and the output format of the camera is UYVY.
The connection logic is:
gst_bin_add_many (GST_BIN (pipeline), source, source_vidconv, streammux, pgie, tracker, tiler, nvvidconv, nvosd, transform_sink, sink, NULL);
The problem I am encountering now is: the code works normally, but the frame rate is abnormal, only about 2fps, and the display screen is a green screen, which cannot be displayed normally.
IIf this camera is supported by v4l2src, please refer to this FAQ.
28. [DSx_All_App] How to connect a USB camera in DeepStream?
28.1 Query the device number by the v4l2-ctl tool
E.g.
$ sudo apt install v4l-utils && v4l2-ctl --list-devices
28.2 Query the supported formats and capabilities of the camera by v4l2-ctl tool.
E.g. Query the camera’s formats and capabilities whose device number is 2.
$ v4l2-ctl -d /dev/video2 --list-formats-ext
The information may be displayed in the following format
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
octl: VIDIOC_EN…
The pipeline is like this:
v4l2src --> 'video/x-raw, format=UYVY, width=xxx, height=xxx, framerate=xxx/1' --> nvvideoconvert --> 'video/x-raw(memory:NVMM),format=NV12' --> nvstreammux --> ....
Please first ensure that the v4l2 camera displays correctly when using nv3dsink.