Getting data from buffer to pass to another function/process outside of Gstreamer

Arjen Veenhuizen arjen at
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
its callback:

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list