README 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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-2007 *
  9. * by the Xiph.org Foundation, http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. Vorbis is a general purpose audio and music encoding format
  13. contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
  14. MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
  15. proprietary formats such as RealAudio G2 and Windows' flavor of the
  16. month), the Vorbis CODEC specification belongs to the public domain.
  17. All the technical details are published and documented, and any
  18. software entity may make full use of the format without license
  19. fee, royalty or patent concerns.
  20. This package contains:
  21. * libvorbis, a BSD-style license software implementation of
  22. the Vorbis specification by the Xiph.Org Foundation
  23. (http://www.xiph.org/)
  24. * libvorbisfile, a BSD-style license convenience library
  25. built on Vorbis designed to simplify common uses
  26. * libvorbisenc, a BSD-style license library that provides a simple,
  27. programmatic encoding setup interface
  28. * example code making use of libogg, libvorbis, libvorbisfile and
  29. libvorbisenc
  30. WHAT'S HERE:
  31. This source distribution includes libvorbis and an example
  32. encoder/player to demonstrate use of libvorbis as well as
  33. documentation on the Ogg Vorbis audio coding format.
  34. You'll need libogg (distributed separately) to compile this library.
  35. A more comprehensive set of utilities is available in the vorbis-tools
  36. package.
  37. Directory:
  38. ./lib The source for the libraries, a BSD-license implementation
  39. of the public domain Ogg Vorbis audio encoding format.
  40. ./include Library API headers
  41. ./debian Rules/spec files for building Debian .deb packages
  42. ./doc Vorbis documentation
  43. ./examples Example code illustrating programmatic use of libvorbis,
  44. libvorbisfile and libvorbisenc
  45. ./mac Codewarrior project files and build tweaks for MacOS.
  46. ./macosx Project files for MacOS X.
  47. ./win32 Win32 projects files and build automation
  48. ./vq Internal utilities for training/building new LSP/residue
  49. and auxiliary codebooks.
  50. CONTACT:
  51. The Ogg homepage is located at 'http://www.xiph.org/ogg/'.
  52. Vorbis's homepage is located at 'http://www.xiph.org/vorbis/'.
  53. Up to date technical documents, contact information, source code and
  54. pre-built utilities may be found there.
  55. The user website for Ogg Vorbis software and audio is http://vorbis.com/
  56. BUILDING FROM TRUNK:
  57. Development source is under subversion revision control at
  58. http://svn.xiph.org/trunk/vorbis/. You will also need the
  59. newest versions of autoconf, automake, and libtool in order
  60. to compile vorbis from development source. A configure script
  61. is provided for you in the source tarball distributions.
  62. [update or checkout latest source]
  63. ./autogen.sh
  64. make
  65. and as root if desired:
  66. make install
  67. This will install the vorbis libraries (static and shared) into
  68. /usr/local/lib, includes into /usr/local/include and API manpages
  69. (once we write some) into /usr/local/man.
  70. BUILDING FROM TARBALL DISTRIBUTIONS:
  71. ./configure
  72. make
  73. and optionally (as root):
  74. make install
  75. BUILDING RPMS:
  76. after normal configuring:
  77. make dist
  78. rpm -ta libvorbis-<version>.tar.gz
  79. BUILDING ON MACOS 9:
  80. Vorbis on MacOS 9 is built using Metroworks CodeWarrior. To build it,
  81. first verify that the Ogg libraries are already built following the
  82. instructions in the Ogg module README. Open vorbis/mac/libvorbis.mcp,
  83. switch to the "Targets" pane, select everything, and make the project.
  84. Do the same thing to build libvorbisenc.mcp, and libvorbisfile.mcp (in
  85. that order). In vorbis/mac/Output you will now have both debug and final
  86. versions of Vorbis shared libraries to link your projects against.
  87. To build a project using Ogg Vorbis, add access paths to your
  88. CodeWarrior project for the ogg/include, ogg/mac/Output,
  89. vorbis/include, and vorbis/mac/Output folders. Be sure that
  90. "interpret DOS and Unix paths" is turned on in your project; it can
  91. be found in the "access paths" pane in your project settings. Now
  92. simply add the shared libraries you need to your project (OggLib and
  93. VorbisLib at least) and #include "ogg/ogg.h" and "vorbis/codec.h"
  94. wherever you need to access Ogg and Vorbis functionality.