[gst-devel] [gstreamer on windows] Error while network desktop streaming using screencapsrc if height is bigger than 200

Wim Taymans wim.taymans at gmail.com
Thu Sep 11 14:26:35 CEST 2008


On Thu, 2008-09-11 at 13:34 +0200, Florent wrote:
> Hi;
> 
> I tried experimenting using gstreamer on windows based on Elisa media
> center's binary distribution.
> 
> I want to send the captured desktop (using dx9screencapsrc) towards a
> Linux machine. I noticed a quite strange error.
> 
> Here's the pipeline:
> gst-launch-0.10.exe dx9screencapsrc width=1024 height=200 !
> ffmpegcolorspace ! jpegenc ! udpsink host=$linux_ip port=1234
> 

> This works. However, if i specify a bigger height (ex: 768), i get:
> 
> "gst_multiudpsink_render error: got send error: 0: No error
> ERROR: from element /pipeline0/udpsink0: GStreamer encoutered a
> general stream error
> basesrc gstbasesrc.c: gst_base_src_loop <dx9screencapsrc0> error:
> streaming task paused, reason error (-5)"
> 

Your compressed jpeg frame is likely larger than the maximum MTU or
bigger than the maximum allowed size of a UDP packet. This will not
work. You probably want to use some kind of RTP payloader if you send
data over UDP.

Wim
> 
> How can i fix this ? I already tried:
> * playing with queues (in case there was some cpu/process overload)
> * using gdiscreencapsrc instead (no change)
> 
> Thanks for any hint
> 
> Florent
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ 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