ogg.js
v0.1.0
Published
An Ogg demuxer for aurora.js
Downloads
106
Readme
ogg.js
An Ogg demuxer for Aurora.js, compiled with Emscripten.
Usage
ogg.js isn't very useful without some plugins. Some examples of audio formats that can be stored in an Ogg container include:
If you're using ogg.js and its associated codecs in a browser, you should either build your application
with Browserify or include the prebuilt versions of aurora.js, ogg.js and the codecs you want to support
in your HTML page as <script>
tags.
If you're using Node, you can simply require av
, ogg.js
, and the codecs you want to use.
Building from source
- Install Emscripten.
- Clone git submodules
- Run
npm install
to install dependencies - Run
make libogg
to configure and build libogg and the C wrapper. Run this again whenever you make changes to the C wrapper or a new version of libogg is released. - Run
make browser
to generate a browser version of ogg.js, or use browserify to build your application.
License
libogg is available under its existing license, and the JavaScript and C wrapper code in this repo for Aurora.js is licensed under MIT.