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...> }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    135
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    135
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i video-thumbnails

Weekly Downloads

135

Version

1.0.3

License

ISC

Unpacked Size

5.37 kB

Total Files

4

Last publish

Collaborators

  • tim103