Socket
Book a DemoInstallSign in
Socket

raspivid-jpeg-stream

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raspivid-jpeg-stream

Connect to your Raspberry Pi camera and receive a stream of JPEG frames

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

raspivid-jpeg-stream

NPM Version Dependency Status NPM Downloads

A read stream for jpeg data from the Raspberry Pi camera module. Uses the raspivid node module for interfacing with the official raspivid cli.

Installation

npm install raspivid-jpeg-stream

Usage

const RaspividJpegStream = require('raspivid-jpeg-stream')

const camera = new RaspividJpegStream({
    // defaults
    'width': 640,
    'height': 480,
    'timeout': 0,
    'framerate': 24
})

camera.pipe(...)

camera.on('data', function(frame) {
    ...
})

Options

See the official documentation for more options: https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

Alternatively, consult the CLI:

raspivid --help

License

MIT

Keywords

raspberry

FAQs

Package last updated on 08 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts