How do we can implement the GstBufferPool - In Gstreamer Custom plugin

Gary Metalle Gary.Metalle at rvl.co.uk
Wed Sep 16 08:59:27 UTC 2020


Hi

Aren't 'A' and 'B' performing the features of the 'compositor'?
________________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of deepg799 <deepg799 at gmail.com>
Sent: 16 September 2020 09:19
To: gstreamer-devel at lists.freedesktop.org
Subject: How do we can implement the GstBufferPool - In Gstreamer Custom plugin

I having a GstPipeline where two custom plugin A (upstream) B (Downstream)
are implemented as a pass through elements.

*  RTSP ->dec -> A ->B -> videosink. // working fine as a pass through
design.
*

*Requirement*:- My upstream custom element 'A' will fetch a signal video
frame from decoder and it will crop and procedure multiple frames those will
be consumed or pass to the downstream element 'B' The B element will mix all
these frames and will give single frame to videosink.

To achieve this implementation I has the GstBufferPool concept in gstreamer
and I hope this concept can be used for my requirement. The link is given
below.

https://gstreamer.freedesktop.org/documentation/additional/design/bufferpool.html?gi-language=c#shutting-down

Below are the doubt I have in order to implement the same.

1- How do add the croped Gstbuffer to the GstBufferPool inorder to get it
back in the downstream element.

2- How do I can share the Pool configuration to the downstream element ('B')
in order to acquire the Gstbuffer -gst_buffer_pool_acquire_buffer()

It will be very much helpful for me if anyone can share some useful
reference link where the explanation is there along with some reference code
or anyone can share pseudo code for the same would be great great. thank you
in advance.



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


More information about the gstreamer-devel mailing list