Runtime source add deletetion app: Error


I am trying to run the runtime_source_add_delete example from deepstream_reference_apps/runtime_source_add_delete at master · NVIDIA-AI-IOT/deepstream_reference_apps · GitHub but the pipeline fails to set to playing state and exits. I built the code and ran the app using the command: $ ./deepstream-test-rt-src-add-del file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4

My setup is as follows: Jetson Xavier NX with Jetpack 4.5.1 and DeepStream 5.1.

The most recent log output:

0:00:53.638238385 14457 0x558658b900 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dstest_pgie_config.txt sucessfully
decodebin child added source
decodebin child added decodebin0
Failed to set pipeline to playing. Exiting.
decodebin child added qtdemux0
decodebin child added multiqueue0
decodebin child added h264parse0
decodebin child added capsfilter0
decodebin child added aacparse0
decodebin child added faad0
decodebin child added nvv4l2decoder0

(deepstream-test-rt-src-add-del:14457): GLib-GObject-WARNING **: 16:11:17.561: g_object_set_is_valid_property: object class ‘nvv4l2decoder’ has no property named ‘bufapi-version’
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
decodebin new pad video/x-raw
Decodebin linked to pipeline
decodebin new pad audio/x-raw
Segmentation fault (core dumped)

Has anyone encountered a similar issue?

The issue has been resolved by changing the file path in dstest_tracker_config.txt to use DeepStream 5.1 instead of 5.0 as shown:
$ ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/

Glad to know issue resolved, thanks for the update.