[gst-devel] tcpsink - tcpsrc- gdp problem

Mattias Barthel mb at novanotio.es
Mon May 5 19:00:14 CEST 2008


Hi,

I have also met a similar situation where a pipeline got frozen locally 
in windows.
I also used the tcpserversink/tcpclientsrc combination. And after a 
certain amount of time/frames it froze
for me aswell.
Do anyone recognize this?


Thanks,

Mattias

xavier.grasa at iss-profesionalia.com wrote:
> Hello,
>
> I'm trying to send-receive raw video on the same pc using gdp and tcp for
> test purposes. The following pipelines have been run on a Linux system as
> well as on a winxp pc.
>
> send pipeline:
>
> gst-launch --gst-debug-no-color -v -m videotestsrc do-timestamp=true
> is-live=true ! gdppay ! queue ! tcpserversink port=1234 host=localhost
>
>
> receive pipeline:
>
> gst-launch --gst-debug-no-color -v -m tcpclientsrc port=1234
> host=localhost ! gdpdepay !  queue ! ffmpegcolorspace !
> (directdrawsink-xvimagesink)
>
>
> They work fine on the Linux machine, but not on the winxp one. The receive
> pipeline only gets one frame, it shows it, and then freezes. The
> connection is not lost, but it won't try to read more frames from the
> socket. I've tried to debug the tcpclientsrc filter with MSVS, but it
> loses the thread scope after the first frame is read from the socket.
> Similar behaviour is observed when debugging the tcpserversink after
> writing the first frame. I wondered if it was a sync problem with
> directdrawsink, but tried the same pipeline with testsink and got the same
> result.
>
> ¿Any idea of what's wrong?
> don't know if it has anything to do with it, but  the tcp packet size in
> winxp is 8K, whereas in Linux is 16K.
>
> Thanks, any help will be appreciated.
>
> BR,
> --xavier
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>   





More information about the gstreamer-devel mailing list