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" 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by tyggrysio
On Thu, 2008-03-20 at 10:23 +0100, tyggrysio wrote: > > I have also a second question - how can I set debug level (like > "gst-debug-level" in command-line) from C++ code? > > http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html look for threshold Edward ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by tyggrysio
On Thu, Mar 20, 2008 at 10:23 AM, tyggrysio <[hidden email]> wrote:
> 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? As for the errno error code, winsocks functions do not set it. So the error reporting does not work in a piece of code that do not call WSAGetLastError() on windows. -- Damien ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |