Example plugins with deepstream sdk.

I am having a little trouble understanding the behaviour of plugins with deepstream sdk.

I was going through the source code of example customized plugin provided - gstdsexample and am having trouble understanding a few things.

1.) What is dsexample_lib and how does it interacts with both the main deepstream-app and the customised gstreamer plugins ?

2.) In the ReadME of gstdsexample directory, the following lines are mentioned.

Corresponding config file changes (Add the following section). GPU ID might need
modification based on the GPU configuration:

What does it mean?

Also, is there any relation between deepstream_dsexample.c files and dsexample_lib.c files.

Please check the makefile


The built lib is installed to


For enabling it, you can put the lines to the config file you are using. For example: