how to use TCP to stream video captured by my webcam?

Tom fb8fb8 at gmail.com
Wed Jul 27 20:56:50 PDT 2011


Hi All,

I have been trying to stream the video captured from a Linux server to a
Linux client.

On my server, i run:
gst-launch v4l2src !  videorate ! capsfilter name=vfps
caps=\"video/x-raw-yuv,framerate=2/1\" !  multipartmux ! tcpserversink
host=192.168.2.1 port=5100

On my client, I run:
gst-launch tcpclientsrc host=xxx.xxx.xxx.xxx(Server IP) port=5100 !
multipartdemux ! jpegdec ! autovideosink

But it doesn't work. What did i do wrong? Has somebody a solution for me? I
am new to gstreamer.
Thank you!

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110727/e3b65e8e/attachment.html>


More information about the gstreamer-devel mailing list