Skip to content

BelirafoN/mjpeg-frame-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MJPEG Frame Stream

This is a transform stream for MJPEG streams or any jpeg-streams.

Install

$ npm i mjpeg-frame-stream

Usage

const MjpegFrameStream = require('mjpeg-frame-stream');
const fs = require('fs');

let mgpegStream = fs.createReadStream('./mjpeg.dump'),
    frameStream = new MjpegFrameStream();

mgpegStream.pipe(frameStream)
    .on('frame', frame => console.log(frame));

License

Licensed under the MIT License

About

MJPEG frame stream for NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published