video-thumbnails
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Video Thumbnails

npm version

Get thumbnail images from any public video URL.

Features

  • 🕑 Take thumbnails from any second of the video (default = 1s)
  • 🌀 Typescript types
  • Fast & easy to use
  • 📹 Uses ffmpeg to process video

Install

npm i video-thumbnails --save

Usage

import { getVideoThumbnail } from 'video-thumbnails'

const videoURL = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'
const thumbnail = await getVideoThumbnail(videoURL)

// { ok: true, buffer: <Buffer 89 50...> }

Readme

Keywords

Package Sidebar

Install

npm i video-thumbnails

Weekly Downloads

44

Version

1.0.3

License

ISC

Unpacked Size

5.37 kB

Total Files

4

Last publish

Collaborators

  • tim103