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 [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> 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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: GStreamer already has a very well debugged and high quality mp3 _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |