I am writing an application where in I want to show the buffering status.<br>Is it not possible to monitor the level of queue in an application?<br><br>My motto is to display the buffering status something as below.<br><br>
+--------------------------------------------------------------------------------- +<br><b> </b>|<b>                          <i>Buffering Progress Bar</i></b>                                          |<br> |                                                                                                       |<br>
 |    |<b><font size="2">=======</font></b>|...........|...........|...........|...........|...........|...........|...........|...........|          |<br> |    0      10     20     30     40      50    60     70     80     90    100      |<br>
<i><b> </b>| <b>   20% complete                                                                             </b>|</i><br> |     |&lt;------------------------  <b>Total Duration</b> ------------------------&gt;|     |<br> |                                                                                                       |<br>
+----------------------------------------------------------------------------------+<br><br><br>I want to continuously show how much percent is been downloaded and how much is <br>remaining. And also I want to start the playback only after say 10% of the total data is <br>
downloaded so as to get the uninterrupted playback.<br><br>Can you please suggest some ideas on this.<br><br>Thanks,<br>Jyoti<br><br><br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Thu, Dec 17, 2009 at 3:59 PM, Wim Taymans <span dir="ltr">&lt;<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, 2009-12-17 at 15:54 +0530, Jyoti wrote:<br>
&gt; Thanks for the reply Wim.<br>
&gt; I am actually looking out to get the buffering status for http uri.<br>
&gt; I want to display the the current buffering level in percentage.<br>
&gt; Based on the status I wanna show the buffering status over GUI.<br>
&gt;<br>
&gt; Now coming to playbin, how is the monitoring carried out for the fill<br>
&gt; level of queues?<br>
<br>
</div>In a very bad way, don&#39;t try to do this. It&#39;s better to use the method<br>
used in playbin2. Simply put queue2 between the source and the demuxer,<br>
you&#39;ll see buffering messages being posted.<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div class="h5"><br>
&gt;<br>
&gt; Jyoti<br>
&gt;<br>
&gt; On Thu, Dec 17, 2009 at 3:43 PM, Wim Taymans &lt;<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Thu, 2009-12-17 at 14:49 +0530, Jyoti wrote:<br>
&gt;         &gt; Hi All,<br>
&gt;         &gt;<br>
&gt;         &gt; Can someone comment on methodology to detect buffering used<br>
&gt;         in<br>
&gt;         &gt; gstplaybasebin.c..<br>
&gt;<br>
&gt;<br>
&gt;         Queues are put after the decoders and the fill level of those<br>
&gt;         queues is<br>
&gt;         monitored. Buffering messages are posted on the bus with the<br>
&gt;         fill<br>
&gt;         percentage. The buffering is only activated for a select<br>
&gt;         number of uris,<br>
&gt;         like http and mms. Not sure what you are asking for.<br>
&gt;<br>
&gt;         Wim<br>
&gt;<br>
&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; Thanks,<br>
&gt;         &gt; Jyoti<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;         &gt; This SF.Net email is sponsored by the Verizon Developer<br>
&gt;         Community<br>
&gt;         &gt; Take advantage of Verizon&#39;s best-in-class app development<br>
&gt;         support<br>
&gt;         &gt; A streamlined, 14 day to market process makes app<br>
&gt;         distribution fast and easy<br>
&gt;         &gt; Join now and get one step closer to millions of Verizon<br>
&gt;         customers<br>
&gt;         &gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt;         &gt; _______________________________________________<br>
&gt;         gstreamer-devel mailing list<br>
&gt;         <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;         <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;         This SF.Net email is sponsored by the Verizon Developer<br>
&gt;         Community<br>
&gt;         Take advantage of Verizon&#39;s best-in-class app development<br>
&gt;         support<br>
&gt;         A streamlined, 14 day to market process makes app distribution<br>
&gt;         fast and easy<br>
&gt;         Join now and get one step closer to millions of Verizon<br>
&gt;         customers<br>
&gt;         <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt;         _______________________________________________<br>
&gt;         gstreamer-devel mailing list<br>
&gt;         <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;         <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Verizon Developer Community<br>
&gt; Take advantage of Verizon&#39;s best-in-class app development support<br>
&gt; A streamlined, 14 day to market process makes app distribution fast and easy<br>
&gt; Join now and get one step closer to millions of Verizon customers<br>
&gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt; _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <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>
This SF.Net email is sponsored by the Verizon Developer Community<br>
Take advantage of Verizon&#39;s best-in-class app development support<br>
A streamlined, 14 day to market process makes app distribution fast and easy<br>
Join now and get one step closer to millions of Verizon customers<br>
<a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</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>