[ogg-dev] Could any one suggest me in how to get the duration of an Ogg File

Michael Smith msmith at xiph.org
Thu Oct 6 02:01:49 PDT 2005


On 10/6/05, rajeev nair <rajsrs_20 at yahoo.co.in> wrote:
> Hello guys,
>
> Could I get an insight on this
>
> can the OggVorbis cope with changing SampleRate mid stream ?

Yes.

You can start a new logical stream (a new 'chain' to use the spec's
terminology), which will contain a new set of headers. It's perfectly
legal for this to contain a different sample rate.

Mike


More information about the ogg-dev mailing list