GStreamer - plugin with 2 input pads and 1 output [NOT a mux!]

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

GStreamer - plugin with 2 input pads and 1 output [NOT a mux!]

Bogdan Pavkovic
Dear all,

Could you point us to an example or GST documentation on
how to build a simple plugin element
that has 2 input pads configured in push mode
(1st pad receives video frame and 2nd receives rectangle position to draw over a video frame).
Output should be configured in push mode.
Resulting output is linked to autovideosink and should display the original frame with a rectangle drawn over it.

N.B. We currently use Cairo library to implement drawing.
N.B. We currently achieve similar result with 2/2 I/O plugin element that has one of output pads linked with fakesink. Nevertheless, we observe strange behavior with such setup where frame is corrupt.

Many thanks.

Best regards,
Bogdan

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

Re: GStreamer - plugin with 2 input pads and 1 output [NOT a mux!]

Baby Octopus
Administrator
Take a look at 'funnel' element. Also, you can easily build any such element
on top of GstAggregator baseclass

~BO



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel