I am trying to make a simple pipeline in Windows to send video via udp
from one computer to another. The pipeline I am using to send looks like this - gst-launch videotestsrc ! videoparse ! ffenc_mpeg4 ! udpsink host=192.168.42.68 port=52000 The pipeline I am using to receive looks like this - gst-launch udpsrc port=52000 ! decodebin ! glimagesink I run the second pipeline first and it just sits waiting for input on the port. I then run the first pipeline and I get the following output: Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not read from resource. Additional debug info: ..\..\..\..\..\Source\gst-plugins-good\gst\udp\gstudpsrc.c(588): gst_udpsrc_create (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: receive error -1 (WSA error: 10040) Execution ended after 15002000 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... I am knew to using udpsrc/udpsink and this is my first test pipeline. Could someone please tell me what is causing this reading from resource error? Thank you, William _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I don't know the reason of your problem, but to me correct pipelines look as follows, at least this guarantees data delivery through RTP;
gst-launch videotestsrc ! videorate ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink host=192.168.42.68 port=52000
gst-launch udpsrc port=52000 ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)1, config=(string)000001b001000001b58913000001000000012000c48d8800cd0a041e1463000001b24c61766335332e302e30, payload=(int)96, ssrc=(uint)2944824259, clock-base=(uint)3591356201, seqnum-base=(uint)2983' ! decodebin ! glimagesink
On Wed, Jul 13, 2011 at 9:27 PM, William Metcalf <[hidden email]> wrote: I am trying to make a simple pipeline in Windows to send video via udp from one computer to another. -- Regards, Sudarshan Bisht _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |