<div dir="ltr">Haven't tried them personally but I guess after you create the file/pipe using mkfifo, you will need to obtain a file descriptor for them (gint), the sender should open it in write mode and the receiver should open it in read mode. <span style="color:rgb(202,197,190);font-family:urw-din,sans-serif;letter-spacing:0.162px">it has to be open at both ends simultaneously before you can proceed to do any input or output operations on it.</span><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br></div><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 28, 2021 at 11:22 AM Marc <<a href="mailto:Marc@f1-outsourcing.eu">Marc@f1-outsourcing.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
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?<br>
<br>
<br>
<br>
> <br>
> See the following:<br>
> <a href="https://www.collabora.com/news-and-blog/blog/2017/11/17/ipcpipeline-" rel="noreferrer" target="_blank">https://www.collabora.com/news-and-blog/blog/2017/11/17/ipcpipeline-</a><br>
> splitting-a-gstreamer-pipeline-into-multiple-processes/<br>
> <a href="https://gstreamer.freedesktop.org/documentation/ipcpipeline/index.html?g" rel="noreferrer" target="_blank">https://gstreamer.freedesktop.org/documentation/ipcpipeline/index.html?g</a><br>
> i-language=c<br>
> <br>
> Best Regards,<br>
> Eslam Ahmed<br>
> <br>
> <br>
> On Sun, Sep 26, 2021 at 11:15 PM Marc via gstreamer-devel <gstreamer-<br>
> <a href="mailto:devel@lists.freedesktop.org" target="_blank">devel@lists.freedesktop.org</a> <mailto:<a href="mailto:gstreamer-" target="_blank">gstreamer-</a><br>
> <a href="mailto:devel@lists.freedesktop.org" target="_blank">devel@lists.freedesktop.org</a>> > wrote:<br>
> <br>
> <br>
>       I was wondering what is the best/efficient way to relay a stream to<br>
> a different process for further processing.<br>
> <br>
>       Say I have process a, that transcodes a stream and archives the<br>
> original into a file.<br>
>       Say I have process b, that resizes the original stream of process<br>
> a.<br>
> <br>
>       Currently I am using this in process a<br>
>       t. ! queue ! tcpserversink port=4000"$CAMNR" async=0 \<br>
> <br>
>       and this in process b<br>
>       tcpclientsrc port=40001 ! queue ! tsdemux<br>
> <br>
> <br>
>       I guess this is fine if you have some micro service architecture<br>
> where you have to communicate via tcp. But if this all resides on the<br>
> same host and networking is not necessary, is there a better way of<br>
> doing this?<br>
> <br>
> <br>
> <br>
> <br>
> <br>
<br>
</blockquote></div>