udpsrc element returns error "could not read from resource" in Windows

sudarshan bisht bisht.sudarshan at gmail.com
Fri Jul 15 10:48:59 PDT 2011


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 <wmetcalf at niftytv.com>wrote:

> 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
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110715/3fcd8b28/attachment.htm>


More information about the gstreamer-devel mailing list