Thank you! Now I got modify the height and width values, as you can see below. But the same error remains.
aliger-agx@agx:~/infer$ deepstream-app -c source1_usb_dec_infer_resnet_int8.txt
** ERROR: <create_camera_source_bin:204>: Failed to link ‘src_elem’ (video/x-raw, format=(string){ GRAY8, RGB, BGR, YUY2, UYVY }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-bayer, format=(string){ rggb, bggr, gbgr, grgb }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]) and ‘src_cap_filter’ (video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1200, framerate=(fraction)60/1)
** ERROR: <create_camera_source_bin:239>: create_camera_source_bin failed
** ERROR: <create_pipeline:1485>: create_pipeline failed
** ERROR: main:697: Failed to create pipeline
Quitting
App run failed
terminate called without an active exception
Aborted (core dumped)
Follow bellow, my infer.txt file:
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=1
#gie-kitti-output-dir=streamscl
[tiled-display]
enable=0
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=9 #NV_DS_CAMERA_BASLER
camera-width=1920
camera-height=1200
camera-fps-n=60
camera-fps-d=1
camera-v4l2-dev-node=0
gpu-id=0
cudadec-memtype=0
[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink/nv3dsink(Jetson only) 3=File 4=RTSPStreaming 5=nvdrmvideosink
type=1
sync=0
plane-id=0
width=1920
height=1200
conn-id=1
source-id=1
[osd]
enable=1
gpu-id=0
border-width=3
text-size=6
text-color=0.5;0;0;1;
text-bg-color=0;0;0;0
font=Serif
nvbuf-memory-type=0
[streammux]
##Boolean property to inform muxer that sources are live
live-source=1
gpu-id=0
batch-size=1
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
Set muxer output width and height
width=1920
height=1200
If set to TRUE, system timestamp will be attached as ntp timestamp
If set to FALSE, ntp timestamp from rtspsrc, if available, will be attached
attach-sys-ts-as-ntp=1
enable-padding=2
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
#model-engine-file=…/…/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine
config-file=//home/newton/Nestle-BD/blackinfer.txt
batch-size=1
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-bg-color0=0;0;0;0
bbox-border-color1=1;0;0;1
bbox-bg-color1=0;0;0;0
interval=0
#Required by the app for SGIE, when used along with config-file property
labelfile-path=/home/newton/Nestle-BD/labels.txt
nvbuf-memory-type=0
[tests]
file-loop=0