<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">Hi,</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">&nbsp;</font></span></p>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">This problem has been solved!</font></span></div>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2"></font></span>&nbsp;</div>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">This was not a clock rate problem at all. After debugging, I found that the clock rate was being correctly set, after all.
</font></span></div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">&nbsp;</font></span></p>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">Setting the 'sync' property of the xvimagesink to false solved the problem!&nbsp;</font></span></div>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"></span>&nbsp;</div>
<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font size="2"><span style="FONT-FAMILY: Arial">Can anyone explain about the sync property and why setting it to false caused the video to play smoothly?</span></font></div>

<div class="MsoNormal" style="MARGIN: 0in 0in 0pt"><font size="2"><span style="FONT-FAMILY: Arial"></span><span style="FONT-FAMILY: Arial">&nbsp;</span></font></div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">Regards,</font></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="FONT-FAMILY: Arial"><font size="2">Deeptendu </font></span></p><br><br>
<div><span class="gmail_quote">On 8/25/06, <b class="gmail_sendername">Deeptendu Bikash</b> &lt;<a href="mailto:dbikash@gmail.com">dbikash@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>The same problem is happening even with mpeg4 video (MP4V-ES). If the clock rate is different from 90000 it does not play correctly. Any help out there?</div>
<div><span class="e" id="q_10d43e3561b50234_1"><br><br>
<div><span class="gmail_quote">On 8/23/06, <b class="gmail_sendername">Deeptendu Bikash</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:dbikash@gmail.com" target="_blank">dbikash@gmail.com</a>
&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hello,<br><br>I am trying to stream H.263 video whose clock rate is different from 90000. In such a case gst-launch rtspsrc location=&lt;RTSP URL&gt; ! rtph263pdepay ! ffdec_h263 ! ximagesink does not work, with the warning: &quot;pad rtpdec0:sinkrtp returned caps that are not a real subset of its template caps&quot;. 
<br><br>However, if I go and change the clock rate from 90000 to the range [1, 2147483647] in gst_rtp_h263p_depay_sink_template (gstrtph263pdepay.c), and rebuild and reinstall the gst-plugins-good-0.10.3, the video plays, but not at the correct rate. Where is the correct place in the code to set the clock rate from the SDP? (I can see that gst_rtp_h263p_depay_setcaps() can actually set the caps, and gst_rtspsrc_media_to_caps() can convert the SDP to caps, but how should I link all these to make the thing work, either by changing existing plugin code, or in the gst-launch command line?)
<br><br>Thanks,<br>&nbsp;</div>
<div><span>Deeptendu<br></span></div></blockquote></div><br></span></div></blockquote></div><br>