rpm

raspberry-pi-mjpeg-server

Node.js module providing Motion JPEG access to the Raspberry PI camera module to enable video streaming via HTTP

Showing:

Popularity

Downloads/wk

22

GitHub Stars

42

Maintenance

Last Commit

1yr ago

Contributors

3

Package

Dependencies

4

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

raspberry-pi-mjpeg-server

npm Linked In

Node.js mjpeg streaming server to provide video like access to the Raspberry PI camera module

Installation

npm install raspberry-pi-mjpeg-server --save

Usage

$ node raspberry-pi-mjpeg-server.js -w 1280 -l 1024

Options

  -p, --port        port number (default 8080)
  -w, --width       image width (default 640)
  -l, --height      image height (default 480)
  -q, --quality     jpeg image quality from 0 to 100 (default 85)
  -s, --sharpness  Set image sharpness (-100 - 100)
  -c, --contrast   Set image contrast (-100 - 100)
  -b, --brightness Set image brightness (0 - 100) 0 is black, 100 is white
  -s, --saturation Set image saturation (-100 - 100)
  -t, --timeout     timeout in milliseconds between frames (default 500)
  -h, --help        display this help
  -v, --version     show version

Access the stream

Open your browser and visit:

http://rpi-ip-address:port

You can get direct access to the image (HTTP multipart document) via

http://rpi-ip-address:port/image.jpg

License

MIT License © 2016 John Doherty

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial