Name 'src_cap_filter' is not unique in bin 'src_sub_bin0', not adding

Hi,
I am attempting to use input from a Logitech BRIO USB webcam. Using the normal deepstream-app and the following config fails to work.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5

[tiled-display]
enable=1
rows=1
columns=1
width=1280
height=720

[source0]
enable=1
type=1
camera-v4l2-dev-node=0
camera-fps-n=30
camera-fps-d=1

[sink0]
enable=1
type=5
sync=0
display-id=0
offset-x=0
offset-y=0
width=0
height=0
overlay-id=1
source-id=0

[osd]
enable=1
border-width=2
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0

[streammux]
live-source=1
batch-size=1
batched-push-timeout=40000
width=1280
height=720

[primary-gie]
enable=1
# This is just a copy from test1 that I moved
config-file=./detector_config.txt
batch-size=1
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1

I get the following output.

(deepstream-app:16191): GStreamer-WARNING **: 15:04:24.515: Name 'src_cap_filter' is not unique in bin 'src_sub_bin0', not adding
** ERROR: <create_camera_source_bin:137>: Failed to link 'nvvidconv2' (video/x-raw, format=(string){ GRAY8, NV12, I420, BGRx }, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, width=(int)[ 1, 32768 ], height=(int)[ 1, 32768 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, BGRx, RGBA, NV12, GRAY8 }; video/x-raw, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, NV12, BGRx, RGBA, GRAY8 }; video/x-raw(memory:NVMM), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, NV12, BGRx, RGBA, GRAY8 }) and 'src_cap_filter' (video/x-raw(memory:NVMM), format=(string)NV12, width=(int)0, height=(int)0, framerate=(fraction)30/1)
** ERROR: <create_camera_source_bin:182>: create_camera_source_bin failed
** ERROR: <create_pipeline:967>: create_pipeline failed
** ERROR: <main:632>: Failed to create pipeline
Quitting
App run failed

Any help would be greatly appreciated.

Can you add below
camera-width=1280
camera-height=720
in config-source0 and try again?

This worked perfectly, thank you!