How to run deepstream-test1 python example

Please help how setup path for the example deepstream-test1 python example.

When I run:
$ python3 deepstream_test_1.py rtsp://127.0.0.1:8554/test

I get error:

Config file path: dstest1_pgie_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

I think that deepstream_test_1expects a h264 file as input. Does:

cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1
/opt/nvidia/deepstream/deepstream/bin/deepstream-test1-app /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

works ?

For RTSP input, you may just build the pipeline with uridecodebin plugin for getting the decoded video to be processed.

Hi,
Thank Honey_Patouceul for clarification.

For deepstream-test1, please use h264 stream as source. If your source is RTSP input, please try deepstream-test3.