<div dir="ltr"><div>The solution suggested by SHOJI works fine. Also tried on OS X<br><br> gst-launch-1.0 -v tcpserversrc host=0.0.0.0 port=50002 ! gdpdepay ! jpegdec ! autovideoconvert ! osxvideosink<br> gst-launch-1.0 -v wrappercamerabinsrc mode=2 ! queue ! jpegenc ! gdppay ! tcpclientsink host=0.0.0.0 port=50002<br><br></div>Also works fine. <br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 1:03 PM, Farzan <span dir="ltr"><<a href="mailto:farzan.zaheer@gmail.com" target="_blank">farzan.zaheer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> The pipelines you mentioned are not working the sender side is stuck at<br>
Setting pipeline to PAUSED...., and the receiver pipeline exits as soon as I<br>
start it.<br></blockquote><div><br></div><div>You are most likely getting it wrong with either port or IP. WHat does your sender report ? Please paste output. <br></div><div><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>
Currently I am using the following, for sender,<br>
<br>
gst-launch-1.0 udpsrc -v filesrc location=/home/pi/image0.jpg ! udpsink<br>
host=xxx.xxx.xxx.xxx port=6000 sync=false<br>
<br>
for receiver,<br>
<br>
gst-launch-1.0 udpsrc port=6000 ! filesink<br>
location="C:\Users\Desktop\<wbr>image0.jpg"<br>
<br>
sender pipeline executes properly but the reciever side is stuck at Setting<br>
pipeline to PLAYING...<br></blockquote><div><br></div><div>Of course it does. How should receiver side detect end-of-data?<br> <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>
do you have any idea why this is happenning?<br></blockquote><div><br></div><div>Yes, you are using the wrong tools for what you said you wanted to do. Do you want to copy a file from one computer to another or do you want to stream a video? <br></div><br></div><div class="gmail_quote">Regards<br></div></div></div></div></div>