[gst-devel] How to send raw stream to network
sebastien.petitdemange at esrf.fr
Thu Jul 3 17:11:51 CEST 2008
Florent Thiery wrote:
>> I would like to send raw camera stream to the network, and I would like
>> to know what is the best way to do it with GStreamer.
>> gst-launch-0.10 -v videotestsrc !
>> video/x-raw-yuv,width=1360,height=1024,framerate=\(fraction\)20/1 !
>> gdppay ! tcpserversink port=5000
>> and this for client:
>> gst-launch-0.10 tcpclientsrc port=5000 ! gdpdepay ! ffmpegcolorspace !
>> but it doesn't work as I expect.
> For more debug/info, export GST_DEBUG=3
>> What I'm missing ?
> You might just have mistyped, but you'd need to specify the host ip in
> the client tcpserversrc...
> I tried using such raw features as well, but with not-so-good results
> (notably, concerning sync/reliability). Also, transferring raw YUV
> frames can be a bit network-killing !
Thanks for your replay... But in fact my real problem is that I don't
understand why if I do the client server reverse ie:
gst-launch-0.10 tcpcserversrc port=5000 ! gdpdepay ! ffmpegcolorspace
(Notice tcpclientsrc replace by tcpserversrc)
gst-launch-0.10 -v videotestsrc !
gdppay ! tcpclientsink port=5000
(Notice tcpserversink replace by tcpclientsink)
the thinks work just fine...
So maybe gdpdepay and gdppay is not propitiate for what I want to do or
maybe I miss something !
Sorry to be inaccurate in my first mail but I just notice that afterwards.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 210 bytes
Desc: not available
More information about the gstreamer-devel