node-video-thumb
v1.0.11
Published
generate video thumb by ffmpeg
Downloads
32
Readme
node-video-thumb
generate video thumb by ffmpeg
Requirments
- ffmpeg
Installation
npm install --save node-video-thumb
Examples
const thumb = require('node-video-thumb')
const options = {
source: "/absolute/path/to/video",
target: "/absolute/path/to/target/thumb",
width: 100, // thumb's width
height: 50, // thumb's height
seconds: 1 // seconds from start
}
(async () => {
await thumb(options)
})()