I followed Wim's very helpful advice. It goes a bit further than before.<br>Sadly, then there is a segment fault.<br><br># rtp-server<br>gst-launch -v \<br> videotestsrc pattern=red \<br> ! video/x-raw-rgb, width=400, height=300, framerate=\(fraction\)10/1 \<br>
! rtpvrawpay ssrc=1 timestamp-offset=0 seqnum-offset=0 \<br> ! udpsink host=127.0.0.1 port=51234<br><br># rtp-client<br>caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,sampling=(string)RGBA,depth=(string)8,width=(string)4,height=(string)4,colorimetry=(string)SMPTE240M,payload=(int)96,ssrc=(uint)1,clock-base=(uint)0,seqnum-base=(uint)0,framerate=(fraction)10/1"<br>
gst-launch -v \<br> udpsrc uri=udp://<a href="http://127.0.0.1:51234">127.0.0.1:51234</a> caps=$caps \<br> ! rtpvrawdepay \<br> ! video/x-raw-rgb,format=\(fourcc\)RGBA,framerate=\(fraction\)10/1 \<br> ! ffmpegcolorspace \<br>
! ximagesink<br><br><br>$ . rtp-client.sh<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps = video/x-raw-rgb, width=(int)4, height=(int)4, format=(fourcc)0x00000000, framerate=(fraction)0/1<br>
/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8, width=(string)4, height=(string)4, colorimetry=(string)SMPTE240M, payload=(int)96, ssrc=(uint)1, clock-base=(uint)0, seqnum-base=(uint)0, framerate=(fraction)10/1<br>
Segmentation fault<br><br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 10:07 AM, Bert Douglas <span dir="ltr"><<a href="mailto:bertd@tplogic.com">bertd@tplogic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks much to Wim for the excellent pointer.<br><font color="#888888"><br>--Bert</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 3:10 AM, Wim Taymans <span dir="ltr"><<a href="mailto:wim.taymans@gmail.com" target="_blank">wim.taymans@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On Thu, 2010-09-02 at 23:54 -0500, Bert Douglas wrote:<br>
> Tristan tried to help me. I tried setting caps as recommended. Still<br>
> not working.<br>
<br>
</div>You're doing it wrong. read the instructions in this document carefully:<br>
<br>
<a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251" target="_blank">http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251</a><br>
<br>
Wim<br>
<div><div></div><div><br>
<br>
> Thanks for looking.<br>
><br>
> # rtp-server<br>
> gst-launch \<br>
> videotestsrc pattern=red \<br>
> ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4,<br>
> frame-rate=1/1 \<br>
> ! rtpvrawpay \<br>
> ! udpsink host=127.0.0.1 port=51234<br>
><br>
> # rtp-client<br>
> CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,"<br>
> CAPS=<br>
> $CAPS"sampling=(string)RGB,depth=(int)8,width=(int)4,height=(int)4"<br>
> gst-launch \<br>
> udpsrc uri=udp://<a href="http://127.0.0.1:51234" target="_blank">127.0.0.1:51234</a> caps=$CAPS \<br>
> ! rtpvrawdepay \<br>
> ! video/x-raw-rgb, format=\(fourcc\)RGB, width=4, height=4,<br>
> frame-rate=1/1 \<br>
> ! ffmpegcolorspace \<br>
> ! ximagesink<br>
><br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is live and does not need PREROLL ...<br>
> Setting pipeline to PLAYING ...<br>
> New clock: GstSystemClock<br>
> 0:00:00.056868267 14918 0x1188c90 ERROR rtpvrawdepay<br>
> gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no<br>
> width specified<br>
> ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal<br>
> data flow error.<br>
> Additional debug info:<br>
> gstbasesrc.c(2562): gst_base_src_loop<br>
> (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>
> streaming task paused, reason not-negotiated (-4)<br>
> Execution ended after 18091128 ns.<br>
> Setting pipeline to PAUSED ...<br>
> Setting pipeline to READY ...<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline ...<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------------<br>
> This SF.net Dev2Dev email is sponsored by:<br>
><br>
> Show off your parallel programming skills.<br>
> Enter the Intel(R) Threading Challenge 2010.<br>
> <a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>
> _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>