Isn&#39;t is that you should use same port number both the sides ? Keeping same port number both the sides at least for me its working fine in my machine. <br>May be then you need to upgrade your Gstreamer installations.<br>
<br><br> <br><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 9:13 AM, Tom <span dir="ltr">&lt;<a href="mailto:fb8fb8@gmail.com">fb8fb8@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;">gst-launch-0.10 v4l2src ! videorate ! capsfilter name=vfps caps=\&quot;video/x-raw-yuv,framerate=2/1\&quot;  ! ffmpegcolorspace  ! jpegenc ! multipartmux ! tcpserversink host=127.0.0.1 port=5100</span><br>


<br></div><div><div></div><div class="h5"><div class="gmail_quote">On Thu, Jul 28, 2011 at 11:41 PM, Sudarshan Bisht <span dir="ltr">&lt;<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Just to check, what pipeline you are using at server side ? <div><div></div><div><div><br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 11:43 PM, Tom <span dir="ltr">&lt;<a href="mailto:fb8fb8@gmail.com" target="_blank">fb8fb8@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Yes I tried, but the following error occured at the client:<br><span style="color: rgb(0, 153, 0);">gst-launch tcpclientsrc  host=127.0.0.1 port=5106  !  multipartdemux   ! jpegdec  ! autovideosink</span><br style="color: rgb(0, 153, 0);">





<span style="color: rgb(0, 153, 0);">Setting pipeline to PAUSED ...</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Pipeline is PREROLLING ...</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">ERROR: from element /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0: Internal data flow error.</span><br style="color: rgb(0, 153, 0);">





<span style="color: rgb(0, 153, 0);">Additional debug info:</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">gstbasesrc.c(2507): gst_base_src_loop (): /GstPipeline:pipeline0/GstTCPClientSrc:tcpclientsrc0:</span><br style="color: rgb(0, 153, 0);">





<span style="color: rgb(0, 153, 0);">streaming task paused, reason not-linked (-1)</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">ERROR: pipeline doesn&#39;t want to preroll.</span><br style="color: rgb(0, 153, 0);">





<span style="color: rgb(0, 153, 0);">Setting pipeline to NULL ...</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">Freeing pipeline ...</span><br>I really don&#39;t know how to deal with this &quot;internal data flow error&quot;...<br>





could please give me some hint?<br>Thanks you very much!!!<br><font color="#888888"><br>Tom</font><div><div></div><div><br><br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 2:51 AM, Sudarshan Bisht <span dir="ltr">&lt;<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Then simply use;<br><br>gst-launch-0.10 v4l2src ! videorate ! capsfilter name=vfps caps=\&quot;video/x-raw-yuv,framerate=2/1\&quot;  ! ffmpegcolorspace  ! jpegenc ! multipartmux ! tcpserversink host=127.0.0.1 port=5100<div>





<div></div><div><br>
<br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 10:45 AM, Tom <span dir="ltr">&lt;<a href="mailto:fb8fb8@gmail.com" target="_blank">fb8fb8@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">






Thanks for your reply!<br>But I need to keep this <span style="border-collapse: collapse; color: rgb(0, 153, 0); font-family: arial,sans-serif; font-size: 13px;"> videorate ! capsfilter name=vfps caps=\&quot;video/x-raw-yuv,framerate=2/1\&quot; ! </span>, since I need to change framerate in PLAYING state. I wrote a testpipeline.cpp in which I use the above code to change framerate.<br>








So is there other way to fix this problem?<br>Thank you!<div><div></div><div><br><br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 1:47 AM, Sudarshan Bisht <span dir="ltr">&lt;<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>&gt;</span> wrote:<br>








<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Try this;<div><br></div><div>server;</div><div>gst-launch v4l2src ! videorate ! &#39;video/x-raw-yuv,framerate=(fraction)30/1&#39;  ! ffmpegcolorspace  ! jpegenc ! multipartmux ! tcpserversink host=127.0.0.1 port=5100</div>









<div><br></div><div>Client;</div><div>gst-launch tcpclientsrc  port=5100  !  multipartdemux   ! jpegdec  ! autovideosink</div><div><br></div><div>Change host address accordingly as I tried this on signle PC but in two terminals. I changed framerate too to get better quality.  </div>









<div><br></div><div><br><br><div class="gmail_quote"><div><div></div><div>On Thu, Jul 28, 2011 at 6:56 AM, Tom <span dir="ltr">&lt;<a href="mailto:fb8fb8@gmail.com" target="_blank">fb8fb8@gmail.com</a>&gt;</span> wrote:<br>








</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>
Hi All,<br><br>I have been trying to stream the video captured from a Linux server to a Linux client.<br><br>On my server, i run:<br><div><font color="#009900">gst-launch v4l2src !  videorate ! capsfilter name=vfps caps=\&quot;video/x-raw-yuv,framerate=2/1\&quot; !  multipartmux ! tcpserversink host=192.168.2.1 port=5100</font></div>













<div><br>On my client, I run:</div><div><font color="#009900">gst-launch tcpclientsrc host=xxx.xxx.xxx.xxx(Server IP) port=5100 ! multipartdemux ! jpegdec ! autovideosink</font><br><br>But it doesn&#39;t work. What did i do wrong? <span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;">Has somebody a solution for me? I am new to gstreamer.<br>











</span>Thank you!<br><br>Tom<br><br></div><div>
<br></div>
<br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>