Hi Wim,<br><br>Thanks for the quick reply.<br>I fixed the width and height to be the same.<br><br>Now it just sits there after going to playing state.<br>Cpu utilization is about 10 percent.<br>I expected it to open a window for ximagesink, but it does not.<br>
<br>I see some strange caps:<br>/GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:src: caps = video/x-raw-rgb, width=(int)400, height=(int)300, format=(fourcc)0x00000000, framerate=(fraction)0/1<br><br>The framerate is 0, despite the fact that I set it to 10.<br>
<br>Thanks again,<br>Bert Douglas<br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 11:47 AM, Wim Taymans <span dir="ltr">&lt;<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>&gt;</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 class="im">On Fri, 2010-09-03 at 11:35 -0500, Bert Douglas wrote:<br>
&gt; I followed Wim&#39;s very helpful advice.  It goes a bit further than<br>
&gt; before.<br>
&gt; Sadly, then there is a segment fault.<br>
<br>
</div>You didn&#39;t copy the caps correctly, the width and height are not right<br>
in the receiver. The crash is because of a bug in the depayloader<br>
(fixing now).<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div class="h5">&gt;<br>
&gt; # rtp-server<br>
&gt; gst-launch  -v \<br>
&gt;       videotestsrc pattern=red \<br>
&gt;    !  video/x-raw-rgb, width=400, height=300, framerate=\(fraction<br>
&gt; \)10/1 \<br>
&gt;    !  rtpvrawpay ssrc=1 timestamp-offset=0 seqnum-offset=0 \<br>
&gt;    !  udpsink host=127.0.0.1 port=51234<br>
&gt;<br>
&gt; # rtp-client<br>
&gt; caps=&quot;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&quot;<br>

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