Create N sink to 1 source element

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Create N sink to 1 source element

priyanka kataria
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 

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel