How to make a N to 1 custom plugin

Olivier CrĂȘte olivier.crete at collabora.com
Sun Oct 21 07:00:43 UTC 2018


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 listgstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-- 
Olivier CrĂȘte
olivier.crete at collabora.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181021/e55a4248/attachment.html>


More information about the gstreamer-devel mailing list