Aggregator with multiple source pads
mathieu at centricular.com
Mon Apr 17 13:40:43 UTC 2023
Hey, aggregator is indeed N to 1 by design. One solution that you can
use is to have a secondary element placed downstream of aggregator that
demultiplexes buffers from meta you add to buffers of the "main"
stream, and pushes to multiple src pads. It's hardly ideal, but may be
sufficient for your use case.
Otherwise, the other option is to inherit from GstElement.
On Mon, 2023-04-17 at 15:33 +0530, Bhattiprolu RaviKumar via gstreamer-
> Can gstreamer aggregator support multiple source pads? All the
> plugins available seem to use many sinks and one source pad. I have
> an usecase where I need to get aggregate multiple sink pads and
> generate more than 1 source pad. After that each source pad will
> downstream to a separate branch and these branches will be combined
> at later stage. If aggregator does not support this, is there any
> other option to achieve this?
More information about the gstreamer-devel