Hi Kocis-- what RTSP server are you using?<div><br></div><div>I'm trying to do the opposite of what you're doing. I have a gstreamer pipeline creating RTP packets, but need to package them with RTSP and create an SDP file.</div>
<div><br></div><div>Thanks,</div><div>Suneet<br><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 5:48 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, 2011-01-05 at 14:38 +0100, Kocsis Tibor wrote:<br>
> I created a command line to test the problem, the result is the same,<br>
> I got a lot of messages like this:<br>
><br>
> 0:00:27.686127192 14222 0xf1bd50 WARN rtpvrawdepay<br>
> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> clipping length 726, offset 398<br>
> 0:00:27.686175449 14222 0xf1bd50 WARN rtpvrawdepay<br>
> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> clipping length 438, offset 494<br>
<br>
</div>Those are normal. I will change them to LOG.<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div class="h5">> The pipelines:<br>
><br>
> Sender:<br>
><br>
> gst-launch -v v4l2src !<br>
> video/x-raw-yuv,width=640,height=480,framerate=10/1 ! clockoverlay !<br>
> rtpvrawpay ! udpsink host=... port=5000 sync=false<br>
><br>
> Receiver:<br>
><br>
> gst-launch -v udpsrc port=5000 caps="application/x-rtp,<br>
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)RAW,<br>
> sampling=(string)YCbCr-4:2:0, depth=(string)8, width=(string)640,<br>
> height=(string)480, colorimetry=(string)SMPTE240M, payload=(int)96,<br>
> ssrc=(uint)2464304599, clock-base=(uint)342261484,<br>
> seqnum-base=(uint)47511" ! rtpvrawdepay ! xvimagesink sync=false<br>
><br>
> Caps copied from udsink.sink on the sender side.<br>
><br>
> So is this warning message normal and should be info or maybe a<br>
> rawdepay bug or something else?<br>
><br>
> Regards,<br>
> Tibor<br>
><br>
><br>
><br>
> On Wed, Jan 5, 2011 at 10:13 AM, Kocsis Tibor <<a href="mailto:ikt011@gmail.com">ikt011@gmail.com</a>> wrote:<br>
> > The sdp I linked was wrong, my version is here:<br>
> ><br>
> > medias:<br>
> > media 0:<br>
> > media: 'video'<br>
> > port: '0'<br>
> > num_ports: '4294967295'<br>
> > proto: 'RTP/AVP'<br>
> > formats:<br>
> > format '96'<br>
> > information: '(NULL)'<br>
> > key:<br>
> > type: '(NULL)'<br>
> > data: '(NULL)'<br>
> > attributes:<br>
> > attribute 'rtpmap' : '96 RAW/90000'<br>
> > attribute 'control' :<br>
> > 'rtsp://<a href="http://10.30.0.8:1554/Live/trackID=0?channelID=98d16963-877f-4446-bb69-3aeada917523" target="_blank">10.30.0.8:1554/Live/trackID=0?channelID=98d16963-877f-4446-bb69-3aeada917523</a>'<br>
> > attribute 'fmtp' : '96 width=640;height=480;sampling=YCbCr-4:2:0;depth=8'<br>
> > attribute 'appversion' : '5.0.0'<br>
> ><br>
> ><br>
> > On Wed, Jan 5, 2011 at 9:07 AM, Kocsis Tibor <<a href="mailto:ikt011@gmail.com">ikt011@gmail.com</a>> wrote:<br>
> >> Hi,<br>
> >><br>
> >> I have a basic rtsp server, and I try to use to send a raw stream to<br>
> >> the client. On the receiver side I use a simple gstreamer pipeline<br>
> >> like this: rtspsrc ! rtpvrawdepay ! xvimagesink. On the server there<br>
> >> are gstreamer elements, too, some source connected to a rtpvrawpay,<br>
> >> and to the gstrtpsink elements. The sending is started, and I can<br>
> >> watch something live view, but it is not fluency. These messages<br>
> >> appear on the client:<br>
> >><br>
> >> 0:00:03.233100336 24189 0x7f654000bd20 WARN rtpvrawdepay<br>
> >> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> >> clipping length 540, offset 460<br>
> >> 0:00:03.233134052 24189 0x7f654000bd20 WARN rtpvrawdepay<br>
> >> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> >> clipping length 1086, offset 278<br>
> >> 0:00:03.233192201 24189 0x7f654000bd20 WARN rtpvrawdepay<br>
> >> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> >> clipping length 252, offset 556<br>
> >> 0:00:03.233232346 24189 0x7f654000bd20 WARN rtpvrawdepay<br>
> >> gstrtpvrawdepay.c:378:gst_rtp_vraw_depay_process:<rtpvrawdepay0><br>
> >> clipping length 798, offset 374<br>
> >> ...<br>
> >><br>
> >> What can it cause?<br>
> >><br>
> >> My guess was I missed from the sdp (or built it up wrong), but the<br>
> >> params I send over in the fmtp is the same as on the payloader's<br>
> >> source pad (width, height, sample, even as depth, but as I see depth<br>
> >> is not parsed on the client side). Btw my rtsp server works with<br>
> >> h264/mpeg4 fine, so the elements are correctly linked.<br>
> >><br>
> >> The full rtsp communication is here: <a href="http://pastebin.com/fC8MsJkx" target="_blank">http://pastebin.com/fC8MsJkx</a><br>
> >><br>
> >> Any idea is welcomed<br>
> >><br>
> >> Regards<br>
> >> Tibor<br>
> >><br>
> ><br>
><br>
> ------------------------------------------------------------------------------<br>
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
> to consolidate database storage, standardize their database environment, and,<br>
> should the need arise, upgrade to a full multi-node Oracle RAC database<br>
> without downtime or disruption<br>
> <a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</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>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
to consolidate database storage, standardize their database environment, and,<br>
should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</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></div>