best way to 'relay' a stream between processes
Marc
Marc at f1-outsourcing.eu
Tue Sep 28 09:22:30 UTC 2021
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?
>
> See the following:
> https://www.collabora.com/news-and-blog/blog/2017/11/17/ipcpipeline-
> splitting-a-gstreamer-pipeline-into-multiple-processes/
> https://gstreamer.freedesktop.org/documentation/ipcpipeline/index.html?g
> i-language=c
>
> Best Regards,
> Eslam Ahmed
>
>
> On Sun, Sep 26, 2021 at 11:15 PM Marc via gstreamer-devel <gstreamer-
> devel at lists.freedesktop.org <mailto:gstreamer-
> devel at lists.freedesktop.org> > wrote:
>
>
> I was wondering what is the best/efficient way to relay a stream to
> a different process for further processing.
>
> Say I have process a, that transcodes a stream and archives the
> original into a file.
> Say I have process b, that resizes the original stream of process
> a.
>
> Currently I am using this in process a
> t. ! queue ! tcpserversink port=4000"$CAMNR" async=0 \
>
> and this in process b
> tcpclientsrc port=40001 ! queue ! tsdemux
>
>
> I guess this is fine if you have some micro service architecture
> where you have to communicate via tcp. But if this all resides on the
> same host and networking is not necessary, is there a better way of
> doing this?
>
>
>
>
>
More information about the gstreamer-devel
mailing list