[vorbis] Using oggenc

Ti Kan ti at amb.org
Wed Jun 25 22:51:06 PDT 2003

Santosh Chandwani writes:
> Actually, audio CD's do have a file format. Each track is burned as a
> *.cda file. There are restrictions on publishing/disclosing the format
> in order to discourage piracy and copyright violations. If oggenc does
> not recognize the .cda then ripping to .wav with another tool and then
> encoding should work...=20

That is incorrect, Santosh.  There is no such thing as a .cda file.
Under M$ Windows, the windows explorer displays audio tracks as such
files only for your "convenience".  They are only illusions.  The data
is not recorded in a ".cda" format on CD.

On the CD, it is simply recorded as a stream of *raw*, headerless
PCM 16-bit interleaved stereo data, with some additional per-frame info.
There is also a TOC (table of contents) section in the beginning
of the CD that describes the starting and ending track numbers and
the starting locations of each, plus some other sundry info.

When ripping a CD, the software invokes the appropriate low level SCSI
or ATAPI commands to read the raw audio data stream from the CD.  It
then writes the data to a file on disk, adding whatever header that is
appropriate for the user's intended output file format, or perform
encoding to compressed formats such as MP3 or Ogg Vorbis.

-Ti (author of xmcd)

    ///  Ti Kan                Vorsprung durch Technik
   ///   AMB Laboratories, Sunnyvale, CA. USA
  ///    ti at amb.org
 //////  http://www.amb.org/ti/

--- >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