3.0.3 • Published 5 years ago

screen-capture-recorder v3.0.3

Weekly downloads
8
License
ISC
Repository
github
Last release
5 years ago

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);
})();
3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.10.0

8 years ago

0.9.0

8 years ago