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

GitHub

View Github