[gst-devel] how is buffering percentage implemented in playbin

Wim Taymans wim.taymans at gmail.com
Thu Dec 17 11:29:53 CET 2009


On Thu, 2009-12-17 at 15:54 +0530, Jyoti wrote:
> Thanks for the reply Wim. 
> I am actually looking out to get the buffering status for http uri.
> I want to display the the current buffering level in percentage.
> Based on the status I wanna show the buffering status over GUI.
> 
> Now coming to playbin, how is the monitoring carried out for the fill
> level of queues?

In a very bad way, don't try to do this. It's better to use the method
used in playbin2. Simply put queue2 between the source and the demuxer,
you'll see buffering messages being posted.

Wim

> 
> Jyoti
> 
> On Thu, Dec 17, 2009 at 3:43 PM, Wim Taymans <wim.taymans at gmail.com>
> wrote:
>         On Thu, 2009-12-17 at 14:49 +0530, Jyoti wrote:
>         > Hi All,
>         >
>         > Can someone comment on methodology to detect buffering used
>         in
>         > gstplaybasebin.c..
>         
>         
>         Queues are put after the decoders and the fill level of those
>         queues is
>         monitored. Buffering messages are posted on the bus with the
>         fill
>         percentage. The buffering is only activated for a select
>         number of uris,
>         like http and mms. Not sure what you are asking for.
>         
>         Wim
>         
>         
>         >
>         > Thanks,
>         > Jyoti
>         >
>         >
>         ------------------------------------------------------------------------------
>         > This SF.Net email is sponsored by the Verizon Developer
>         Community
>         > Take advantage of Verizon's best-in-class app development
>         support
>         > A streamlined, 14 day to market process makes app
>         distribution fast and easy
>         > Join now and get one step closer to millions of Verizon
>         customers
>         > http://p.sf.net/sfu/verizon-dev2dev
>         > _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>         
>         
>         
>         ------------------------------------------------------------------------------
>         This SF.Net email is sponsored by the Verizon Developer
>         Community
>         Take advantage of Verizon's best-in-class app development
>         support
>         A streamlined, 14 day to market process makes app distribution
>         fast and easy
>         Join now and get one step closer to millions of Verizon
>         customers
>         http://p.sf.net/sfu/verizon-dev2dev
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel






More information about the gstreamer-devel mailing list