[gst-devel] YUV data transfer using TCP/IP

Tim-Philipp Müller t.i.m at zen.co.uk
Wed May 6 10:38:05 CEST 2009


On Wed, 2009-05-06 at 13:48 +0530, sudarshan bisht wrote:
> I am trying to send raw yuv data over  the network using tcpserversink
> and tcpclientsrc plugins using following pipelines :
>  
> On Server :   gst-launch filesrc location=test.mp4 ! qtdemux !
> ffdec_h264 ! tcpserversink 
> On Client :    gst-launch tcpclientsrc !
> 'video/x-raw-yuv,width=352,height=288,framrate=(fraction)25/1,format=(fourcc)I420, ! autovideosink 
>  
>             This perfectly works on localhost .
>  
>      But when I try same thing on two systems by giving proper host IP
> and port number ,  i dont get the displayed output correct and when I
> dump yuv data in a file that comes correct.
>  
>   Any Idea what is going wrong ? 

Most likely the sizes/chunking isn't maintained. You could try using
either gdppay/gdpdepay on both ends, or putting a videoparse element
after the source where there's currently a capsfilter.

Cheers
 -Tim








More information about the gstreamer-devel mailing list