/node-ebml

EBML parser

Primary LanguageJavaScriptMIT LicenseMIT

EBML Build Status NPM

EBML stands for Extensible Binary Meta-Language and is some what of a binary version of XML. It's used for container formats like webm or mkv

install

npm install ebml --save

example

const ebml = require('./index.js');
const fs = require('fs');

const decoder = new ebml.Decoder();

decoder.on('data', function(chunk) {
    console.log(chunk);
});

fs.readFile('media/test.webm', function(err, data) {
    if (err)
        throw err;
    decoder.write(data);
});

state of this project

Parsing should work. If it doesn't, please create an issue.

Thanks to @chrisprice we got an encoder!

license

MIT

contributors

(in alphabetical order)