<div dir="ltr">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.<div><br></div><div>If you want to just use it as an example you can find it here: <a href="https://github.com/jimfcarroll/gst-breakout">https://github.com/jimfcarroll/gst-breakout</a></div><div><br></div><div>It's not production quality at this point.</div><div><br></div><div>If you want to see it used in Java, here's a bunch of tests that use it: <a href="https://github.com/jimfcarroll/utilities/tree/master/lib-gstreamer/src/test/java/com/jiminger/gstreamer">https://github.com/jimfcarroll/utilities/tree/master/lib-gstreamer/src/test/java/com/jiminger/gstreamer</a></div><div><br></div><div>See the files that start with "TestBreakout*"</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 1:28 PM, Bernhard Graaf <span dir="ltr"><<a href="mailto:bernhard.graaf@gmx.de" target="_blank">bernhard.graaf@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See this:<br>
<a href="https://gstreamer.freedesktop.org/data/events/gstreamer-conference/2016/Marc
in%20Kolny%20-%20gstreamermm%20-%20C++%20way%20of%20doing%20GStreamer-based%
20applications.pdf" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.<wbr>org/data/events/gstreamer-<wbr>conference/2016/Marc<br>
in%20Kolny%20-%20gstreamermm%<wbr>20-%20C++%20way%20of%20doing%<wbr>20GStreamer-based%<br>
20applications.pdf</a><br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: gstreamer-devel [mailto:<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org">gstreamer-devel-<wbr>bounces@lists.freedesktop.org</a>]<br>
Im Auftrag von Nostalgia<br>
Gesendet: Montag, 19. März 2018 13:49<br>
An: <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
Betreff: Using gstreamer pipeline as an c++ class (object) or c library<br>
<div class="HOEnZb"><div class="h5"><br>
Hi,<br>
<br>
I have this pipeline : appsrc -> omxh264enc -> appsink.<br>
I want to know if it is possible to create this pipeline as a class, and<br>
then to instanciate it and use it in a c++ application ?<br>
<br>
Regards,<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>