How do we can implement the GstBufferPool - In Gstreamer Custom plugin
deepg799
deepg799 at gmail.com
Wed Sep 16 09:00:24 UTC 2020
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/
More information about the gstreamer-devel
mailing list