Video Preview Buffer
The aim with this project is create a preview for a video. Be awere that this package uses node child process, therefore you will need to have installed ffmpeg in your OS.
Features
- This package recieves a file type video and returns an image type Buffer
Installation
npm i video-preview-buffer
Usage
const
Usage promise chaining
screenshot.then
Usage async/await
Inside of an async funciton
const previewImage = await screenshotconsole.log)