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> | |<------------------------ <b>Total Duration</b> ------------------------>| |<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"><<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>></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>
> Thanks for the reply Wim.<br>
> I am actually looking out to get the buffering status for http uri.<br>
> I want to display the the current buffering level in percentage.<br>
> Based on the status I wanna show the buffering status over GUI.<br>
><br>
> Now coming to playbin, how is the monitoring carried out for the fill<br>
> level of queues?<br>
<br>
</div>In a very bad way, don't try to do this. It's better to use the method<br>
used in playbin2. Simply put queue2 between the source and the demuxer,<br>
you'll see buffering messages being posted.<br>
<font color="#888888"><br>
Wim<br>
</font><div><div></div><div class="h5"><br>
><br>
> Jyoti<br>
><br>
> On Thu, Dec 17, 2009 at 3:43 PM, Wim Taymans <<a href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>><br>
> wrote:<br>
> On Thu, 2009-12-17 at 14:49 +0530, Jyoti wrote:<br>
> > Hi All,<br>
> ><br>
> > Can someone comment on methodology to detect buffering used<br>
> in<br>
> > gstplaybasebin.c..<br>
><br>
><br>
> Queues are put after the decoders and the fill level of those<br>
> queues is<br>
> monitored. Buffering messages are posted on the bus with the<br>
> fill<br>
> percentage. The buffering is only activated for a select<br>
> number of uris,<br>
> like http and mms. Not sure what you are asking for.<br>
><br>
> Wim<br>
><br>
><br>
> ><br>
> > Thanks,<br>
> > Jyoti<br>
> ><br>
> ><br>
> ------------------------------------------------------------------------------<br>
> > This SF.Net email is sponsored by the Verizon Developer<br>
> Community<br>
> > Take advantage of Verizon's best-in-class app development<br>
> support<br>
> > A streamlined, 14 day to market process makes app<br>
> distribution fast and easy<br>
> > Join now and get one step closer to millions of Verizon<br>
> 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>
><br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Verizon Developer<br>
> Community<br>
> Take advantage of Verizon's best-in-class app development<br>
> support<br>
> A streamlined, 14 day to market process makes app distribution<br>
> fast and easy<br>
> Join now and get one step closer to millions of Verizon<br>
> 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>
><br>
> ------------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Verizon Developer Community<br>
> Take advantage of Verizon'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>
> _______________________________________________ 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'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>