How to set duration for VBR stream?
pvijaii at gmail.com
Thu Nov 10 10:11:17 PST 2011
Hi Michael Smith,
I have to develop parser and decoder aac also and i need to play the
files in movie player.
In movie player query duration is getting called frequent so if i update
the duration during playing the file , total duration will be changing when
Thats i have a confusion like when to update the duration for VBR streams.
On Wed, Nov 9, 2011 at 4:13 AM, Michael Smith <msmith at xiph.org> wrote:
> GStreamer already has a very well debugged and high quality mp3
> parser. You should use that.
> If you have a reason to use a separate decoder, then that's fine - but
> don't rewrite the parser.
> On Tue, Nov 8, 2011 at 8:44 AM, vijay <pvijaii at gmail.com> wrote:
> > 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
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel