# Extract evenly spaced thumbnails and a storyboard from videos

**Use case:** 

Turn video links into evenly spaced still frames: one row per frame with its exact time and a public image link, plus a contact sheet per video. Replace the two sample trailers with your own direct video links, web pages that play a video, or HLS streams. Use mode scenes for one frame per shot.

## Input

```json
{
  "videoUrls": [
    "https://media.w3.org/2010/05/sintel/trailer.mp4",
    "https://upload.wikimedia.org/wikipedia/commons/b/b3/Big_Buck_Bunny_Trailer_400p.ogv"
  ],
  "mode": "count",
  "frameCount": 4,
  "intervalSeconds": 10,
  "sceneThreshold": 0.3,
  "maxFramesPerVideo": 50,
  "imageFormat": "jpg",
  "maxWidth": 1280,
  "skipBlankFrames": true,
  "contactSheet": true
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Public link to the frame image",
    "format": "string"
  },
  "timecode": {
    "label": "Time of the frame (hh:mm:ss.mmm)",
    "format": "string"
  },
  "frameIndex": {
    "label": "Frame number in this video (1 = first)",
    "format": "integer"
  },
  "sceneScore": {
    "label": "Scene-change score 0-1 (scenes mode)",
    "format": "number"
  },
  "width": {
    "label": "Image width (px)",
    "format": "integer"
  },
  "height": {
    "label": "Image height (px)",
    "format": "integer"
  },
  "videoUrl": {
    "label": "The link you gave",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Video Frame Extractor 🎞️ (scenes, keyframes, thumbnails) Actor is ready to run with the inputs already set for "Extract evenly spaced thumbnails and a storyboard from videos". [Sign up or log in](https://console.apify.com/create-task-from-example/hoEhK3g26WvZV89by) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Extract evenly spaced thumbnails and a storyboard from videos" task

The Video Frame Extractor 🎞️ (scenes, keyframes, thumbnails) Actor will start running based on the input automatically. You can also change all the input fields, like video links, which frames, and more, to match your specific use case.

### 3. Receive the "Extract evenly spaced thumbnails and a storyboard from videos" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as public link to the frame image, time of the frame (hh:mm:ss.mmm), frame number in this video (1 = first), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Extract evenly spaced thumbnails and a storyboard from videos" task via API](https://apify.com/tagadanar/video-frame-extractor.md).

## FAQ

### How do I get a frame every few seconds or per scene?

Change mode to interval with intervalSeconds, scenes with sceneThreshold, or timestamps with exact times. Count mode gives frameCount evenly spaced frames.

### Which video links work?

Direct video files, web pages that play a video, and HLS streams. YouTube, TikTok, Instagram, Vimeo and DRM services are not supported, so use a direct file link.

### Why is a frame not at the exact time I asked?

With skipBlankFrames on, a black or single-colour frame is replaced by the next frame with content within 2 seconds. Turn it off for exact times.

### What image formats and extras can I get?

imageFormat takes jpg, png or webp, and maxWidth scales frames down. Turn on contactSheet for a storyboard grid image. Images are public links in the run storage.

## About this Actor

This example demonstrates how to use [Video Frame Extractor 🎞️ (scenes, keyframes, thumbnails)](https://apify.com/tagadanar/video-frame-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/tagadanar/video-frame-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/tagadanar/video-frame-extractor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
