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"><<a href="mailto:wim.taymans@gmail.com">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 class="im">On Fri, 2010-09-03 at 11:35 -0500, Bert Douglas wrote:<br>
> I followed Wim's very helpful advice. It goes a bit further than<br>
> before.<br>
> Sadly, then there is a segment fault.<br>
<br>
</div>You didn'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">><br>
> # rtp-server<br>
> gst-launch -v \<br>
> videotestsrc pattern=red \<br>
> ! video/x-raw-rgb, width=400, height=300, framerate=\(fraction<br>
> \)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" target="_blank">127.0.0.1:51234</a> caps=$caps \<br>
> ! rtpvrawdepay \<br>
> ! video/x-raw-rgb,format=\(fourcc\)RGBA,framerate=\(fraction\)10/1<br>
> \<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<br>
> = video/x-raw-rgb, width=(int)4, height=(int)4,<br>
> format=(fourcc)0x00000000, framerate=(fraction)0/1<br>
> /GstPipeline:pipeline0/GstRtpVRawDepay:rtpvrawdepay0.GstPad:sink: caps<br>
> = application/x-rtp, media=(string)video, clock-rate=(int)90000,<br>
> encoding-name=(string)RAW, sampling=(string)RGBA, depth=(string)8,<br>
> width=(string)4, height=(string)4, colorimetry=(string)SMPTE240M,<br>
> payload=(int)96, ssrc=(uint)1, clock-base=(uint)0,<br>
> seqnum-base=(uint)0, framerate=(fraction)10/1<br>
> Segmentation fault<br>
><br>
><br>
> On Fri, Sep 3, 2010 at 10:07 AM, Bert Douglas <<a href="mailto:bertd@tplogic.com">bertd@tplogic.com</a>><br>
> wrote:<br>
> Thanks much to Wim for the excellent pointer.<br>
><br>
> --Bert<br>
><br>
><br>
><br>
> On Fri, Sep 3, 2010 at 3:10 AM, Wim Taymans<br>
> <<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>> wrote:<br>
> On Thu, 2010-09-02 at 23:54 -0500, Bert Douglas wrote:<br>
> > Tristan tried to help me. I tried setting caps as<br>
> recommended. Still<br>
> > not working.<br>
><br>
><br>
> You're doing it wrong. read the instructions in this<br>
> 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>
><br>
><br>
><br>
> > Thanks for looking.<br>
> ><br>
> > # rtp-server<br>
> > gst-launch \<br>
> > videotestsrc pattern=red \<br>
> > ! video/x-raw-rgb, format=\(fourcc\)RGB,<br>
> 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>
> ><br>
> CAPS="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)RAW,"<br>
> > CAPS=<br>
> ><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,<br>
> 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<br>
> rtpvrawdepay<br>
> ><br>
> gstrtpvrawdepay.c:240:gst_rtp_vraw_depay_setcaps:<rtpvrawdepay0> no<br>
> > width specified<br>
> > ERROR: from<br>
> element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:<br>
> 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>
><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>
><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>
><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>
> _______________________________________________ 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>