0.0.9 • Published 3 years ago

frame-extractor v0.0.9

Weekly downloads
2
License
BSD
Repository
github
Last release
3 years ago

Modification of original old version of 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 frame-extractor
var frameExtractor = require('frame-extractor');
//frameExtractor.extractFrame(sourceFilePath, numOfFrames, frameNumber, outputPath);
frameExtractor.extractFrame('http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4', "50",120, 'frame%04d.jpg');

Test

  • Edit the test/index.js and set the frameNumber and frames you want
node test/index.js
0.0.9

3 years ago

0.0.8

5 years ago

0.0.6

5 years ago

0.0.7

7 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.1

7 years ago