Then simply use;<br><br>gst-launch-0.10 v4l2src ! videorate ! capsfilter name=vfps caps=\"video/x-raw-yuv,framerate=2/1\" ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host=127.0.0.1 port=5100<br>
<br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 10:45 AM, Tom <span dir="ltr"><<a href="mailto:fb8fb8@gmail.com">fb8fb8@gmail.com</a>></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=\"video/x-raw-yuv,framerate=2/1\" ! </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 class="h5"><br><br><br><div class="gmail_quote">On Thu, Jul 28, 2011 at 1:47 AM, Sudarshan Bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>></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 ! 'video/x-raw-yuv,framerate=(fraction)30/1' ! 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"><<a href="mailto:fb8fb8@gmail.com" target="_blank">fb8fb8@gmail.com</a>></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=\"video/x-raw-yuv,framerate=2/1\" ! 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'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">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>