Re: How to get the actual bitrate?

Silvia Pfeiffer <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.vorbis.devel
Message-ID <[email protected]>
Where a file does not start at 0, you get the starting value out of
the skeleton, which you will have decoded already.

And .. yes, you need to look at the last page of every stream to get
the actual duration.

Cheers,
Silvia.

On Wed, Jan 27, 2010 at 9:34 AM, Geoff Shang <[email protected]> wrote:
> On Tue, 26 Jan 2010, Silvia Pfeiffer wrote:
>
>> You can seek to the last page, decode the granulepos and calculate the
>> duration from that.
>
> Is it not true that some files may not start at 0, in which case you'd
> need to get the starting value as well?
>
> Geoff.
>
> _______________________________________________
> Vorbis-dev mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/vorbis-dev
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.