Using gstreamer pipeline as an c++ class (object) or c library

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Using gstreamer pipeline as an c++ class (object) or c library

Nostalgia
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: Using gstreamer pipeline as an c++ class (object) or c library

BGraaf
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:[hidden email]]
Im Auftrag von Nostalgia
Gesendet: Montag, 19. März 2018 13:49
An: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using gstreamer pipeline as an c++ class (object) or c library

jimfcarroll
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 <[hidden email]> wrote:
See this:
<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.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:[hidden email]]
Im Auftrag von Nostalgia
Gesendet: Montag, 19. März 2018 13:49
An: [hidden email]
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel