How to set duration for VBR stream?

vijay pvijaii at
Tue Nov 8 08:44:08 PST 2011

   I am writing mp3 parser and decoder plugin.
In case of VBR stream if duration is not there in id3 how to set the

Do i need to parse the file till end of the stream and to calculate the
duration using average bit rate?


Can  we able to set the duration while playing by getting the bitrate for
each frame?

Vijay P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list