Can we check when an element's sink pad receives a buffer to add custom data to it

Arjen Veenhuizen arjen at moonlightmedia.nl
Thu Mar 29 16:19:30 UTC 2018


Yes, you are looking for buffer probes, see
https://gstreamer.freedesktop.org/documentation/design/probes.html and
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-add-probe

You can change the data in the buffer as well, but someone else can probably
explain it better than I can;). W.r.t. metadata: AFAIK not all elements pass
metadata transparently (but that might have changed in 1.12/1.14).



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list