• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/H26-Mar-2021-59,96051,568

AUTHORSH A D26-Mar-202165 42

CHANGESH A D26-Mar-20217.1 KiB185150

COPYINGH A D26-Mar-20211.4 KiB2923

README.mdH A D26-Mar-20214.7 KiB14893

README.md

1# Vorbis
2
3[![GitLab Build Status](https://gitlab.xiph.org/xiph/vorbis/badges/master/pipeline.svg)](https://gitlab.xiph.org/xiph/vorbis/-/pipelines)
4[![Travis Build Status](https://travis-ci.org/xiph/vorbis.svg?branch=master)](https://travis-ci.org/xiph/vorbis)
5[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/github/xiph/vorbis?branch=master&svg=true)](https://ci.appveyor.com/project/rillian/vorbis)
6
7Vorbis is a general purpose audio and music encoding format
8contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
9MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
10proprietary formats such as RealAudio G2 and Windows' flavor of the
11month), the Vorbis CODEC specification belongs to the public domain.
12All the technical details are published and documented, and any
13software entity may make full use of the format without license
14fee, royalty or patent concerns.
15
16This package contains:
17
18- libvorbis, a BSD-style license software implementation of
19  the Vorbis specification by the Xiph.Org Foundation
20  (https://xiph.org/)
21
22- libvorbisfile, a BSD-style license convenience library
23  built on Vorbis designed to simplify common uses
24
25- libvorbisenc, a BSD-style license library that provides a simple,
26  programmatic encoding setup interface
27
28- example code making use of libogg, libvorbis, libvorbisfile and
29  libvorbisenc
30
31## What's here ##
32
33This source distribution includes libvorbis and an example
34encoder/player to demonstrate use of libvorbis as well as
35documentation on the Ogg Vorbis audio coding format.
36
37You'll need libogg (distributed separately) to compile this library.
38A more comprehensive set of utilities is available in the vorbis-tools
39package.
40
41Directory:
42
43- `lib` The source for the libraries, a BSD-license implementation of the public domain Ogg Vorbis audio encoding format.
44
45- `include` Library API headers
46
47- `debian` Rules/spec files for building Debian .deb packages
48
49- `doc` Vorbis documentation
50
51- `examples` Example code illustrating programmatic use of libvorbis, libvorbisfile and libvorbisenc
52
53- `macosx` Project files for MacOS X.
54
55- `win32` Win32 projects files and build automation
56
57- `vq` Internal utilities for training/building new LSP/residue and auxiliary codebooks.
58
59## Contact ##
60
61The Ogg homepage is located at 'https://xiph.org/ogg/'.
62Vorbis's homepage is located at 'https://xiph.org/vorbis/'.
63Up to date technical documents, contact information, source code and
64pre-built utilities may be found there.
65
66## Building ##
67
68#### Building from master ####
69
70Development source is under git revision control at
71https://gitlab.xiph.org/xiph/vorbis.git. You will also need the
72newest versions of autoconf, automake, libtool and pkg-config in
73order to compile Vorbis from development source. A configure script
74is provided for you in the source tarball distributions.
75
76    ./autogen.sh
77    ./configure
78    make
79
80and as root if desired:
81
82    make install
83
84This will install the Vorbis libraries (static and shared) into
85/usr/local/lib, includes into /usr/local/include and API manpages
86(once we write some) into /usr/local/man.
87
88Documentation building requires xsltproc and pdfxmltex.
89
90#### Building from tarball distributions ####
91
92    ./configure
93    make
94
95and optionally (as root):
96
97    make install
98
99#### Building RPM packages ####
100
101after normal configuring:
102
103    make dist
104    rpm -ta libvorbis-<version>.tar.gz
105
106## Building with CMake ##
107
108Ogg supports building using [CMake](https://cmake.org/). CMake is a meta build system that generates native projects for each platform.
109To generate projects just run cmake replacing `YOUR-PROJECT-GENERATOR` with a proper generator from a list [here](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html):
110
111    cmake -G YOUR-PROJECT-GENERATOR .
112
113Note that by default cmake generates projects that will build static libraries.
114To generate projects that will build dynamic library use `BUILD_SHARED_LIBS` option like this:
115
116    cmake -G YOUR-PROJECT-GENERATOR -DBUILD_SHARED_LIBS=1 .
117
118After projects are generated use them as usual
119
120#### Building on Windows ####
121
122Use proper generator for your Visual Studio version like:
123
124    cmake -G "Visual Studio 12 2013" .
125
126#### Building on Mac OS X ####
127
128Use Xcode generator. To build framework run:
129
130    cmake -G Xcode -DBUILD_FRAMEWORK=1 .
131
132#### Building on Linux ####
133
134Use Makefile generator which is default one.
135
136    cmake .
137    make
138
139## License ##
140
141THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.
142USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS
143GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE
144IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.
145
146THE OggVorbis SOURCE CODE IS COPYRIGHT (C) 1994-2020
147by the Xiph.Org Foundation https://xiph.org/
148