How to upgrade deepstream_test1 for save output result and get rtsp video source?

Hi,

  1. Deepstream_test1 only could process H264 format,Can I modify it to process RTSP video stream? How to do it?

  2. How to save the output result for Deepstream_test1? I loaded yolov3 model and engine.

dstest1_pgie_config.txt

[code][/[property]
gpu-id=0
net-scale-factor=1
#0=RGB, 1=BGR
model-color-format=0
custom-network-config=…/…/…/objectDetector_Yolo/data/yolov3.cfg
model-file=…/…/…/objectDetector_Yolo/data/yolov3.weights
model-engine-file=…/…/…/objectDetector_Yolo/model_b1_fp16.engine
labelfile-path=…/…/…/objectDetector_Yolo/labels.txt
int8-calib-file=…/…/…/objectDetector_Yolo/yolov3-calibration.table.trt5.1

0=FP32, 1=INT8, 2=FP16 mode

network-mode=1
num-detected-classes=80
gie-unique-id=1
is-classifier=0
maintain-aspect-ratio=1
parse-bbox-func-name=NvDsInferParseCustomYoloV3
custom-lib-path=…/…/…/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.socode]