<div>Hi ,</div>
<div> </div>
<div>Yes that's true that in PAUSE state itself sink element will have a buffer and this shows that pipeline is no more waiting for anything ( resources etc) , everything goes fine till this point and pipeline is ready to play. <br>
<br></div>
<div class="gmail_quote">On Tue, Jun 15, 2010 at 1:27 AM, Rad E. <span dir="ltr"><<a href="mailto:rad_e@rocketmail.com">rad_e@rocketmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<p><br></p>
<p>Hi,</p>
<p> </p>
<p>I'm running a pipeline fed by rtspsrc.<span> </span>The pipeline incorporates a GstTee/queues.</p>
<p> </p>
<p>Something like:</p>
<p>rtspsrc -> ... -> tee -> queue -> element -> sink</p>
<p><span> </span>-> queue -> element -> sink</p>
<p> </p>
<p>The rtspsrc documention suggests that it is a live source:</p>
<p>"rtspsrc acts like a live source and will therefore only generate data in the PLAYING state."</p>
<p> </p>
<p>An element downstream of the rtspsrc/tee/queue is receiving frames in the PAUSED state, immediately before the element is set to the PLAYING state.<span> </span>Is this normal, or is something incorrect with my pipeline that I should investigate further?</p>
<p> </p>
<p>Receiving the frames in the PAUSED state presents a problem.<span> </span>I would like to convert each buffer's pipeline timestamp to a system timestamp.<span> </span>So for instance if the frame was timestamped 0.25 seconds ago by rtspsrc, I'd like to generate a wall clock/system time of current time - 0.25 seconds.<span> </span>We achieved this using the element base src time, but that time isn't available in PAUSED state.</p>
<p> </p>
<p>I received a recommendation from IRC to use gst_element_query_position, but looking at the docs its not clear to me how to use that to make this work.<span> </span>Does anyone have ideas, either a way to work around the frames arriving in PAUSED, or a different way to calculate time?</p>
<p><br></p>
<p>Thanks<br></p>
<p> </p></td></tr></tbody></table><br><br>------------------------------------------------------------------------------<br>ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br><a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</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></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>