I am having trouble connecting my USB camera to Deepstream. I have a gstreamer source that works with my camera:
gst-launch-1.0 pleorasrc ! videoconvert ! video/x-raw, format=I420, witdth=1920, height=480, framerate=30/1 ! autovideosink
This works and displays my camera video to the screen. When I try gstreamer with Deepstream, I get an error. Here is the command that have tried:
gst-launch-1.0 pleorasrc ! videoconvert ! video/x-raw, format=I420, witdth=1920, height=480, framerate=30/1 ! m.sink_0 nvstreammux name=m batch-size=1 width=1920 height=480 ! nvinfer config-file-path= /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-test3/config_infer_primary_yoloV4_tiny.txt batch-size=1 unique-id=1 infer-on-gie-id=1 infer-on-class-ids=0 ! nvmultistreamtiler rows=1 columns=1 width=1920 height=480 ! nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink
Here is the error that I get:
WARNING: erroneous pipeline: could not link videoconvert0 to m, m can’t handle caps video/x-raw, format=(string)I420, witdth=(int)1920, height=(int)480, framerate=(fraction)30/1
I have also tried the following:
gst-launch-1.0 pleorasrc ! video/x-raw, format=I420, witdth=1920, height=480, framerate=30/1 ! nvvideoconvert ! nvoverlaysink
and I get the same error as above. I am using DeepStreamSDK 5.0.0.