screen-capture-recorder
Capture a video of your desktop screen
Last updated a year ago by frodon .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install screen-capture-recorder 
SYNC missed versions from official npm registry.

Motivation

Build Status Version License Available platform

Screen recorder is a wrapper around VLC desktop screen recording capability with a very simple API.

Capture codec is optimized to VLC real time capture best setting (ogg/theo, hight bitrate). Feel free to transcode/re-encode as please you afterward.

Note

ffmpeg can also grab desktop, yet, we prefer a minimal (bundled) VLC for its ability to expose a telnet/rc interface and start capture very quickly (as the VLC process is already running in the background).

Installation

npm install screen-capture-recorder

API

'use strict';

const {vlc : Recorder} = require('./'); //you can also use {ffmpeg : Recorder}
const sleep = require('nyks/function/sleep');

(async() => {

  const scene = new Recorder( {x : 0, y : 0 , w : 640 , h : 480} );
  await scene.warmup();
  await scene.StartRecord();
  await sleep(5000);
  const moviePath = await scene.StopRecord();
  console.log(moviePath);
})();


Current Tags

  • 3.0.3                                ...           latest (a year ago)

11 Versions

  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
  • 0.10.0                                ...           5 years ago
  • 0.9.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |