Thumbnail generation transform
Extract one or more images from a Video on Demand (VOD) asset for posters, previews, or seek thumbnails. Create the transform through the Media API, then run it against the source asset.
Thumbnail generation is only available for MP4 content and requires a server manifest (.ism) as the job input.
The portal does not create thumbnail generation transforms. Create the transform through the Media API, then select it when you run the processing job. If the source asset uses Smooth Streaming format, convert it first with an asset conversion transform.
You can extract a single image, an image sequence, or a sprite image.
The thumbnail preset must use #MediaKind.ThumbnailGeneratorPreset for the @odata.type attribute.
Default thumbnail
A standard VOD transcoding job generates one JPEG thumbnail at 50 percent of the size of the highest-resolution video rendition. Create a thumbnail generation transform when you need another position, size, format, image sequence, or sprite.
Configuration parameters
The following parameters configure thumbnail generation:
Transform examples
The following transforms show how to use these parameters.
Once the transform is in place, it can be used to create a job on a given VOD asset.
Transform to generate a single thumbnail
The following transform generates a single PNG image 10 seconds after the content starts. The image is half the size of the highest-resolution input rendition.
Transform to generate multiple thumbnails
The transform below generates one JPEG image every 30 seconds during 80 percent of the input content. The width determines the image size, and MK.IO calculates the height to preserve the aspect ratio.
When a transform generates multiple thumbnails, MK.IO also creates a Web Video Text Tracks (WebVTT) file containing their timing.
Transform to generate a sprite file
MK.IO can generate a sprite file and its associated WebVTT file.
The transform below generates one JPEG image for every 1 percent of the content and organizes the images in a 10 by 10 sprite file.
Players can use sprite files for seek previews. See Play a VOD asset with thumbnail seeking.
Combined generation of thumbnail and sprite files
One transform can contain multiple thumbnail configurations.
The transform below generates one JPEG image for every 1 percent of the content and organizes the images in a 10 by 10 sprite file. It also generates one PNG thumbnail at a fixed size of 1920 by 960 pixels.
Download generated files
Create a streaming locator on the output asset with the Predefined_DownloadOnly streaming policy to retrieve download URLs for generated thumbnails and sprite files. See Streaming locators for locator and download policy details.