[vorbis-dev] WAV Header and Tagging

Shawn Pourchot ShawnP at SonicFoundry.com
Thu Aug 10 09:54:13 PDT 2000



Thanks for the reply, I have just recently started looking at Ogg streaming
and wasn't sure if there was yet another playlist file for them, glad there
isn't personally!  Are there any sites set up to stream Ogg?

Sorry about the confusion I was reading another thread on the discussion of
someone that was implementing an Ogg ACM.  In that case a FACT chunk makes
peoples lives easier.

OK, got another question.  OGG format has a limited form of tagging (looks
like a few comment fields).  Is there a standard for what information goes
there?  Can you just put and ID3V2 tag in there so a player can leverage all
the MP3 handlers?

Shawn Pourchot
Code Spelunker
Sonic Foundry
ShawnP at SonicFoundry.com

-----Original Message-----
From: Michael Smith [mailto:msmith at labyrinth.net.au]
Sent: Thursday, August 10, 2000 10:47 AM
To: vorbis-dev at xiph.org
Subject: RE: [vorbis-dev] WAV header (hey Mike)

On Fri, 11 Aug 2000 01:00:51 Shawn Pourchot wrote:
> People are allowed to use any arbitrary chunk.  Often "JUNK" is used to
pad
> out fields but never make an assumption that a chunk is in a fixed place
or
> that it exists (other then DATA).

Yeah. I've now rewritten the guilty code (but can't commit it. xiph.org is
having a bad day). It should now correctly deal with whatever other chunks
might be
lying around (but I haven't really tested it).

> 
> Also when you write out and ogg file please use the "FACT" chunk that
stores
> the number of samples in the original file.  

Not quite sure what you mean here - the vorbis file isn't wav encapsulated
(and
there's no sane reason for making it so), so there aren't any wav-style
chunks
at all. 

This was all in the context of reading in wav files for encoding (since
oggenc
was broken in this respect - I hadn't come across any files that it should
have
read that it didn't, but then someone found that their ripper produced some
sort
of padding chunk. So, this is now sanely ignored.

If you mean when decoding to a WAV file, then the FACT chunk isn't required
(since the output is just PCM), so I can't see why it would be useful.

> 
> On an unrelated note are there redirector files for Ogg streams? (i.e.
.pls,
> .m3u, .asx...)

Not specifically, but there's no reason that those existing ones wouldn't
work
for redirecting to a vorbis stream. I don't THINK there's anything terribly
format-specific in them.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list