1.4 KiB
1.4 KiB
EBML
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
example
var ebml = require('./index.js');
var fs = require('fs');
var 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)