Getting data from buffer to pass to another function/process outside of Gstreamer
arjen at moonlightmedia.nl
Fri May 19 04:41:23 UTC 2017
There are multiple options. You could indeed insert the identity element
before the encoder and wait for the handoff signal to fire. This callback
will get you a reference to the GstBuffer that is about the pass the
identity element. You can use gst_buffer_extract to extract the data from
the buffer and do what you want.
Alternatively, you can split the pipeline in two, use appsink and wait for
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Getting-data-from-buffer-to-pass-to-another-function-process-outside-of-Gstreamer-tp4683038p4683040.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel