fanzh
5
- please refer to this faq to check if the the media property(resolution, framerate) is supported.
- I suggest using gst-launch to debug first. please check if the following three cmds run well. you need to correct the v4l2src device name.
gst-launch-1.0 -v v4l2src device=/dev/videox ! 'video/x-raw, width=4640, height=3480, framerate=6/1' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nv3dsink
gst-launch-1.0 -v v4l2src device=/dev/videox ! 'video/x-raw, width=4640, height=3480, framerate=6/1' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! mux.sink_0 nvstreammux name=mux batch-size=1 width=1920 height=1080 ! nv3dsink
gst-launch-1.0 -v v4l2src device=/dev/videox ! 'video/x-raw, width=4640, height=3480, framerate=6/1' ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! mux.sink_0 nvstreammux name=mux batch-size=1 width=1920 height=1080 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_infer_primary.txt batch-size=1 ! nvvideoconvert ! 'video/x-raw(memory:NVMM),format=RGBA' ! nvdsosd ! nvvideoconvert ! nv3dsink