How to set duration for VBR stream?

vijay pvijaii at gmail.com
Tue Nov 8 08:44:08 PST 2011


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

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

or

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

Regards,
Vijay P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111108/7ca0ebbd/attachment.htm>


More information about the gstreamer-devel mailing list