best way to 'relay' a stream between processes

Eslam Ahmed eslam.ahmed at avidbeam.com
Thu Sep 30 08:51:23 UTC 2021


Marianna,

How much of an overhead are we talking about here regarding udpsrc/sink?
How much worse would you think it would be when using
tcpserversink/tcpclientsrc?

Best Regards,
Eslam Ahmed


On Thu, Sep 30, 2021 at 10:45 AM Marianna Smidth Buschle via
gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:

>
> > Hi Eslam, thanks that was indeed what I was expecting. However from
> these examples and this fdin I should assume I can not use this option with
> gst-launch not? Or can I work around this with something like mkfifo?
>
> If you use python and 'Gst.parse_launch("")' then it is just as easy and
> fast as using 'gst-launch'
>
>
> Also I think we have tried something similar at some point using
> fdsink/src but I don't think I have the code anymore
>
>
> I have also come across this at some point:
>
> https://mazdermind.wordpress.com/2014/08/29/getting-shmsinkshmsrc-to-work-with-videomixer/
> but haven't tried myself
>
>
> We have also looked at how to best split pipelines between or within
> processes.
>
> We have also tried like you to use udpsrc/sink to relay data but found
> that the overhead was too big even within localhost.
>
> In the end we decided to keep things inside the same process but to
> decouple the pipelines internally just to avoid errors in one breaking
> the other ones and generally to ease debugging.
>
> For that purpose we are now currently using interpipesrc/sink (from
> RidgeRun) but have also looked at proxysrc/sink and intervideosrc/sink.
>
> --
> Best regards / Med venlig hilsen
> “Marianna Smidth Buschle”
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210930/7412754f/attachment.htm>


More information about the gstreamer-devel mailing list