gstreamer nvinfer plugin error: *** Unable to set device in gst_nvvidconv_start Line 1251

Good morning;

This is giving me some grief and i have a feeling i am missing something simple, here is the gst-launch invocation and resulting error message:

gst-launch-1.0 filesrc location=sample_720p.h264 ! h264parse ! nvdec_h264 ! nvinfer config-file-path="…/sources/apps/sample_apps/deepstream-test1/dstest1_pgie_config.txt" ! nvvidconv ! nvosd ! nvvidconv ! glimagesink
Setting pipeline to PAUSED …

*** Unable to set device in gst_nvvidconv_start Line 1251

Any assistance on this would be appreciated!

is there source for the nvinfer plugin that i could stare at to try and solve problems like these for myself?

Deepstream 4.0 will opensource some plugins code including nvinfer plugin.

Can your refer to “sources/apps/sample_apps/deepstream-test1” to fix command pipeline.

This can work:

gst-launch-1.0 uridecodebin uri=file:///Your_Stream_Path/streams/sample_720p.h264 ! nvinfer config-file-path=Your_config_Path/configs/deepstream-app/config_infer_primary.txt ! nvvidconv ! queue ! nvosd ! nveglglessink

Thankyou Chris!

Is this gst-launch invocation expected to work identically on both Tesla DeepStream 3.0 and the new Xavier DeepStream 3.0?

You can try.
We will unify them in Deepstream 4.0.

Thankyou for that bit of future!