How to set duration for VBR stream?
Michael Smith
msmith at xiph.org
Tue Nov 8 14:43:56 PST 2011
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
>
>
More information about the gstreamer-devel
mailing list