Unable to create pgie / nvosd

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.5.1
• TensorRT Version 8.0.1-1+cuda10.2
• Issue Type( questions, new requirements, bugs) Question

I am following below guides and can’t handle this prolem.


python3 deepstream_test_1_usb.py /dev/video0

Creating Pipeline 
Creating Source 
Creating Video Converter 

 Unable to create pgie 
 Unable to create nvosd 
Creating EGLSink 

Playing cam /dev/video0 
Traceback (most recent call last):
  File "deepstream_test_1_usb.py", line 289, in <module>
  File "deepstream_test_1_usb.py", line 220, in main
    pgie.set_property('config-file-path', "dstest1_pgie_config.txt")
AttributeError: 'NoneType' object has no attribute 'set_property'

How about results
gst-inspect-1.0 nvdsosd // or nvinfer

gst-inspect-1.0 nvdsosd 
No such element or plugin 'nvdsosd'
gst-inspect-1.0 nvinfer 
No such element or plugin 'nvinfer'
`Total count: 276 plugins (4 blacklist entries not shown), 1437 features`

For each blacklisted plugins, you can see the reason by inspecting it directly:

gst-inspect-1.0 /usr/lib/$platform-linux-gnu/gstreamer-1.0/deepstream/plugin.so