Libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

system: Ubuntu 22.04.3 LTS
image : nvcr.io/nvidia/deepstream 6.4-triton-multiarch 1d7efdfc6c1a 10 months ago 13.4GB

how to run : docker run -it --rm --net=host --gpus all -e DISPLAY=$DISPLAY --device /dev/snd -v /tmp/.X11-unix/:/tmp/.X11-unix --privileged 1d7efdfc6c1a

Reference Documents:deepstream_python_apps/bindings at v1.1.10 · NVIDIA-AI-IOT/deepstream_python_apps

When I operated on cmake:

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build# cmake ..  -DPIP_PLATFORM=linux_aarch64
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:92 (message):
  Missing libnvbufsurface.so at                                                                                  
  /opt/nvidia/deepstream/deepstream/lib/libnvbufsurface.so                                                       
                                                                                                                 
  please make sure that deepstream is installed                                                                  
Call Stack (most recent call first):                                                                             
  CMakeLists.txt:102 (add_ds_lib)                                                                                

The above are errors related to Python building
If I run a native example:

cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3

./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

0:00:00.008832673 10791 0xaaac5ec97f80 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvstreammux"!                                                               
One element could not be created. Exiting.
root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# export GST_DEBUG=4
root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.000049841 10793 0xaaad428c8200 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000088591 10793 0xaaad428c8200 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000101961 10793 0xaaad428c8200 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000293562 10793 0xaaad428c8200 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages                                                                                                  
0:00:00.000635015 10793 0xaaad428c8200 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000769386 10793 0xaaad428c8200 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000841596 10793 0xaaad428c8200 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000851806 10793 0xaaad428c8200 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000876897 10793 0xaaad428c8200 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.007461344 10793 0xaaad428c8200 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.006563 seconds
0:00:00.007497534 10793 0xaaad428c8200 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.008915354 10793 0xaaad428c8200 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.008929864 10793 0xaaad428c8200 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.008938264 10793 0xaaad428c8200 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.72.4
0:00:00.008945344 10793 0xaaad428c8200 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.008951945 10793 0xaaad428c8200 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
0:00:00.008987865 10793 0xaaad428c8200 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"                                                               
0:00:00.009037915 10793 0xaaad428c8200 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvstreammux"!                                                               
One element could not be created. Exiting.

Can you provide some relevant ideas? Thank you.

Is your server’s CPU an ARM architecture?

For docker user, There is a script to install pyds

/opt/nvidia/deepstream/deepstream/user_deepstream_python_apps_install.sh  -r v1.1.10 -b

yes.

uname -r
4.19.0-arm64-server

This script is very convenient to follow Python Pyds, thank you
but I don’t think this script can solve the problem of libnvbufsurface.so being lost.

I just tried this script, and the final error is as follows

t-python/gi/overrides/GstAudio.py to /usr/local/local/lib/python3.10/dist-packages/gi/overrides
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:89 (message):
  Missing libnvbufsurface.so at                                                                                  
  /opt/nvidia/deepstream/deepstream/lib/libnvbufsurface.so                                                       
                                                                                                                 
  please make sure that deepstream is installed                                                                  
Call Stack (most recent call first):                                                                             
  CMakeLists.txt:99 (add_ds_lib)                                                                                 
                                                                                                                 
                                                                                                                 
-- Configuring incomplete, errors occurred!
See also "/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
###########################
Installing built PyDS wheel
###########################
WARNING: Requirement './pyds-1*_aarch64.whl' looks like a filename, but the file does not exist
ERROR: pyds-1*_aarch64.whl is not a valid wheel filename.  ```

Because DS-6.4 does not support arm server, it is recommended that you try DS-7.0 version and start docker in the following way.

docker run -it --rm --runtime=nvidia --network=host -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics --gpus all --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/X11:/etc/X11 nvcr.io/nvidia/deepstream:7.0-triton-arm-sbsa

NVIDIA Container Toolkit must be installed

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

I don’t quite understand the relevant adaptation situation of DeepStream 6.4. From the official documentation, it seems that it supports ARM architecture. So when you say DS-6.4 does not support ARM server, does it mean that DS-6.4 has not been validated on ARM servers?

That refers to the jetson platform, the GPU is part of the SOC, not the ARM + dGPU model.
So I recommend you to use DS-7.0

After pulling and running the new image,

nvcr.io/nvidia/deepstream 7.0-triton-arm-sbsa 28df060f687c 5 months ago 26.7GB

docker run -it --rm --runtime=nvidia --network=host -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics --gpus all --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/X11:/etc/X11 nvcr.io/nvidia/deepstream:7.0-triton-arm-sbsa

And Then

/opt/nvidia/deepstream/deepstream/user_deepstream_python_apps_install.sh  -r v1.1.11 -b

A large string of prints appeared, and I am not sure if this is a successful build…

-- Build files have been written to: /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/utils.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/bindmeta360.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/bindanalyticsmeta.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/bindfunctions.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/pyds.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/bindgstnvdsmeta.cpp.o
[ 43%] Building CXX object CMakeFiles/pyds.dir/src/bindnvbufsurface.cpp.o
[ 81%] Building CXX object CMakeFiles/pyds.dir/src/custom_binding/bindcustom.cpp.o
[ 87%] Building CXX object CMakeFiles/pyds.dir/src/bindnvdsinfer.cpp.o
[ 81%] Building CXX object CMakeFiles/pyds.dir/src/bindschema.cpp.o
[ 87%] Building CXX object CMakeFiles/pyds.dir/src/bindopticalflow.cpp.o
[ 87%] Building CXX object CMakeFiles/pyds.dir/src/bindtrackermeta.cpp.o
[ 87%] Building CXX object CMakeFiles/pyds.dir/src/bindnvdsmeta.cpp.o
[ 87%] Building CXX object CMakeFiles/pyds.dir/src/bindnvosd.cpp.o
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindtrackermeta.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindtrackermeta.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:20,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/pyds.cpp:19:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:20,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/pyds.cpp:19:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindgstnvdsmeta.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindgstnvdsmeta.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:18:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:18:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindanalyticsmeta.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindanalyticsmeta.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindopticalflow.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindopticalflow.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvosd.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bind_string_property_definitions.h:18,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvosd.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvbufsurface.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvbufsurface.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindmeta360.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindmeta360.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindmeta360.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindmeta360.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvdsinfer.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsinfer.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/attr.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pybind11.h:44,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvdsinfer.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsinfer.cpp:20:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:16,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/internals.h:276:27: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations]
  276 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.10/Python.h:130,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/detail/common.h:112,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:12,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/usr/include/python3.10/ceval.h:122:37: note: declared here
  122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:403:31: warning: declaration of 'bool pybind11::detail::isinstance_generic(pybind11::handle, const std::type_info&)' with attribute 'noinline' follows inline declaration [-Wattributes]
  403 | PYBIND11_NOINLINE inline bool isinstance_generic(handle obj, const std::type_info &tp) {
      |                               ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:26:13: note: previous declaration of 'bool pybind11::detail::isinstance_generic(pybind11::handle, const std::type_info&)' here
   26 | inline bool isinstance_generic(handle obj, const std::type_info &tp);
      |             ^~~~~~~~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:410:38: warning: declaration of 'std::string pybind11::detail::error_string()' with attribute 'noinline' follows inline declaration [-Wattributes]
  410 | PYBIND11_NOINLINE inline std::string error_string() {
      |                                      ^~~~~~~~~~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/cast.h:13,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:35,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/../3rdparty/pybind11/include/pybind11/pytypes.h:315:20: note: previous declaration of 'std::string pybind11::detail::error_string()' here
  315 | inline std::string error_string();
      |                    ^~~~~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp: In function 'pybind11::arg pydeepstream::operator""_a(const char*, size_t)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:48:57: warning: unused parameter 'len' [-Wunused-parameter]
   48 |     pybind11::arg operator ""_a(const char *str, size_t len) {
      |                                                  ~~~~~~~^~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindtrackermeta.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindtrackermeta.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvdsmeta.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:23,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/pyds.cpp:19:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:204:49: warning: unused parameter 'self' [-Wunused-parameter]
  204 |                               [](NvDsBatchMeta &self) {})
      |                                  ~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:217:49: warning: unused parameter 'self' [-Wunused-parameter]
  217 |                               [](NvDsBatchMeta &self) {});
      |                                  ~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:271:49: warning: unused parameter 'self' [-Wunused-parameter]
  271 |                               [](NvDsFrameMeta &self) {})
      |                                  ~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:284:49: warning: unused parameter 'self' [-Wunused-parameter]
  284 |                               [](NvDsBatchMeta &self) {});
      |                                  ~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:339:50: warning: unused parameter 'self' [-Wunused-parameter]
  339 |                               [](NvDsObjectMeta &self) {})
      |                                  ~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:352:50: warning: unused parameter 'self' [-Wunused-parameter]
  352 |                               [](NvDsObjectMeta &self) {});
      |                                  ~~~~~~~~~~~~~~~~^~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:28:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp: In instantiation of 'typename pydeepstream::utils::function_storage<UniqueName, RetValue, ArgTypes>::pointer_type pydeepstream::utils::free_fn_ptr_from_std_function(const std::function<RetValue(ArgTypes ...)>&) [with const char* UniqueName = (& pydeepstream::utils::copyfuncname); RetValue = void*; ArgTypes = {void*, void*}; typename pydeepstream::utils::function_storage<UniqueName, RetValue, ArgTypes>::pointer_type = void* (*)(void*, void*)]':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:88:45:   required from here
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:171:5: warning: no return statement in function returning non-void [-Wreturn-type]
  171 |     }
      |     ^
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:168:79: warning: unused parameter 'f' [-Wunused-parameter]
  168 |     free_fn_ptr_from_std_function(const std::function<RetValue(ArgTypes...)> &f) {
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp: In instantiation of 'typename pydeepstream::utils::function_storage<UniqueName, RetValue, ArgTypes>::pointer_type pydeepstream::utils::free_fn_ptr_from_std_function(const std::function<RetValue(ArgTypes ...)>&) [with const char* UniqueName = (& pydeepstream::utils::freefuncname); RetValue = void; ArgTypes = {void*, void*}; typename pydeepstream::utils::function_storage<UniqueName, RetValue, ArgTypes>::pointer_type = void (*)(void*, void*)]':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/utils.cpp:89:52:   required from here
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:171:5: warning: no return statement in function returning non-void [-Wreturn-type]
  171 |     }
      |     ^
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:168:79: warning: unused parameter 'f' [-Wunused-parameter]
  168 |     free_fn_ptr_from_std_function(const std::function<RetValue(ArgTypes...)> &f) {
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:500:51: warning: unused parameter 'self' [-Wunused-parameter]
  500 |                               [](NvDsDisplayMeta &self) {})
      |                                  ~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsmeta.cpp:513:51: warning: unused parameter 'self' [-Wunused-parameter]
  513 |                               [](NvDsDisplayMeta &self) {});
      |                                  ~~~~~~~~~~~~~~~~~^~~~
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/include/bindcustom.hpp:20,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindgstnvdsmeta.hpp:20,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindgstnvdsmeta.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvbufsurface.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindschema.hpp:23,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindopticalflow.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindopticalflow.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindmeta360.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindmeta360.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvdsinfer.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsinfer.cpp:20:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindanalyticsmeta.hpp:23,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindanalyticsmeta.cpp:21:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindfunctions.hpp:27,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:19:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
In file included from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/pyds.hpp:34,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindnvosd.hpp:21,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvosd.cpp:22:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h: At global scope:
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::d' [-Wmissing-field-initializers]
  290 |     NvDsInferDims dims = {0};
      |                            ^
/opt/nvidia/deepstream/deepstream/sources/includes/nvdsinfer.h:290:28: warning: missing initializer for member 'NvDsInferDims::numElements' [-Wmissing-field-initializers]
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp: In function 'NvDsEventMsgMeta* pydeepstream::event_msg_meta_copy_func(void*, void*)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp:27:67: warning: unused parameter 'user_data' [-Wunused-parameter]
   27 |     NvDsEventMsgMeta * event_msg_meta_copy_func(void* data, void* user_data) {
      |                                                             ~~~~~~^~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp: In function 'void pydeepstream::event_msg_meta_release_func(void*, void*)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindschema.cpp:107:58: warning: unused parameter 'user_data' [-Wunused-parameter]
  107 |     void event_msg_meta_release_func(void * data, void * user_data) {
      |                                                   ~~~~~~~^~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp: In function 'CustomDataStruct* pydeepstream::copy_custom_struct(void*, void*)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:27:61: warning: unused parameter 'user_data' [-Wunused-parameter]
   27 |     CustomDataStruct * copy_custom_struct(void* data, void* user_data) {
      |                                                       ~~~~~~^~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp: In function 'void pydeepstream::release_custom_struct(void*, void*)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:48:24: warning: unused variable 'message' [-Wunused-variable]
   48 |                 auto * message = srcData->message;
      |                        ^~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/custom_binding/bindcustom.cpp:43:52: warning: unused parameter 'user_data' [-Wunused-parameter]
   43 |     void release_custom_struct(void * data, void * user_data) {
      |                                             ~~~~~~~^~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:191:59: warning: unused parameter 'self' [-Wunused-parameter]
  191 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:552:60: warning: unused parameter 'func' [-Wunused-parameter]
  552 |               [](std::function<utils::COPYFUNC_SIG> const &func) {
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:204:59: warning: unused parameter 'self' [-Wunused-parameter]
  204 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:575:63: warning: unused parameter 'func' [-Wunused-parameter]
  575 |               [](std::function<utils::RELEASEFUNC_SIG> const &func) {
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:217:59: warning: unused parameter 'self' [-Wunused-parameter]
  217 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsinfer.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvdsinfer.cpp:45:49: warning: unused parameter 'self' [-Wunused-parameter]
   45 |                               [](NvDsInferDims &self) {})
      |                                  ~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:230:59: warning: unused parameter 'self' [-Wunused-parameter]
  230 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:673:47: warning: 'void* g_memdup(gconstpointer, guint)' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  673 |                       return (size_t) g_memdup(buffer, size);
      |                                       ~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/utils.hpp:22,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/include/bind/bindfunctions.hpp:26,
                 from /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:19:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp: In function 'void pydeepstream::bindfunctions(pybind11::module&)':
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindfunctions.cpp:683:15: warning: cast between incompatible function types from 'int (*)(NvBufSurface**, uint32_t, NvBufSurfaceCreateParams*)' {aka 'int (*)(NvBufSurface**, unsigned int, NvBufSurfaceCreateParams*)'} to 'int (*)(NvBufSurface*, int, NvBufSurfaceCreateParams)' [-Wcast-function-type]
  683 |               (int (*)(NvBufSurface *, int,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  684 |                        NvBufSurfaceCreateParams)) &NvBufSurfaceCreate,
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:243:59: warning: unused parameter 'self' [-Wunused-parameter]
  243 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:256:59: warning: unused parameter 'self' [-Wunused-parameter]
  256 |                               [](NvBufSurfacePlaneParams &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp: In lambda function:
/opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/src/bindnvbufsurface.cpp:317:58: warning: unused parameter 'self' [-Wunused-parameter]
  317 |                               [](NvBufSurfaceMappedAddr &self) {})
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 93%] Linking CXX shared library pyds.so
[ 93%] Built target pyds
[100%] Generating pyds-1.1.11-py3-none-linux_aarch64.whl
WARNING: '' not a valid package name; please use only .-separated package names in setup.py
running bdist_wheel
running build
running build_py
creating build
creating build/lib
copying pyds.so -> build/lib
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
installing to build/bdist.linux-aarch64/wheel
running install
running install_lib
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel
copying build/lib/pyds.so -> build/bdist.linux-aarch64/wheel
running install_egg_info
running egg_info
creating pyds.egg-info
writing pyds.egg-info/PKG-INFO
writing dependency_links to pyds.egg-info/dependency_links.txt
writing requirements to pyds.egg-info/requires.txt
writing top-level names to pyds.egg-info/top_level.txt
writing manifest file 'pyds.egg-info/SOURCES.txt'
reading manifest file 'pyds.egg-info/SOURCES.txt'
writing manifest file 'pyds.egg-info/SOURCES.txt'
Copying pyds.egg-info to build/bdist.linux-aarch64/wheel/pyds-1.1.11-py3.10.egg-info
running install_scripts
creating build/bdist.linux-aarch64/wheel/pyds-1.1.11.dist-info/WHEEL
creating 'dist/pyds-1.1.11-py3-none-linux_aarch64.whl' and adding 'build/bdist.linux-aarch64/wheel' to it
adding 'pyds.so'
adding 'pyds-1.1.11.dist-info/METADATA'
adding 'pyds-1.1.11.dist-info/WHEEL'
adding 'pyds-1.1.11.dist-info/top_level.txt'
adding 'pyds-1.1.11.dist-info/RECORD'
removing build/bdist.linux-aarch64/wheel
[100%] Built target pip_wheel

But at least the following will not cause errors:

import pyds
import cuda

And then

cd /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3

vim Makefile : CUDA_VER?=12.2
vim deepstream_test3_app.c :

  nvosd = gst_element_factory_make ("nvdsosd", "nv-onscreendisplay");

  if (PERF_MODE) {
    sink = gst_element_factory_make ("fakesink", "nvvideo-renderer");
  } else {
    /* Finally render the osd output */
    if(prop.integrated) {
      sink = gst_element_factory_make ("fakesink", "fakesink");
    } else {
#ifdef __aarch64__
      sink = gst_element_factory_make ("nv3dsink", "nvvideo-renderer");
#else
      sink = gst_element_factory_make ("nveglglessink", "nvvideo-renderer");
#endif
    }
  }

make and run:

./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264


root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.000077491 12751 0xaaae96798670 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000117181 12751 0xaaae96798670 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000129401 12751 0xaaae96798670 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000313323 12751 0xaaae96798670 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages                                                                                                  
0:00:00.000631435 12751 0xaaae96798670 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000777286 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000838417 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000847857 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000884817 12751 0xaaae96798670 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.012818399 12751 0xaaae96798670 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.011907 seconds
0:00:00.012860179 12751 0xaaae96798670 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.014452711 12751 0xaaae96798670 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.014468362 12751 0xaaae96798670 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.014476982 12751 0xaaae96798670 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.76.6
0:00:00.014484982 12751 0xaaae96798670 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.014490632 12751 0xaaae96798670 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
0:00:00.014528262 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"                                                               
0:00:00.017185983 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so" loaded        
0:00:00.017343624 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvstreammux"                                                            
0:00:00.017380404 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstNvStreamMux@0xaaae96a5f2b0> adding pad 'src'                                                                         
0:00:00.017426984 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "bin"                                                                    
0:00:00.018050659 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded                           
0:00:00.018121480 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "uridecodebin"                                                           
0:00:00.018182700 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<source-bin-00> adding pad 'src'                                                                                         
0:00:00.018204280 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink_0' in element "stream-muxer"
0:00:00.018230421 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<stream-muxer> adding pad 'sink_0'                                                                                       
0:00:00.018239691 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad source-bin-00:src
0:00:00.018254461 12751 0xaaae96798670 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link source-bin-00:src and stream-muxer:sink_0
0:00:00.018268301 12751 0xaaae96798670 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<src:proxypad0> pad has no peer                                                                                              
0:00:00.018284391 12751 0xaaae96798670 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<stream-muxer:src> pad has no peer                                                                                           
0:00:00.018308221 12751 0xaaae96798670 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked source-bin-00:src and stream-muxer:sink_0, successful
0:00:00.018314771 12751 0xaaae96798670 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:00.018321821 12751 0xaaae96798670 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<source-bin-00:src> Received event on flushing pad. Discarding                                                     
0:00:00.056830798 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so" loaded              
0:00:00.057008369 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvinfer"                                                                
0:00:00.057036859 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96f96090> adding pad 'sink'                                                                      
0:00:00.057051869 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96f96090> adding pad 'src'                                                                       
0:00:00.057555243 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded                       
0:00:00.057620724 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"                                                                  
0:00:00.057640354 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96facfa0> adding pad 'sink'                                                                              
0:00:00.057655944 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96facfa0> adding pad 'src'                                                                               
0:00:00.057668194 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"                                                                  
0:00:00.057683184 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96faf7d0> adding pad 'sink'                                                                              
0:00:00.057706874 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96faf7d0> adding pad 'src'                                                                               
0:00:00.057717685 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"                                                                  
0:00:00.057731575 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb20a0> adding pad 'sink'                                                                              
0:00:00.057744585 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb20a0> adding pad 'src'                                                                               
0:00:00.057753755 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"                                                                  
0:00:00.057766975 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb4a80> adding pad 'sink'                                                                              
0:00:00.057779455 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb4a80> adding pad 'src'                                                                               
0:00:00.057788545 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"                                                                  
0:00:00.057801715 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb7460> adding pad 'sink'                                                                              
0:00:00.057814565 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaae96fb7460> adding pad 'src'                                                                               
0:00:00.058023427 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_logger.so" loaded             
0:00:00.058082777 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdslogger"                                                             
0:00:00.058098077 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fbb9b0> adding pad 'sink'                                                                      
0:00:00.058110218 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fbb9b0> adding pad 'src'                                                                       
0:00:00.058563021 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so" loaded   
0:00:00.058644632 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvmultistreamtiler"                                                     
0:00:00.058661762 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fc0720> adding pad 'sink'                                                                      
0:00:00.058673252 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fc0720> adding pad 'src'                                                                       
0:00:00.058685732 12751 0xaaae96798670 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!                                                            
0:00:00.063488169 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so" loaded                
0:00:00.063582280 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdsosd"                                                                
0:00:00.063600990 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fdb360> adding pad 'sink'                                                                      
0:00:00.063614190 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaae96fdb360> adding pad 'src'                                                                       
0:00:00.064254555 12751 0xaaae96798670 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstnvvideosinks.so" loaded                       
0:00:00.064367756 12751 0xaaae96798670 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nv3dsink"                                                               
0:00:00.064389736 12751 0xaaae96798670 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSink@0xaaae9709df00> adding pad 'sink'                                                                           
One element could not be created. Exiting.

Finally, when running the native example, the above error occurred. At the same time, when executing user_deepstream_python-apps_install.sh, a lot of printing appeared, but I couldn’t tell if it was successfully executed. Can you give me some ideas? Thank you.

if I try :

python3 deepstream_test_1.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264


python3 deepstream_test_1.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Creating Pipeline 
 
Creating Source 
 
Creating H264Parser 

Creating Decoder 

/bin/bash: line 1: lsmod: command not found
/bin/bash: line 1: modprobe: command not found
0:00:00.081588341 12961 0xaaaeb68be880 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!                                                            
 Unable to create nvvidconv 
Is it Integrated GPU? : 0
Creating nv3dsink 

Playing file file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 
Adding elements to Pipeline 

Traceback (most recent call last):
  File "/opt/nvidia/deepstream/deepstream-7.0/sources/deepstream_python_apps/apps/deepstream-test1/deepstream_test_1.py", line 263, in <module>
    sys.exit(main(sys.argv))
  File "/opt/nvidia/deepstream/deepstream-7.0/sources/deepstream_python_apps/apps/deepstream-test1/deepstream_test_1.py", line 214, in main
    pipeline.add(nvvidconv)
  File "/usr/lib/python3/dist-packages/gi/overrides/Gst.py", line 72, in add
    if not Gst.Bin.add(self, arg):
TypeError: Argument 1 does not allow None as a value

pyds has been installed correctly.

It’s the same question, Let’s look at the native first.

What is the output of the following command line ?

ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so

Maybe it was a network issue before? I deleted deepstream_python-apps and then re executed:

/opt/nvidia/deepstream/deepstream/user_deepstream_python_apps_install.sh -r v1.1.11 -b

Then I tried again:

python3 deepstream_test_1.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

python3 deepstream_test_1.py file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Creating Pipeline 
 
Creating Source 
 
Creating H264Parser 

Creating Decoder 

Is it Integrated GPU? : 0
Creating nv3dsink 

Playing file file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 
Adding elements to Pipeline 

Linking elements in the Pipeline 

Starting pipeline 

libEGL warning: DRI2: failed to authenticate
0:00:01.549596294 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549629774 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat MJPG
0:00:01.549637974 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549646085 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat MJPG
0:00:01.549673835 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549681915 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat AV10
0:00:01.549688085 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549695655 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat AV10
0:00:01.549711265 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549718435 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat DVX5
0:00:01.549725355 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549732405 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat DVX5
0:00:01.549745485 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549753495 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat DVX4
0:00:01.549759805 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549766715 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat DVX4
0:00:01.549779846 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549787216 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat MPG4
0:00:01.549792956 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549799576 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat MPG4
0:00:01.549811026 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549819046 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat MPG2
0:00:01.549825256 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549831826 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat MPG2
0:00:01.549846526 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549854976 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat H265
0:00:01.549860786 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549867186 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat H265
0:00:01.549878246 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549885016 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat VP90
0:00:01.549890826 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549897206 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat VP90
0:00:01.549908107 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549914227 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat VP80
0:00:01.549920377 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549926197 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat VP80
0:00:01.549939267 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549947127 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe minimum capture size for pixelformat H264
0:00:01.549953427 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:sink> Unable to try format: Unknown error -1
0:00:01.549961197 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:sink> Could not probe maximum capture size for pixelformat H264
0:00:01.550441151 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550449951 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe minimum capture size for pixelformat Y444
0:00:01.550456181 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550462961 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe maximum capture size for pixelformat Y444
0:00:01.550479021 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550486781 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe minimum capture size for pixelformat P410
0:00:01.550492491 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550499001 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe maximum capture size for pixelformat P410
0:00:01.550512161 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550519731 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe minimum capture size for pixelformat PM10
0:00:01.550525411 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550531761 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe maximum capture size for pixelformat PM10
0:00:01.550544881 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550552061 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2985:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe minimum capture size for pixelformat NM12
0:00:01.550557721 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:3100:gst_v4l2_object_get_nearest_size:<nvv4l2-decoder:src> Unable to try format: Unknown error -1
0:00:01.550563872 17128 0xaaad18d577f0 WARN                    v4l2 gstv4l2object.c:2991:gst_v4l2_object_probe_caps_for_format:<nvv4l2-decoder:src> Could not probe maximum capture size for pixelformat NM12
0:00:09.039940498 17128 0xaaad18d577f0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2095> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x544x960       
1   OUTPUT kFLOAT output_bbox/BiasAdd 16x34x60        
2   OUTPUT kFLOAT output_cov/Sigmoid 4x34x60         

0:00:09.236185221 17128 0xaaad18d577f0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2198> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
0:00:09.292771151 17128 0xaaad18d577f0 INFO                 nvinfer gstnvinfer_impl.cpp:343:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:dstest1_pgie_config.txt sucessfully
0:00:09.294739866 17128 0xaaad18d577f0 WARN                 filesrc gstfilesrc.c:553:gst_file_src_start:<file-source> error: No such file "file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264"
0:00:09.294774456 17128 0xaaad18d577f0 WARN                 basesrc gstbasesrc.c:3556:gst_base_src_start:<file-source> error: Failed to start
0:00:09.294907997 17128 0xaaad18d577f0 WARN                 filesrc gstfilesrc.c:553:gst_file_src_start:<file-source> error: No such file "file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264"
0:00:09.294924247 17128 0xaaad18d577f0 WARN                 basesrc gstbasesrc.c:3556:gst_base_src_start:<file-source> error: Failed to start
0:00:09.294940368 17128 0xaaad18d577f0 WARN                 basesrc gstbasesrc.c:3912:gst_base_src_activate_push:<file-source> Failed to start in push mode
0:00:09.294961178 17128 0xaaad18d577f0 WARN                GST_PADS gstpad.c:1141:gst_pad_set_active:<file-source:src> Failed to activate pad                                                                                     
Error: gst-resource-error-quark: Resource not found. (3): ../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:file-source:
No such file "file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264"

Does it look like the previous mistake has been resolved?
And Then :

ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so
        linux-vdso.so.1 (0x0000fffbdd4c0000)
        libgstbase-1.0.so.0 => /lib/aarch64-linux-gnu/libgstbase-1.0.so.0 (0x0000fffbdd320000)
        libgstreamer-1.0.so.0 => /lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x0000fffbdd1b0000)
        libglib-2.0.so.0 => /lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000fffbdd050000)
        libgobject-2.0.so.0 => /lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000fffbdcfd0000)
        libgstvideo-1.0.so.0 => /lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 (0x0000fffbdcee0000)
        libnvdsbufferpool.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so.1.0.0 (0x0000fffbdcec0000)
        libnvbufsurftransform.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so.1.0.0 (0x0000fffbda3b0000)
        libnvbufsurface.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so.1.0.0 (0x0000fffbda2e0000)
        libnvdsgst_meta.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvdsgst_meta.so (0x0000fffbda2c0000)
        libnvdsgst_helper.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvdsgst_helper.so (0x0000fffbda2a0000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000fffbda0f0000)
        /lib/ld-linux-aarch64.so.1 (0x0000fffbdd4d0000)
        libgmodule-2.0.so.0 => /lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000fffbda0d0000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000fffbda030000)
        libunwind.so.8 => /lib/aarch64-linux-gnu/libunwind.so.8 (0x0000fffbd9ff0000)
        libdw.so.1 => /lib/aarch64-linux-gnu/libdw.so.1 (0x0000fffbd9f30000)
        libpcre2-8.so.0 => /lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x0000fffbd9e90000)
        libffi.so.8 => /lib/aarch64-linux-gnu/libffi.so.8 (0x0000fffbd9e70000)
        liborc-0.4.so.0 => /lib/aarch64-linux-gnu/liborc-0.4.so.0 (0x0000fffbd9dd0000)
        libcuda.so.1 => /lib/aarch64-linux-gnu/libcuda.so.1 (0x0000fffbd8190000)
        libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000fffbd7f60000)
        libnvrm_mem.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_mem.so (0x0000fffbd7f40000)
        libnvrm_surface.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_surface.so (0x0000fffbd7f20000)
        libnvrm_chip.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_chip.so (0x0000fffbd7f00000)
        libEGL.so.1 => /lib/aarch64-linux-gnu/libEGL.so.1 (0x0000fffbd7ed0000)
        libnvos.so => /usr/lib/aarch64-linux-gnu/tegra/libnvos.so (0x0000fffbd7eb0000)
        libnvbuf_fdmap.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_fdmap.so.1.0.0 (0x0000fffbd7e90000)
        libnvds_meta.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvds_meta.so (0x0000fffbd7e70000)
        libgstrtp-1.0.so.0 => /lib/aarch64-linux-gnu/libgstrtp-1.0.so.0 (0x0000fffbd7e30000)
        liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000fffbd7df0000)
        libelf.so.1 => /lib/aarch64-linux-gnu/libelf.so.1 (0x0000fffbd7dc0000)
        libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000fffbd7d90000)
        libbz2.so.1.0 => /lib/aarch64-linux-gnu/libbz2.so.1.0 (0x0000fffbd7d60000)
        libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000fffbd7d40000)
        librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000fffbd7d20000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000fffbd7d00000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000fffbd7cd0000)
        libGLdispatch.so.0 => /lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000fffbd7b40000)

Reinstalling pyds usually has no impact on nvvideoconvert.Do you have other actions?

Did you delete this file?

The file exists

ll /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
-rw-r--r-- 1 root root 14759548 Apr 28 23:19 /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

I also installed kmod separately: apt get install kmod,
because I saw in the error that the lsmod related command does not exist

This error usually has no impact.
Try the following command line.

python3 deepstream_test_1.py /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

For test_1.py, source element is filesrc, it only accepts path as arguments.
For test_3.py source element is uridecodebin, Only uri is a valid parameter.
Please read README first.

Thank you very much, the pipeline is now running normally