How do I retrieve GstBuffer from a GstPad?

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jan 18 16:58:10 UTC 2019


Le vendredi 18 janvier 2019 à 07:27 -0600, geospatialdeveloper a
écrit :
> So I have a simple pipeline with a custom source element that reads a Tiff
> file, a custom transform element that applies an algorithm to the pixels
> read in and a sink element that writes out a new Tiff file. This pipeline
> works.
> 
> I'm trying to write a shared library to have a function that will load the
> pipe in memory but instead of the sink element writing out the Tiff file
> will write the data into a memory location so that applications using the
> shared library can call the function and have access to the processed
> pixels.

Then use appsink I would say.

> 
> I did try to read the source pad of the transform element but with no sink
> in the pipe, the pipe does not execute.
> 
> 
> 
> --
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190118/3ed54c6c/attachment.sig>


More information about the gstreamer-devel mailing list