How to get the NvDsFrameMeta structure of the video frame if nvstreammuxer is not used in the pipeline ?


pipeline:nvagurscamerasrc->nvvideoconvert_1->nvdsosd->nvvideoconvert_2->nvv4l2h265enc->appsink
My pipe is shown above.
Is there a method?:Without adding nvstreammux,use gst_pad_add_probe to obtain NvDsFrameMeta structure of video frame from nvvideoconvert_1 plugin.

If you want to get meta info, you should use the nvstreammux. The muxer attaches an NvDsBatchMeta metadata structure to the output batched buffer.

Hi,@yuweiw
Is there a way to do this without using the nvstreammux plugin?
My application pipeline needs to be stopped and started frequently.
If I used the nvstreammux plugin in front of the osd, the pipeline restart might cause the argus daemon to fail and not capture again,so I wanted to find an alternative to nvstreammux.

No. Nvstreamux attaches the metadata to the buffer. What do you mean by

What is your specific user case?

I wonder if there is another way to add metadata to the buffer.
There is a bug validity probability in streammux plugin that causes argus daemonto hang up, but I don’t have time to follow up on this issue now, I need to find an alternative solution immediately to solve the uncapture problem caused by this bug in users’ hands.

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

If you don’t use nvstreammux, you should add it by yourself with Gstreamer API gst_buffer_add_meta. You can define the structure and add the meta to the buffer by yourself.

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