Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Makefile Added runtime source addition deletion App Nov 5, 2019
README.md Added runtime source addition deletion App Nov 5, 2019
deepstream_test_rt_src_add_del.c
dstest_pgie_config.txt Added runtime source addition deletion App Nov 5, 2019
dstest_sgie1_config.txt Added runtime source addition deletion App Nov 5, 2019
dstest_sgie2_config.txt
dstest_sgie3_config.txt Added runtime source addition deletion App Nov 5, 2019
dstest_tracker_config.txt
tracker_config.yml

README.md

RUNTIME SOURCE ADDITION DELETION REFERENCE APP USING DEEPSTREAMSDK 4.0

Introduction

The project contains Runtime source addition/deletion application to show the capability of Deepstream SDK.

Prerequisites:

DeepStream SDK installed which is available at http://developer.nvidia.com/deepstream-sdk Please follow instructions in the apps/sample_apps/deepstream-app/README on how to install the prequisites for Deepstream SDK apps.

Getting Started

  • Export the environment variable: export DS_SDK_ROOT="your deepstream SDK root"

  • Preferably clone the app in $DS_SDK_ROOT/sources/apps/sample_apps/

  • Edit all the inference models config files according to the location of the models to be used

Compilation Steps and Execution

  $ make
  $ ./deepstream-test-rt-src-add-del <uri>
  $ ./deepstream-test-rt-src-add-del file://$DS_SDK_ROOT/samples/streams/sample_1080p_h265.mp4
  $ ./deepstream-test-rt-src-add-del rtsp://127.0.0.1/video

The application demonstrates following pipeline for single source

uridecodebin -> nvstreammux -> nvinfer -> nvtracker -> nvtiler -> nvvideoconvert -> nvdsosd -> displaysink

  • At runtime after a timeout a source will be added periodically. All the components are reconfigured during addition/deletion
  • After reaching of MAX_NUM_SOURCES, each source is deleted periodically till single source is present in the pipeline
  • The app exits, when final source End of Stream is reached or if the last source is deleted.
You can’t perform that action at this time.