Hi Michael Smith,<br> I have to develop parser and decoder aac also and i need to play the files in movie player.<br>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.<br>
Thats i have a confusion like when to update the duration for VBR streams.<br><br>Regards,<br>Vijay P<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 4:13 AM, Michael Smith <span dir="ltr"><<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">GStreamer already has a very well debugged and high quality mp3<br>
parser. You should use that.<br>
<br>
If you have a reason to use a separate decoder, then that's fine - but<br>
don't rewrite the parser.<br>
<br>
Mike<br>
<div><div class="h5"><br>
<br>
On Tue, Nov 8, 2011 at 8:44 AM, vijay <<a href="mailto:pvijaii@gmail.com">pvijaii@gmail.com</a>> wrote:<br>
> Hi,<br>
> I am writing mp3 parser and decoder plugin.<br>
> In case of VBR stream if duration is not there in id3 how to set the<br>
> duration<br>
><br>
> Do i need to parse the file till end of the stream and to calculate the<br>
> duration using average bit rate?<br>
><br>
> or<br>
><br>
> Can we able to set the duration while playing by getting the bitrate for<br>
> each frame?<br>
><br>
> Regards,<br>
> Vijay P<br>
><br>
</div></div>> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>