[vorbis] Location of fileinfo

Michael Smith msmith at xiph.org
Mon Jan 20 14:53:35 PST 2003



On Tuesday 21 January 2003 04:30, Danny Keff wrote:
> hello there,
>
> I just started using ogg files. And want to thank you all for this new
> format.
>
> I have written an addon for mirc (chatclient for irc chat networks) to
> play and exchange soundfiles and I am almost done with implementing the
> ogg vorbis format into this application.
>
> The mirc-scriptinglanguage provides me a command to read a specified
> number of bytes starting at a specified location of any file. It is this
>
> command I have used to extract bitrate and frequency information from
> wave-files.
>
> I would like to do the same on ogg-files but I don´t know where to look
> for that information in ogg-files.
>
> My question: Could you please tell me how many bytes have been reserved
> for nominal bitrate information and on what location this packet of
> bytes starts? And the same for the frequency (khz) of the ogg-files.
>
> Thanks a lot in advance,
>
> Kind regards,
>
> Danny Keff

There's extensive file format documentation for vorbis on the website. You 
should read through that. For the things you want, the information is at 
fixed offsets, so it's reasonably easy to find out.

Mike

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list