Deepstream 2.0 runs slowly with a rtsp camera

Hello,
After I have test the deepstream-app application,it’s easy to use,
so I tried to change the source0 as a rtsp camera, but the frame is very slowly,it runs very well with demo sample_720p.mp4
here is my cfg file wich comes from “source30_720p_dec_infer-resnet_tiled_display_int8.txt”, anything I have done wrong?

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
flow-original-resolution=1
#gie-kitti-output-dir=streamscl

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

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=2
#uri=file://…/…/streams/sample_720p.mp4
uri=rtsp://admin:Admin12345@192.168.1.125:554
num-sources=1 #15
smart-decode-enable=1
gpu-id=1
latency=50

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=0
source-id=0
gpu-id=1

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

[primary-gie]
enable=1
gpu-id=1
net-scale-factor=0.0039215697906911373
model-file=…/…/models/Primary_Detector/resnet10.caffemodel
proto-file=…/…/models/Primary_Detector/resnet10.prototxt
model-cache=…/…/models/Primary_Detector/resnet10.caffemodel_b30_int8.cache
#Required to display the PGIE labels, should be added even when using config-file
#property
labelfile-path=…/…/models/Primary_Detector/labels.txt
int8-calib-file=…/…/models/Primary_Detector/cal_trt4.bin
net-stride=16
batch-size=30

0=FP32 and 1=INT8 mode

network-mode=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
num-classes=4
class-thresholds=0.2;0.2;0.1;0.2
class-eps=0.2;0.2;0.2;0.2
class-group-thresholds=1;1;1;1
roi-top-offset=0;0;0;0
roi-bottom-offset=0;0;0;0
detected-min-w=0;0;0;0
detected-min-h=0;0;0;0
detected-max-w=1280;1280;1280;1280
detected-max-h=720;720;720;720
interval=0
#Required by the app for SGIE, when used along with config-file property
gie-unique-id=1
parse-func=4
output-bbox-name=conv2d_bbox
output-blob-names=conv2d_cov
parser-bbox-norm=35.0;35.0
#config-file=config_infer_resnet.txt

[tests]
file-loop=0

OK , I have solved it.
so, how to delete the Topic 0.0

Can you tell me how to solve the problem of slow speed? Thank you

@mingyanrendianzi
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=2
#uri=file://…/…/streams/sample_720p.mp4
uri=rtsp://admin:Admin12345@192.168.1.125:554
num-sources=1 #15
smart-decode-enable=1
gpu-id=1
latency=50

comment the option :
“smart-decode-enable=1”

thank you a!da!!!~~

 I have already done this the option"smart-decode-enable=1",but frame rate is always maintained at 0.50.Do you know why?

The following is the display of the terminal.

**PERF: FPS 0 (Avg)
**PERF: 0.51 (0.51)
**PERF: 0.50 (0.50)
**PERF: 0.50 (0.50)
**PERF: 0.50 (0.50)
**PERF: 0.50 (0.50)
**PERF: 0.50 (0.50)
**PERF: 0.50 (0.50)

I mean we should not use the option

smart-decode-enable=1

this option will make the stream purely slowly

Thank you very much a!da!!!~~

You are right !!!

I installed DeepStream v4.0 and I want to read IP Camera via rtsp. But, by testing all possible state of checking IP: with and without user and password also exact address of IP Camera that presents video via gstreamer

gst-launch-1.0 playbin uri=rtsp://172.16.32.83:554/axis-media/media.amp

I installed DeepStream v4.0 and I want to read IP Camera via rtsp. But, by testing all possible state of checking IP: with and without user and password also exact address of IP Camera that presents video via gstreamer

gst-launch-1.0 playbin uri=rtsp://172.16.32.83:554/axis-media/media.amp