Using gstreamer pipeline as an c++ class (object) or c library
Jim Carroll
jimfcarroll at gmail.com
Mon Mar 19 21:18:40 UTC 2018
I had a lot of problems joining appsink -> [process frames] -> appsrc.
Instead I wrote a custom plugin that takes a frame processing callback. I
wrote it specifically to be called from other language bindings. I use if
from java.
If you want to just use it as an example you can find it here:
https://github.com/jimfcarroll/gst-breakout
It's not production quality at this point.
If you want to see it used in Java, here's a bunch of tests that use it:
https://github.com/jimfcarroll/utilities/tree/master/lib-gstreamer/src/test/java/com/jiminger/gstreamer
See the files that start with "TestBreakout*"
On Mon, Mar 19, 2018 at 1:28 PM, Bernhard Graaf <bernhard.graaf at gmx.de>
wrote:
> See this:
> https://gstreamer.freedesktop.org/data/events/gstreamer-
> conference/2016/Marc
> in%20Kolny%20-%20gstreamermm%20-%20C++%20way%20of%20doing%
> 20GStreamer-based%
> 20applications.pdf
>
>
> -----Ursprüngliche Nachricht-----
> Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org
> ]
> Im Auftrag von Nostalgia
> Gesendet: Montag, 19. März 2018 13:49
> An: gstreamer-devel at lists.freedesktop.org
> Betreff: Using gstreamer pipeline as an c++ class (object) or c library
>
> Hi,
>
> I have this pipeline : appsrc -> omxh264enc -> appsink.
> I want to know if it is possible to create this pipeline as a class, and
> then to instanciate it and use it in a c++ application ?
>
> Regards,
>
>
>
> --
> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180319/3c6881ba/attachment-0001.html>
More information about the gstreamer-devel
mailing list