README 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. ********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
  9. * by the XIPHOPHORUS Company http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. NEW AND IMPORTANT:
  13. If you're used to the source distribution from the first two beta
  14. releases, things are now rearranged a bit. Specifically, the
  15. 'vorbis' CVS module contains only the libvorbis, libvorbisfile, and
  16. libvorbisenc libraries. Because Ogg bitstreams are to be used by other
  17. Ogg codecs, Ogg framing and streaming functionality is now in libogg
  18. (the 'ogg' CVS module). Vorbis utilities are in 'vorbis-tools' and various
  19. player plugins are in 'vorbis-plugins'. For now, you'll need to check
  20. out these other modules seperately. (Note: the xmms plugin is in the xmms
  21. CVS tree in xmms/Input/vorbis.)
  22. Secondly, the Ogg/Vorbis build systems now use automake. Instead of
  23. './configure; make', the proper build sequence (in each module) is
  24. './autogen.sh; make'.
  25. You will also need the newest versions of autoconf, automake, and libtool
  26. in order to compile vorbis from CVS. configure scripts are provided for you
  27. in tarball distributions.
  28. WHAT'S HERE:
  29. This source distribution includes libvorbis and an example
  30. encoder/player to demonstrate use of libvorbis and documentation on
  31. the Ogg Vorbis audio coding format.
  32. Directory:
  33. ./lib The source for the libraries, a BSD-license implementation
  34. of the public domain Ogg Vorbis audio encoding format.
  35. ./include Library API headers
  36. ./debian Rules/spec files for building Debian .deb packages
  37. ./doc Vorbis documentation
  38. ./examples Example code illustrating programmatic use of libvorbis,
  39. libvorbisfile and libvorbisenc
  40. ./mac Codewarrior project files and build tweaks for MacOS.
  41. ./win32 Win32 projects files and build automation
  42. ./vq Internal utilities for training/building new LSP/residue
  43. and auxiliary codebooks.
  44. WHAT IS VORBIS:
  45. Vorbis is a general purpose audio and music encoding format
  46. contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
  47. MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
  48. proprietary formats such as RealAudio G2 and Windows' flavor of the
  49. month), the Vorbis CODEC specification belongs to the public domain.
  50. All the technical details are published and documented, and any
  51. software entity may make full use of the format without royalty or
  52. patent concerns.
  53. This package contains:
  54. .) libvorbis, a BSD-license software implementation of
  55. the Vorbis specification by the Xiphophorus company
  56. (http://www.xiph.org/)
  57. .) libvorbisfile, a BSD-license convenience library
  58. built on Vorbis designed to simplify common uses and a number of GPL
  59. example programs
  60. .) libvorbisenc, a BSD-license library that provides a simple, programmatic
  61. encoding setup interface
  62. .) example code making use of libogg, libvorbis, libvorbisfile and
  63. libvorbisenc
  64. CONTACT:
  65. The Ogg homepage is located at 'http://www.xiph.org/ogg/'.
  66. Vorbis's homepage is located at 'http://www.xiph.org/ogg/vorbis/'.
  67. Up to date technical documents, contact information, source code and
  68. pre-built utilities may be found there.
  69. BUILDING FROM CVS:
  70. ./autogen.sh
  71. make
  72. and as root if desired:
  73. make install
  74. This will install the vorbis libraries (static and shared) into
  75. /usr/local/lib, includes into /usr/local/include and API manpages
  76. (once we write some) into /usr/local/man.
  77. BUILDING FROM TARBALL DISTRIBUTIONS:
  78. ./configure
  79. make
  80. and optionally (as root):
  81. make install
  82. BUILDING RPMS:
  83. after normal configuring:
  84. make dist
  85. rpm -ta libvorbis-<version>.tar.gz
  86. BUILDING ON MACOS 9:
  87. Vorbis on MacOS 9 is built using CodeWarrior 5.3. To build it, first
  88. verify that the Ogg libraries are already built following the
  89. instructions in the Ogg module README. Open vorbis/mac/libvorbis.mcp,
  90. switch to the "Targets" pane, select everything, and make the project.
  91. Do the same thing to build libvorbisenc.mcp, and libvorbisfile.mcp (in
  92. that order). In vorbis/mac/Output you will now have both debug and final
  93. versions of Vorbis shared libraries to link your projects against.
  94. To build a project using Ogg Vorbis, add access paths to your
  95. CodeWarrior project for the ogg/include, ogg/mac/Output,
  96. vorbis/include, and vorbis/mac/Output folders. Be sure that
  97. "interpret DOS and Unix paths" is turned on in your project; it can
  98. be found in the "access paths" pane in your project settings. Now
  99. simply add the shared libraries you need to your project (OggLib and
  100. VorbisLib at least) and #include "ogg/ogg.h" and "vorbis/codec.h"
  101. wherever you need to access Ogg and Vorbis functionality.
  102. $Id: README,v 1.11 2001/03/22 01:33:20 segher Exp $