Gst-nvdsmetautils with nvdsmetainsert and nvdsmetaextract how I can access metadata at once

Please provide complete information as applicable to your setup.

**• Hardware Platform -------------> GPU
**• DeepStream Version ------------> deepstream 7.0
• TensorRT Version ---------------> 8.6
**• NVIDIA GPU Driver Version -------> 545

I am experimenting with nvdsmetautils this to get the metadata at once, here deserialize the metadata !
What is the way to get all the metadata at once ?
What I want to achieve ? take all the metadata at once in a different data structure and access it later( or same time that will not depend on pipeline ) . If I am going to loop to each obj_meta and store it. It’s taking 2-3 ms
and depends how many obj we are looping through. But I want this to be done under 0.5ms.
I am asking a way to solve it !

You can refer to our source code sources\gst-plugins\gst-nvdsmetautils. You can try to store all the metadata in a file and then query it when you want to use them.

@yuweiw
Can you help me out to store all metadata put into a Queue or any other relevant data structure ?
nvdsmetautils has two plugin nvdsmetainsert and nvdsmetaextract
Which I can use ! How I can achieve "put the metadata into a multiprocessing queue or something slimier " ??

Can you describe your use case in detail and what kind of metadata you need?