Skip to content

Node.js mjpeg streaming server for the Raspberry PI camera module

License

Notifications You must be signed in to change notification settings

s-h-x/raspberry-pi-mjpeg-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-pi-mjpeg-server

npm Linked In Twitter Follow

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)
  -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

About

Node.js mjpeg streaming server for the Raspberry PI camera module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%