How to set duration for VBR stream?
vijay
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
bitrate changes.
Thats i have a confusion like when to update the duration for VBR streams.
Regards,
Vijay P
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.
>
> Mike
>
>
> 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
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111110/bc2819f8/attachment.htm>
More information about the gstreamer-devel
mailing list