[gst-devel] udpsink: got send error 0

Wim Taymans wim.taymans at gmail.com
Thu Mar 20 10:29:37 CET 2008


On Thu, 2008-03-20 at 10:23 +0100, tyggrysio wrote:
> hi,
>   I have a problem with udpsink on win32 (I am using the CVS HEAD
> version). When I launch from my code (C++, vs 2005) the following
> pipe:
> "udpsrc port=6622 ! video/x-h264,height=480,width=640,framerate=5/1 !
> udpsink port=6623"
> everything works fine.
> but when I do this:
> "udpsrc port=6622 ! video/x-h264,height=480,width=640,framerate=5/1 !
> ffdec_h264 ! video/x-raw-yuv,height=480,width=640,framerate=5/1 !
> udpsink port=6623"

If you do this, you will be sending raw frames over UDP, which might
just exceed the maximum datagram size and fail.

Wim

> I got the following error:
> Setting to PLAYING
> Running
> Debug info: ..\..\gst\udp\gstmultiudpsink.c(394):
> gst_multiudpsink_render (): /pipeline0/udpsink0:
> Got send error 0: unknown error (0)
> Error: GStreamer encountered a general stream error.
> 
> Error (get from _errno()) set to 0 means - I think so - that no error
> occures. So this is no real error. Is this a bug or have I missed
> something?
> 
> I have also a second question - how can I set debug level (like
> "gst-debug-level" in command-line) from C++ code?
> 
> 
> Monika
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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