[vorbis-dev] audio/vorbis media type registration

rillian rillian at telus.net
Tue May 15 16:00:21 PDT 2001



On Tuesday, May 15, 2001, at 03:33 , Chris Hanson wrote:

> I asked a while ago whether Ogg can support QuickTime-like abstraction 
> or whether it's joined at the hip to its CODECs.  From your statements, 
> it sounds like the latter is the case.  In other words, I can't open an 
> arbitrary Ogg file, find all its audio tracks, and manipulate or play 
> them *without* having to know in advance that they're Vorbis tracks (or 
> that Vorbis tracks are audio tracks, as are Squish tracks, as are raw 
> PCM tracks, as are...).

I'm not sure what you mean about capabilities like this being part of 
the file format, but ogg has no required codec or mediatype directory. 
Basically it reads the multiplexed bitstream and outputs data packets 
marked as part of a particular logical substream with a particular 
'granulepos' (which corresponds to sample number for audio). It's up to 
the application to identify and use appropriately the contents of those 
data packets.

Which is not to say that we can't have an api that takes care of that 
for you. That's more or less what libvorbisfile is for.

  -r

--- >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-dev-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-dev mailing list