New: a free Thumbnail Sprite & VTT Generator for seek bar previews

Today we’re releasing a new free tool: the Thumbnail Sprite & VTT Generator. Choose a video, and it makes the small preview pictures that appear when viewers hover your player’s progress bar, plus the WebVTT file that tells the player which picture to show when.

It’s free, needs no account, and your video never leaves your computer.

Why we built it

Preview thumbnails help viewers find the moment they want without jumping back and forth. Most web players can show them: Fluid Player, Video.js, Plyr, JW Player and many more read the same kind of files. But while every player explains how to load those files, almost none explains how to make them.

Until now, you had two options. A video platform such as Mux or JW Player makes them for you, but only for videos you host there. Or you install ffmpeg, find the right command, and write a script for the WebVTT file, then fix it when the thumbnails don’t match the time. We wanted a third option: pick a file, check the result, download.

How it works

  1. Choose your video, or drop it on the page. Any video your browser can play works: MP4 and WebM everywhere, MOV with H.264 in most cases. No video at hand? Click Try the demo video.
  2. Check the thumbnails. The generator takes a picture every few seconds and plays your video in Fluid Player with the thumbnails already working. Hover the progress bar to see them.
  3. Download the files: a ZIP with the sprite images and the VTT file, ready to put on your server.

The Thumbnail Sprite Generator with the demo video loaded: Fluid Player shows a preview thumbnail over its progress bar, beside the video’s length, picture size, number of thumbnails, thumbnail size, images and total size

A 53-second clip takes about a second. A 30-minute 720p video took 12.5 seconds in our tests on a laptop.

Settings that update the result straight away

The settings sit on one line above the player. Rest the mouse on a setting’s name to see what it does and which value to pick.

  • Every: how often to take a picture. Auto adapts it to the video’s length, from every second for a short clip to every 20 seconds for a film.
  • Width: the thumbnail size in pixels. 160 px suits most players; the height follows your video’s shape.
  • Per image: how many thumbnails go into each sprite image. Long videos get several images, so no single file grows too heavy for phones.
  • Format and quality: JPG at 70 % is a good default. WebP was about 15 % smaller on our demo video.
  • Image address: leave it empty if the images sit next to the VTT file, or type their folder if they live elsewhere, such as on a CDN.

Every change updates the preview, the files and the code at once. The generator only redoes the work a setting needs: a new interval means new pictures, a new quality only new images.

The Images tab of the generator: one sprite image holding the demo video’s 53 thumbnails in rows of ten, with its file name, size and a download link

Four players, one set of files

The files follow the common format for preview thumbnails: each cue of the VTT file gives a time range and the part of a sprite image to show, such as spring-thumbs.jpg#xywh=160,0,160,66. The tabs below the player show the images, the VTT file, and the code for Fluid Player, Video.js, Plyr and JW Player, filled in with your file names.

One detail trips many people up: players don’t all look for the images in the same place. Video.js, Plyr and JW Player read image names from the VTT file’s folder. Fluid Player reads them from the page’s address unless you turn on spriteRelativePath, which the generated code does for you. We tested the Fluid Player, Video.js 10 and Plyr code with the VTT file in a different folder from the page, the case where this matters.

Private by design

The generator runs in your browser. Your video plays from your own computer, the pictures are copied from it there, and the files are built in memory. Nothing is uploaded to us or anyone else: open your browser’s network tab while it works, and you’ll see no request carrying your video.

Try it

Open the Thumbnail Sprite & VTT Generator, choose a video, and hover the progress bar. To set up previews in Fluid Player by hand, see Previews in the Fluid Player documentation (opens in a new tab).

It joins our other free tools for web video: the SRT to VTT and VTT to SRT subtitle converters, the HLS & DASH Stream Tester, the VAST Tag Tester and the Player Builder. Found a video it gets wrong, or an idea for the next tool? Tell us on GitHub (opens in a new tab).