How to make a N to 1 custom plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to make a N to 1 custom plugin

lottery
I want to make a custom plugin for stitching N sinks to 1 src. And the frame size of src is base on the frame size of input. ------- custom | | ---------------- | src 0| \ | | | | \ ---------------- |sink0 | ------- | src| | | ------- ---------------- |sink1 | | | / | | | src1|/ ----------------- | | ------- But actually I know little about this. I have looked through the videomixer gstramer-good plugin. But it is too complex for my target. I just I want to use a fixed caps pad with only one video format. I seems the GstCollectPads should be used to control the flow. But which methods should be implemented? Can Is there anyone can give me some advice? Thanks very much!

Sent from the GStreamer-devel mailing list archive at Nabble.com.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to make a N to 1 custom plugin

Olivier Crête-3
Hi,

Look at the GstVideoAggregator base class, it can be used to build this kind of element. You can look at compositor for a complete example.

Olivier

On Thu, 2018-10-18 at 21:57 -0500, lottery wrote:
I want to make a custom plugin for stitching N sinks to 1 src. And the frame size of src is base on the frame size of input. ------- custom | | ---------------- | src 0| \ | | | | \ ---------------- |sink0 | ------- | src| | | ------- ---------------- |sink1 | | | / | | | src1|/ ----------------- | | ------- But actually I know little about this. I have looked through the videomixer gstramer-good plugin. But it is too complex for my target. I just I want to use a fixed caps pad with only one video format. I seems the GstCollectPads should be used to control the flow. But which methods should be implemented? Can Is there anyone can give me some advice? Thanks very much!

Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Olivier Crête [hidden email]

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