I am trying to run ssd parser example from deepstream_python_apps. But, some elements are not getting created.
• Hardware Platform : GPU
• DeepStream Version : 6.0
**• NVIDIA GPU Driver Version (valid for GPU only) : 470.103.01 **
root@a1d4854ac9ac:/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-ssd-parser# python3 deepstream_ssd_parser.py http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Creating Pipeline
Creating Source
Creating H264Parser
Creating Decoder
Creating NvStreamMux
Unable to create NvStreamMux
Creating Nvinferserver
Unable to create Nvinferserver
Creating Nvvidconv
Unable to create Nvvidconv
Creating OSD (nvosd)
Creating Queue
Creating Converter 2 (nvvidconv2)
Unable to create Converter 2 (nvvidconv2)
Creating capsfilter
Creating Encoder
Creating Code Parser
Creating Container
Creating Sink
Playing file http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Traceback (most recent call last):
File "deepstream_ssd_parser.py", line 453, in <module>
sys.exit(main(sys.argv))
File "deepstream_ssd_parser.py", line 372, in main
streammux.set_property("width", IMAGE_WIDTH)
AttributeError: 'NoneType' object has no attribute 'set_property'
Some libraries getting blacklisted.
root@a1d4854ac9ac:/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-ssd-parser# gst-inspect-1.0 -b
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
(gst-plugin-scanner:86): GStreamer-WARNING **: 11:15:22.554: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
(gst-plugin-scanner:100): GLib-GObject-WARNING **: 11:15:22.874: specified class size for type 'GstCompositor' is smaller than the parent type's 'GstVideoAggregator' class size
(gst-plugin-scanner:100): GLib-GObject-CRITICAL **: 11:15:22.874: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(gst-plugin-scanner:100): GLib-CRITICAL **: 11:15:22.874: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:100): GStreamer-CRITICAL **: 11:15:22.874: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
Blacklisted files:
libgstcompositor.so
libnvdsgst_inferserver.so
libnvdsgst_preprocess.so
libnvdsgst_infer.so
libgstnvvideoconvert.so
libnvdsgst_multistream.so
libnvdsgst_dsexample.so
libnvdsgst_tracker.so
libnvdsgst_udp.so
libcustom2d_preprocess.so
libnvdsgst_nvblender.so
libnvdsgst_deepstream_bins.so
libnvdsgst_dewarper.so
libnvdsgst_multistreamtiler.so
Total count: 14 blacklisted files
After, clearing caches:
root@a1d4854ac9ac:/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-ssd-parser# python3 deepstream_ssd_parser.py http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
(gst-plugin-scanner:116): GStreamer-WARNING **: 11:17:11.755: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
nvbufsurftransform:cuInit failed : 999
(gst-plugin-scanner:130): GLib-GObject-WARNING **: 11:17:12.084: specified class size for type 'GstCompositor' is smaller than the parent type's 'GstVideoAggregator' class size
(gst-plugin-scanner:130): GLib-GObject-CRITICAL **: 11:17:12.084: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(gst-plugin-scanner:130): GLib-CRITICAL **: 11:17:12.084: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:130): GStreamer-CRITICAL **: 11:17:12.084: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
Creating Pipeline
Creating Source
Creating H264Parser
Creating Decoder
Creating NvStreamMux
Unable to create NvStreamMux
Creating Nvinferserver
Unable to create Nvinferserver
Creating Nvvidconv
Unable to create Nvvidconv
Creating OSD (nvosd)
Creating Queue
Creating Converter 2 (nvvidconv2)
Unable to create Converter 2 (nvvidconv2)
Creating capsfilter
Creating Encoder
Creating Code Parser
Creating Container
Creating Sink
Playing file http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Traceback (most recent call last):
File "deepstream_ssd_parser.py", line 453, in <module>
sys.exit(main(sys.argv))
File "deepstream_ssd_parser.py", line 372, in main
streammux.set_property("width", IMAGE_WIDTH)
AttributeError: 'NoneType' object has no attribute 'set_property'
Can you guess what’s the problem?