Tree [93fbe8] default ocaml-flac-0.1.0 ocaml-schroedinger-0.1.0 ocaml-speex-0.2.0 ocaml-theora-0.3.0 ocaml-vorbis-0.6.0 / ocaml-vorbis /
 History



File Date Author Commit
 examples 2008-10-25 metamorph68@aec24677-d710-0410-a355-ac75e2bdf181 metamorph68@aec24677-d710-0410-a355-ac75e2bdf181 [f60997] Added header encoding with packet output for sp...
 src 2011-06-22 Romain Beauxis Romain Beauxis [8a446c] Fixed LS-537:
 CHANGES 2011-07-04 David Baelde David Baelde [93fbe8] Releasing flac, schroedinger, speex, theora and...
 COPYING 2008-10-15 smimram@aec24677-d710-0410-a355-ac75e2bdf181 smimram@aec24677-d710-0410-a355-ac75e2bdf181 [4d9d63] Here it is.
 Makefile 2011-07-04 David Baelde David Baelde [404716] Bump version number for liquidsoap (almost read...
 README 2008-10-15 smimram@aec24677-d710-0410-a355-ac75e2bdf181 smimram@aec24677-d710-0410-a355-ac75e2bdf181 [4d9d63] Here it is.
 bootstrap 2011-04-06 Romain Beauxis Romain Beauxis [5f390d] * Documented win32 port
 configure.ac 2011-06-22 Romain Beauxis Romain Beauxis [8a446c] Fixed LS-537:
 m4 2011-04-06 Romain Beauxis Romain Beauxis [5f390d] * Documented win32 port

Read Me

OCaml-vorbis - OCaml bindings for the libvorbis
======================================================

Authors: Samuel Mimram <samuel.mimram@ens-lyon.org>
	Julien Cristau <julien.cristau@ens-lyon.org>
Email: savonet-users@lists.sourceforge.net
Homepage: http://savonet.sourceforge.net/

Copyright (c) 2003-2006 the Savonet Team.

based on code from:
oggenc/oggdec, (c) 2000-2002 Michael Smith <msmith@labyrinth.net.au>
ices2, (c) 2001 Michael Smith <msmith@labyrinth.net.au>
These are released under the GPL.

Dependencies
============
To build this library you need to have OCaml 3.07 and ocaml-ogg bindings, libvorbis
and libvorbisfile libraries.


Installation
============
To compile the program type:

./configure
make

You can set specific build options with the configure script, see:
./configure --help

Then, to install it, type as root:

make install


Usage
=====
Here are the typical workflows.

Encoding
--------
1. Vorbis.Encoder.create / Vorbis.Encoder.create_vbr: create an encoder
2. Ogg.Stream.create: create an ogg stream
3. Vorbis.Encoder.headerout: output the ogg header
4. Ogg.Stream.flush: flush the ogg stream to ensure that the header will be on
   its own page
5. Vorbis.Encoder.encode_buffer_float: encode data
6. Ogg.Stream.pagesout: get the resulting ogg pages
7. goto 5
8. Vorbis.Encoder.end_of_stream: indicate that it is the end of the stream
9. Ogg.Stream.pagesout: get the last pages


License
=======
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.



The version of this README is:
$Id$

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks