README 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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-2011 *
  9. * by the Xiph.Org Foundation http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. = WHAT'S HERE =
  13. This source distribution includes libogg and nothing else. Other modules
  14. (eg, the modules libvorbis, vorbis-tools for the Vorbis music codec,
  15. libtheora for the Theora video codec) contain the codec libraries for
  16. use with Ogg bitstreams.
  17. Directory:
  18. ./src The source for libogg, a BSD-license inplementation of
  19. the public domain Ogg bitstream format
  20. ./include Library API headers
  21. ./doc Ogg specification and libogg API documents
  22. ./win32 Win32 projects and build automation
  23. ./macosx Mac OS X project and build files
  24. = WHAT IS OGG? =
  25. Ogg project codecs use the Ogg bitstream format to arrange the raw,
  26. compressed bitstream into a more robust, useful form. For example,
  27. the Ogg bitstream makes seeking, time stamping and error recovery
  28. possible, as well as mixing several sepearate, concurrent media
  29. streams into a single physical bitstream.
  30. = CONTACT =
  31. The Ogg homepage is located at 'https://www.xiph.org/ogg/'.
  32. Up to date technical documents, contact information, source code and
  33. pre-built utilities may be found there.
  34. BUILDING FROM TARBALL DISTRIBUTIONS:
  35. ./configure
  36. make
  37. and optionally (as root):
  38. make install
  39. This will install the Ogg libraries (static and shared) into
  40. /usr/local/lib, includes into /usr/local/include and API
  41. documentation into /usr/local/share/doc.
  42. BUILDING FROM REPOSITORY SOURCE:
  43. A standard svn build should consist of nothing more than:
  44. ./autogen.sh
  45. make
  46. and as root if desired :
  47. make install
  48. BUILDING ON WIN32:
  49. Use the project file in the win32 directory. It should compile out of the box.
  50. CROSS COMPILING FROM LINUX TO WIN32:
  51. It is also possible to cross compile from Linux to windows using the MinGW
  52. cross tools and even to run the test suite under Wine, the Linux/*nix
  53. windows emulator.
  54. On Debian and Ubuntu systems, these cross compiler tools can be installed
  55. by doing:
  56. sudo apt-get mingw32 mingw32-binutils mingw32-runtime wine
  57. Once these tools are installed its possible to compile and test by
  58. executing the following commands, or something similar depending on
  59. your system:
  60. ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
  61. --build=i586-linux
  62. make
  63. make check
  64. (Build instructions for Ogg codecs such as vorbis are similar and may
  65. be found in those source modules' README files)
  66. $Id$