<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hi,</div><div><br></div><div>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.</div><div><br></div><div>Olivier</div><div><br></div><div>On Thu, 2018-10-18 at 21:57 -0500, lottery wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">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!

        
        
        
<br><hr align="left" width="300">
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br><pre>_______________________________________________</pre><pre>gstreamer-devel mailing list</pre><pre><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></pre><pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre><pre><br></pre></blockquote><div><span><pre><pre>-- <br></pre>Olivier CrĂȘte
olivier.crete@collabora.com
</pre></span></div></body></html>