Skip to content

necccc/iso-bmff-parser-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iso-bmff-parser-stream

Parse an ISO BMFF using nodejs

Returns a structured javascript object of iso-bmff boxes

work in progress

usage

var chunkFile = './media/audio.m4s'

var fs = require('fs');
var isoBmff = require('../index.js');

var chunkStream = fs.createReadStream(chunkFile, {
	flags: 'r',
	encoding: null,
	fd: null,
	mode: 0666,
	autoClose: true
});

var unboxing = new isoBmff(function (err, data) {
	console.log(data.root.moof.traf );
})


chunkStream
	.pipe(unboxing);

About

Parse an ISO BMFF using nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published