Main Page | Modules | Data Structures | File List | Data Fields | Globals | Examples

libcmml Documentation

0.8.2

Introduction

libcmml is a library that provides a complete programming interface including functions, data structures, and sloppy or strict error handling to parse a XML file in CMML. CMML is the Continuous Media Markup Language defined as part of the Continuous Media Web project (see http://www.annodex.net/software/libcmml/).

libcmml also includes the following command-line tools:

Features of CMML

The version of CMML that this version of libcmml supports is CMML 2.0 . It has the following features:

To learn more about CMML and how to write a CMML file, check out the Modules documentation.

Compiling and Installing libcmml

libcmml is developed in C under Linux and OS X but is easily portable. A Visual C++ MS Windows port is included in the tarball.

libcmml uses expat for parsing XML. Get the appropriate version for your OS from http://expat.sourceforge.net/.

libcmml uses doxygen to create documentation and docbook to create manpages.

To install on Linux, OS X, and other Unix-like OSs run the usual configure, make, make install sequence. Full details in the INSTALL file.

To install on MS Windows you have the choice between a MS Visual Studio version 6 workspace file, a MS Visual Studio version 7 solution, and using nmake with the Win32/Makefile file. Full details in the README.win32 file.

Programming with libcmml

The libcmml API documentation can be found here. The API of libcmml is based on a convenient callback based framework for parsing CMML files. This enables activation of actions for the stream, head and clip tags while reading a CMML file. After opening a CMML file for reading, you attach callbacks to each of these types of tags. Then, as bytes are read, libcmml will call your callbacks as appropriate. Check out the code examples to gain a better understanding.

The CMML DTD

The DTD for CMML can be found here: here.

Licensing

libcmml is provided under the following BSD-style open source license:

Copyright (C) 2003 CSIRO Australia Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of the CSIRO nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00001 Copyright (C) 2003 CSIRO Australia 00002 00003 Redistribution and use in source and binary forms, with or without 00004 modification, are permitted provided that the following conditions 00005 are met: 00006 00007 - Redistributions of source code must retain the above copyright 00008 notice, this list of conditions and the following disclaimer. 00009 00010 - Redistributions in binary form must reproduce the above copyright 00011 notice, this list of conditions and the following disclaimer in the 00012 documentation and/or other materials provided with the distribution. 00013 00014 - Neither the name of the CSIRO nor the names of its 00015 contributors may be used to endorse or promote products derived from 00016 this software without specific prior written permission. 00017 00018 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00019 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00020 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 00021 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR 00022 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00023 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00024 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00025 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00026 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00027 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00028 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00029

Acknowledgements

Software was developed by CSIRO, Australia, Analytic Audio Systems research group in Division of Mathematical and Information Sciences, later Continuous Media Web research group in ICT Research Centre. (c) Copyright CSIRO 2002- Authors: Silvia Pfeiffer <Silvia.Pfeiffer@csiro.au> Conrad Parker <Conrad.Parker@csiro.au> Andre Pang <Andre.Pang@csiro.au> Contributions: Zen Kavanagh <Zen@illiminable.com> Andrew Nesbit <alnesbit@students.cs.mu.OZ.AU> Ben Leslie <benno@benno.id.au> Jamie Wilkinson <jaq@spacepants.org>
00001 Software was developed by CSIRO, Australia, 00002 Analytic Audio Systems research group in 00003 Division of Mathematical and Information Sciences, 00004 later Continuous Media Web research group in 00005 ICT Research Centre. 00006 (c) Copyright CSIRO 2002- 00007 00008 Authors: 00009 Silvia Pfeiffer <Silvia.Pfeiffer@csiro.au> 00010 Conrad Parker <Conrad.Parker@csiro.au> 00011 Andre Pang <Andre.Pang@csiro.au> 00012 00013 Contributions: 00014 Zen Kavanagh <Zen@illiminable.com> 00015 Andrew Nesbit <alnesbit@students.cs.mu.OZ.AU> 00016 Ben Leslie <benno@benno.id.au> 00017 Jamie Wilkinson <jaq@spacepants.org>

Generated on Fri Aug 13 21:53:11 2004 for libcmml by doxygen 1.3.7