Where/how do you point to the (.txt) config files gst-nvinfer uses?

I’m embarrassed to ask this, but I’m stumped. I’m using deepsteream-test1-app, along with it’s .txt configuration file. The app uses the configuration file, which I’ve confirmed by making changes to it and seeing the app pick them up.

But what I can’t figure out is where this configuration file (the txt file, NOT the yaml file) is pointed to? It doesn’t look like it’s in the C-code anywhere, I didn’t see it in any .h files. It’s not in the makefile, nor called as part of the command line. That particular sample doesn’t really have any documentation besides the comments in the code. So I’m stumped.

Thanks for any help!

**• Jetson / Orin AGX
**• DeepStream Version 6.2
**• JetPack is 5.1.1
**• TensorRT Version


In application’s configuration file dstest1_config.yml, there is nvinfer plugin’s configuration file dstest1_pgie_config.yml. nvinfer plugin is opensource, nvinfer will parse this file to get the parameter value after g_object_set.

So is a YAML file always required for deepsteream-test1-app?

no, nvinfer plugin supports yaml and txt configuration file.