best way to 'relay' a stream between processes

Eslam Ahmed eslam.ahmed at avidbeam.com
Mon Sep 27 07:16:06 UTC 2021


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?gi-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> 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?
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210927/b90cb9d5/attachment-0001.htm>


More information about the gstreamer-devel mailing list