Ok, good to know. Thanks Tim.<div><br></div><div>Cheers,</div><div><br></div><div>Paul<br><br><div class="gmail_quote">2013/1/9 Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 2013-01-08 at 17:35 +0100, Paul d'AUBIGNY wrote:<br>
<br>
Hi,<br>
<div><div class="h5"><br>
> In rtpvrawdepay element (i.e. in the file gstrtpvrawdepay.c) in<br>
> setcaps function when getting back structure parameters from the caps<br>
> it retrieves width and some other parameters as a string whereas they<br>
> are integer. It seems it leads to failure in my case, using such<br>
> pipeline:<br>
><br>
> gst-launch-1.0 udpsrc port=2222 ! application/x-rtp, media=video,<br>
> clock-rate=90000, encoding-name=RAW, sampling=YCbCr-4:2:0, depth=8,<br>
> width=448, height=336, colorimetry=BT601-5, payload=96 !<br>
> rtpvrawdepay ! fakesink<br>
><br>
><br>
> and the failure message is "no width specified" whereas when modifying<br>
> the code of rtpvrawdepay and retrieving the width field as an integer<br>
> it works.<br>
> Am I doing something wrong or there is an issue with rtpvrawdepay?<br>
<br>
</div></div>Your RTP caps aren't quite right. Usually width/height are integers.<br>
However, in RTP caps these are strings, and you need to explicitly<br>
signal that they're strings, otherwise they'll automagically be turned<br>
into ints when the caps string is deserialized.<br>
<br>
Try:<br>
<div class="im"><br>
gst-launch-1.0 udpsrc port=2222 ! application/x-rtp, media=video,<br>
clock-rate=90000, encoding-name=RAW, sampling=YCbCr-4:2:0,<br>
</div>depth=(string)8, width=(string)448, height=(string)336,<br>
<div class="im">colorimetry=BT601-5, payload=96 ! rtpvrawdepay ! fakesink<br>
<br>
</div>Cheers<br>
 -Tim<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>