[gst-devel] pygst questions (tags, buffering)

Edward Hervey bilboed at gmail.com
Fri Nov 17 18:42:58 CET 2006


On 11/11/06, Morten O. Hansen <morteoh at chello.no> wrote:
> Hi there,
> I'm trying to create a small gst-based player in python (pygst,pygtk),
> and I'm currently streaming and playing a stream from the net (just a
> random one from shoutcast.com). That part works fine, but I'm
> interesting in two more things, how much of the stream has been buffered
> (so i can have a loader, before the music can be played), and also, if
> this a mp3-stream (or ogg), how can i get the tags?
> I'm currently using this pipeline :
> gnomevfssrc ! mad ! gconfaudiosink

  Use "gnomevfssrc ! decodebin ! gconfaudiosink" instead, this way it
will use the proper parsers/demuxers which will emit tags. You can get
the tags by listening for the GST_MESSAGE_TAG messages on the bus.


> Any suggestions would be appreciated!
> With regards, Morten O. Hansen
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

Edward Hervey
Multimedia editing developer / Fluendo S.A.

More information about the gstreamer-devel mailing list