ZED GStreamer SDK 5.0

Hi,

I am not able to build zed-gstreamer with SDK 5.0.

/home/ubuntu/zed-gstreamer/gst-zed-src/gstzedsrc.cpp:2209:23: error: ‘src’ was not declared in this scope; did you mean ‘bsrc’?
 2209 |     GST_ELEMENT_ERROR(src, LIBRARY, FAILED,

Is this supposed to work? If not, when is the release for 5.0 planned? I just saw that the newest release seems to be 4.2.5

Thank’s in advance,
Nino

The GStreamer repository is not yet compatible with the ZED SDK v5.0 EA.

It will be updated in the next few days.

Thanks for the quick reply! Is there already a date for the release?

Are there any Docker images including the SDK, GStreamer and the zedsrc plugin?

Not yet, you can subscribe to the GitHub repository to receive notifications when it’s updated.

No, we do not provide specific Docker images to be used with GStreamer

Just saw that there were some updates regarding SDK v5.0 on GitHub but no release yet. I still run into errors when trying to build so i guess there is still no support?

What error messages do you get? The ZED GStreamer repository is now compatible with the ZED SDK v5.0 EA

Thats the error I’m getting when I’m trying to build

[  6%] Building CXX object gst-zed-meta/CMakeFiles/gstzedmeta.dir/gstzedmeta.cpp.o
[ 12%] Linking CXX shared library libgstzedmeta.so
[ 12%] Built target gstzedmeta
[ 18%] Building CXX object gst-zed-src/CMakeFiles/gstzedsrc.dir/gstzedsrc.cpp.o
[ 25%] Linking CXX shared module libgstzedsrc.so
[ 25%] Built target gstzedsrc
[ 31%] Building CXX object gst-zedxone-src/CMakeFiles/gstzedxonesrc.dir/gstzedxonesrc.cpp.o
/home/user/zed-gstreamer/gst-zedxone-src/gstzedxonesrc.cpp: In function ‘gboolean gst_zedxonesrc_start(GstBaseSrc*)’:
/home/user/zed-gstreamer/gst-zedxone-src/gstzedxonesrc.cpp:849:17: error: ‘struct sl::InitParametersOne’ has no member named ‘open_timeout_sec’
  849 |     init_params.open_timeout_sec = src->_camTimeout_sec;
      |                 ^~~~~~~~~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/gst.h:55,
                 from /usr/include/gstreamer-1.0/gst/base/gstpushsrc.h:27,
                 from /home/user/zed-gstreamer/gst-zedxone-src/gstzedxonesrc.cpp:22:
/home/user/zed-gstreamer/gst-zedxone-src/gstzedxonesrc.cpp:850:55: error: ‘struct sl::InitParametersOne’ has no member named ‘open_timeout_sec’
  850 |     GST_INFO(" * Open timeout [sec]: %g", init_params.open_timeout_sec);
      |                                                       ^~~~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/gstinfo.h:691:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’
  691 |         (GObject *) (object), __VA_ARGS__);                             \
      |                               ^~~~~~~~~~~
/home/user/zed-gstreamer/gst-zedxone-src/gstzedxonesrc.cpp:850:5: note: in expansion of macro ‘GST_INFO’
  850 |     GST_INFO(" * Open timeout [sec]: %g", init_params.open_timeout_sec);
      |     ^~~~~~~~
make[2]: *** [gst-zedxone-src/CMakeFiles/gstzedxonesrc.dir/build.make:76: gst-zedxone-src/CMakeFiles/gstzedxonesrc.dir/gstzedxonesrc.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:330: gst-zedxone-src/CMakeFiles/gstzedxonesrc.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Hi @nweg
The parameter was indeed removed.
I apologize for the inconvenience.

You can pull the latest master branch for the fix.

1 Like