video-frame-extractor

0.1.1 • Public • Published

Video Frame Extractor

This library extracts frames from a video file using ffmpeg and saves the file to disk.

Dependencies

  • Mediainfo
  • ffmpeg

Usage

The output path is the path and the filename where the image should be stored on disk

npm install --save video-frame-extractor

var videoFrameExtractor = require('video-frame-extractor');

videoFrameExtractor.extractFrame(sourceFilePath, time, frameNumber, outputPath);

Test

  • Add a video file to test/fixtures
  • Edit the test/index.js and set the time and frames you want
node test/index.js

Readme

Keywords

Package Sidebar

Install

npm i video-frame-extractor

Weekly Downloads

1

Version

0.1.1

License

BSD

Last publish

Collaborators

  • ikhasi