Could make deepstream be compatible with gstreamer 1.18.5?

At first, I used apt to install gstreamer which version info is gst-inspect-1.0 version 1.14.0 GStreamer 1.14.0 and it has many symbol mismatches with deepstream.

No errors when binding deepstream but many deepstream’s plugins miss and fail to run deepstream-test1.

Following this post 's solution, I upgrade gstream to 1.14.5 by gstreamer-1.14.4.tar.xz and it still cannot realize deepstream!

I had set corresponding GST_PLUGIN_PATH but the plugin scanner still fail to load them:

(gst-plugin-scanner:644587): GStreamer-WARNING **: 17:57:04.915: Failed to load plugin '/home/bovia/anaconda3/envs/deepstream/lib/gstreamer-1.0/libgstsmoothstreaming.so': /home/bovia/anaconda3/envs/deepstream/lib/gstreamer-1.0/../libgstcodecparsers-1.0.so.0: undefined symbol: gst_bit_writer_reset

Therefore, I plan to bind deepstream in a anaconda env python but all instructions are confusing me because they all expect that I should install locally not a virtual env.

Could make deepstream be compatible with gstreamer 1.18.5?

TIA

• Hardware Platform (Jetson / GPU) :
• DeepStream Version : deepstream-6.0
• JetPack Version (valid for Jetson only) :
• TensorRT Version: TensorRT 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only): 11.4
• Issue Type( questions, new requirements, bugs)

Follow this quick start
Create Anaconda env with python = 3.8
conda install -c anaconda gstreamer
conda install -c conda-forge gst-python
conda install -c conda-forge gst-plugins-bad

and build deepstream with include path and lib path setting in deepstream_python_apps/bindings/CMakeLists.txt

then the error shows after make

[ 93%] Linking CXX shared library pyds.so
/usr/bin/ld: CMakeFiles/pyds.dir/src/bindfunctions.cpp.o: in function `pybind11::cpp_function::initialize<pydeepstream::bindfunctions(pybind11::module&)::{lambda(unsigned long, int)#3}, pybind11::tuple, unsigned long, int, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::sibling, pybind11::return_value_policy, char const*>(pydeepstream::bindfunctions(pybind11::module&)::{lambda(unsigned long, int)#3}&&, pybind11::tuple (*)(unsigned long, int), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::sibling const&, pybind11::return_value_policy const&, char const* const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call)':
bindfunctions.cpp:(.text+0x94f2): undefined reference to `gst_buffer_map'
/usr/bin/ld: bindfunctions.cpp:(.text+0x9505): undefined reference to `gst_buffer_unmap'
/usr/bin/ld: CMakeFiles/pyds.dir/src/bindfunctions.cpp.o: in function `pybind11::cpp_function::initialize<pydeepstream::bindfunctions(pybind11::module&)::{lambda(unsigned long, int)#2}, pybind11::array, unsigned long, int, pybind11::name, pybind11::scope, pybind11::sibling, pybind11::arg, pybind11::sibling, pybind11::return_value_policy, char const*>(pydeepstream::bindfunctions(pybind11::module&)::{lambda(unsigned long, int)#2}&&, pybind11::array (*)(unsigned long, int), pybind11::name const&, pybind11::scope const&, pybind11::sibling const&, pybind11::arg const&, pybind11::sibling const&, pybind11::return_value_policy const&, char const* const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call)':
bindfunctions.cpp:(.text+0xa95a): undefined reference to `gst_buffer_map'
/usr/bin/ld: bindfunctions.cpp:(.text+0xa96d): undefined reference to `gst_buffer_unmap'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pyds.dir/build.make:297: pyds.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/pyds.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Current deepstream SDK can only work with Ubuntu 18.04. Please follow Quickstart Guide — DeepStream 6.0 Release documentation (nvidia.com) strictly.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.