AW: Choose next element based on metadata.

Thornton, Keith keith.thornton at zeiss.com
Mon Jan 25 05:12:10 UTC 2021


Hi,
maybe outputselector would serve your purpose.
Gruesse

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von fre deric
Gesendet: Freitag, 22. Januar 2021 16:47
An: gstreamer-devel at lists.freedesktop.org
Betreff: Choose next element based on metadata.

Hi,
I need an element allowing to select next element in the pipeline based on metadata. For 2 input streams, I use nvidia nvstreammux to form batches from these sources and then buffers from the first source should go to some
element_1 and buffers from the second source should go to some element_2 in the pipeline. All buffers contain user metadata describing stream id. 

I took a look for tee element, because tee element splits data to multiple pads. But I would need to only select one pad based on the stream id. Of course I could use tee element and then drop buffers with wrong streams id, but I am not sure if this is optimal way-

Is there any existing element for this? Or should I created my own element for this? Is there any example, where I could start? 





--
Sent from: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=04%7C01%7C%7Cdd2b6ac3e27143ca5e0508d8bef7376a%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637469316287375648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W8UaL224meKkVFN0fVtxZ3Ea%2FXfq2611VRFhDROY4x4%3D&reserved=0
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=04%7C01%7C%7Cdd2b6ac3e27143ca5e0508d8bef7376a%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637469316287375648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YP0xhFi33A5bdy7Hh0MwsAE0VGIv4p0TbQC9zvNqzQM%3D&reserved=0


More information about the gstreamer-devel mailing list