[gst-devel] How to send raw stream to network

Sébastien Petitdemange sebastien.petitdemange at esrf.fr
Thu Jul 3 17:11:51 CEST 2008


Florent Thiery wrote:
> Hi
> 
>> 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  !
>> xvimagesink
>>
>> 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 !
> 
> FLo

Hi Flo,

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
! xvimagesink

(Notice tcpclientsrc replace by tcpserversrc)

and :

gst-launch-0.10 -v videotestsrc !
video/x-raw-yuv,width=1360,height=1024,framerate=\(fraction\)20/1 !
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.

Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastien_petitdemange.vcf
Type: text/x-vcard
Size: 210 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080703/c45bee1d/attachment.vcf>


More information about the gstreamer-devel mailing list