
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
videoproc-grayscale
Advanced tools
A simple grayscale filter for use with the videoproc module.
The following example can be run using
beefy (beefy example.js):
var getUserMedia = require('getusermedia');
var attachmedia = require('attachmediastream');
var videoproc = require('videoproc');
var crel = require('crel');
var canvas = crel('canvas');
var vid;
getUserMedia({ audio: true, video: true }, function(err, stream) {
if (err) {
return console.error('Could not capture media: ', err);
}
videoproc(attachmedia(stream, null, { muted: true }), canvas, {
filters: [
require('videoproc-grayscale')
]
});
});
document.body.appendChild(canvas);
Copyright (c) 2015, Damon Oehlman damon.oehlman@gmail.com
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
FAQs
Grayscale video processing filter for videoproc
The npm package videoproc-grayscale receives a total of 0 weekly downloads. As such, videoproc-grayscale popularity was classified as not popular.
We found that videoproc-grayscale demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.