Create N sink to 1 source element

priyanka kataria priyanka.kataria86 at gmail.com
Thu Mar 28 12:41:39 UTC 2019


Hi,

I want to create an element that takes N sinks as input and outputs 1
source, i.e. take input from multiple cameras and combine the frames of all
of them into single stream which is the output.

For this, I am trying to reuse ‘videomixer2’ code. I have made some changes
wherein I am pushing the sinkpads to source before blending via
gst_pad_push() function.

But the pipeline freezes after processing the first frame from video1 and
is unable to push first frame of video2 to source. The function
gst_pad_push() returns -5 as error code.

Please suggest how to resolve the issue or any other approach to achieve
the same.

Regards,
Priyanka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190328/7358fada/attachment.html>


More information about the gstreamer-devel mailing list