Running Multiple Pipeline under single process

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

Running Multiple Pipeline under single process

Geek-Gst
Hi,

I need to develop application daemon, daemon creates and deletes Multiple
pipelines within same process.

Is it possible to Run multiple pipeline within same process ??

If I have to use multiple GStreamer pipeline in same process g_main_loop*
not required and I have to use sync bus handler.

Are there any other challenges using multiple pipeline in single process.



--
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
|

Re: Running Multiple Pipeline under single process

Michael Gruner
Hi Vinod

Some comments inline.

Michael
RidgeRun

On Jan 29, 2019, at 5:39 AM, Geek-Gst <[hidden email]> wrote:

Hi,

I need to develop application daemon, daemon creates and deletes Multiple
pipelines within same process.

Is it possible to Run multiple pipeline within same process ??


Yes, absolutely.

If I have to use multiple GStreamer pipeline in same process g_main_loop*
not required and I have to use sync bus handler.


The g_main_loop is required even if you are using the sync bus handler. Some stuff may work without a main loop, but many others (such as signals, messages, etc…) won’t. All pipelines may run in the same context/loop. 


Are there any other challenges using multiple pipeline in single process.


Not really, if you know how to handle a single pipeline, you should be fine with several pipelines. My only comment is regarding the sync handlers, is there a strong reason for using them? If not, applications should prefer bus watches and/or poll functions.

You may be interested in this project of ours, it is a daemon that lets you handle several pipelines. It exposes a TCP API so that you can control it from your application.





--
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