<div dir="ltr"><br>Hello,<br><br>I've tested shm / shmsink / shmsrc pipes :<br><br>SENDER : gst-launch-1.0 -v videotestsrc ! "video/x-raw, format=YUY2, color-matrix=sdtv, \ chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" \ ! shmsink socket-path=/tmp/blah shm-size=2000000<br><br>RECEIVER : gst-launch-1.0 shmsrc socket-path=/tmp/blah ! \ "video/x-raw, format=YUY2, color-matrix=sdtv, \ chroma-site=mpeg2, width=(int)320, height=(int)240, framerate=(fraction)30/1" \ ! queue ! videoconvert ! autovideosink<br><br>But on the tests, I found one important thing. The shmsink pipe (SENDER) has to be preceded. If shmsrc pipe (RECEIVER) runs first, shmsrc pipe (RECEIVER) fails because the socket file doesn't exist.<br><br>So I think the shmsrc pipe (RECEIVER) must wait on the shmsink pipe (SENDER) to be started.<br><br><br>So I want to ask you how I can make the shmsrc pipe (RECEIVER) wait on the shmsink pipe (SENDER) to be started.<br><br>I guess I would be able to use the inotify-tools library on the control socket file - /tmp/blah - above. I guess I can check the creation of the control socket file - /tmp/blah before the program launches shmsrc pipe (RECEIVER).<br><br><br>How can I achieve my goal?<br><br>Thank you in advance!<br><br><br>And I wonder if the license for the shm/shmsink/shmsrc is free enough to use it on commercial products.<br><div><pre class="gmail-language-undefined" style="color:rgb(0,0,0)"><code class="gmail-language-[ gmail-language-undefined"><br></code></pre></div></div>