Create custom meta data in gstreamer of deepstream

• Hardware Platform (Jetson / GPU):jetson
• DeepStream Version:5.0 ga
• JetPack Version (valid for Jetson only):4.4
• TensorRT Version:7.1

Hi all,
I want to define custom meta data in custom gstreamer plugin. I find pyds.nvds_acquire_user_meta_from_pool is for my purpose. and I see this sample codes is for doing this but for event message in this example.

Q1- The user meta has user_meta_data properties that accept meta data, Is it possible to pass any value like list or dict to this? custom data.

Q2- Finally it used pyds.set_user_copyfunc and pyds.set_user_releasefunc , Is it necessary to apply these function for every user meta after creating?

Q1: Since all meta data (including user_meta_data) related functions are implemented in C/C++, only the meta data which has python bindings can be supported. If you know how to implement your meta data functions in C/C++ and how to generate python bindings, it is possible.
Q2: pyds.set_user_copyfunc and pyds.set_user_releasefunc are always required for any user meta data implementation.