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

Bastien Nocera hadess at hadess.net
Thu Dec 17 12:15:38 CET 2009


On Thu, 2009-12-17 at 16:39 +0530, Jyoti wrote:
> I am writing an application where in I want to show the buffering
> status.
> Is it not possible to monitor the level of queue in an application?
> 
> My motto is to display the buffering status something as below.
<snip>
> I want to continuously show how much percent is been downloaded and
> how much is 
> remaining. And also I want to start the playback only after say 10% of
> the total data is 
> downloaded so as to get the uninterrupted playback.
> 
> Can you please suggest some ideas on this.

You need to use playbin2 for that, and use the DOWNLOAD tag on it. See
Totem in GNOME master for details on how it should be used.

Cheers





More information about the gstreamer-devel mailing list