Running Multiple Pipeline under single process

Michael Gruner michael.gruner at ridgerun.com
Tue Jan 29 16:53:40 UTC 2019


Hi Vinod

Some comments inline.

Michael
RidgeRun

> On Jan 29, 2019, at 5:39 AM, Geek-Gst <vinod.kesti at mailinator.com> 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.

https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Daemon <https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Daemon>


> 
> 
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190129/566c41f9/attachment.html>


More information about the gstreamer-devel mailing list