[gst-devel] help with live streaming

sebarocker at gmail.com sebarocker at gmail.com
Mon Nov 15 22:11:02 CET 2010


Hi! Im using gstreamer to capture video in my local machine. My pipeline is

v4l2src device=/dev/video0 !
video/x-raw-yuv,width=320,height=240,framerate=10/1 ! ffmpegcolorspace !
capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit ! fakesink

I would like to consume the live stream from other machine in my network. So
i did the next:

Server:

v4l2src device=/dev/video0 !
video/x-raw-yuv,width=320,height=240,framerate=10/1 ! ffmpegcolorspace !
capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit !
tcpserversink host=192.168.1.101 port=5000


Client:

tcpclientsrc host=192.168.1.101 port=5000  ! identity name=artoolkit !
ximagesink


when i try "gst-launch tcpclientsrc host=192.168.1.101 port=5000  ! identity
name=artoolkit ! ximagesink" in the clien machine i get this error:

(gst-launch-0.10:8122): GLib-WARNING **: g_set_prgname() called multiple
times
Estableciendo el flujo a PAUSADO ...
El flujo se está PRECACHEANDO ...

(gst-launch-0.10:8122): GStreamer-CRITICAL **: gst_caps_get_structure:
assertion `GST_IS_CAPS (caps)' failed

(gst-launch-0.10:8122): GStreamer-CRITICAL **: gst_structure_get_int:
assertion `structure != NULL' failed
ERROR: del elemento /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Failed
to create output image buffer of 0x0 pixels
Información adicional de depuración:
ximagesink.c(469): gst_ximagesink_ximage_new ():
/GstPipeline:pipeline0/GstXImageSink:ximagesink0:
could not get shared memory of 0 bytes
ERROR: El flujo no quiere precachearse.
Estableciendo el conducto a NULL …
Liberando la tubería…


What im doing wrong?

Thanks you very much!!

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101115/870a7017/attachment.htm>


More information about the gstreamer-devel mailing list