Thanks for the explanation Wim. I think I understand now.<br>Deeptendu<br>
<br><div><span class="gmail_quote">On 8/25/06, <b class="gmail_sendername">Wim Taymans</b> <<a href="mailto:wim@fluendo.com">wim@fluendo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2006-08-25 at 15:37 +0530, Deeptendu Bikash wrote:<br>> Hi,<br>><br>> This problem has been solved!<br>><br>> This was not a clock rate problem at all. After debugging, I found<br>> that the clock rate was being correctly set, after all.
<br><br>That subset error you get is pretty harmless and should be solved in<br>CVS, as well.<br><br>><br>> Setting the 'sync' property of the xvimagesink to false solved the<br>> problem!<br>><br>> Can anyone explain about the sync property and why setting it to false
<br>> caused the video to play smoothly?<br><br>rtspsrc acts as a live source (combining other UDP live sources,<br>actually) it however does not expose a clock with the rate at which it<br>produces data (yet), neither does it timestamp based on the pipeline
<br>clock. In short, timing is totally screwed and setting sync=false on the<br>sinks makes them play the data at the rate at which they receive it. The<br>skipping and wrong framerate you see is because the sinks try to<br>
synchronize the (wrong) buffer timestamps against the clock, this will<br>either result in a dropped frame (when it's too late) or in the display<br>of an emergency frame (when no frame has been played for 1 second, it<br>
displays whatever is gets regardless of timestamps so that the user at<br>least sees something).<br><br>Hope that helps,<br><br>Wim<br><br></blockquote></div><br>