# Video Frame Extractor: Thumbnails, Scenes & Contact Sheets (`plotpointtech/video-frame-extractor`) Actor

Extract frames and thumbnails from your own video files for $1.50 per 1,000: evenly spaced, every N seconds, at scene changes or set timestamps. JPG, PNG or WebP, contact sheet, animated preview and video metadata.

- **URL**: https://apify.com/plotpointtech/video-frame-extractor.md
- **Developed by:** [Plot Point Technologies](https://apify.com/plotpointtech) (community)
- **Categories:** Videos, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.93 / 1,000 frame or video results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Video Frame Extractor: Thumbnails & Scene Changes

**Turn your videos into still frames and thumbnails in bulk for $1.50 per 1,000 frames.** Give it direct links to video files (MP4, MOV, WebM, MKV, AVI and more), upload a file or point it at an Apify key-value store, and choose how to pick frames: **evenly spaced**, **every N seconds**, **at each scene change** or **at exact timestamps**. You get a download link for every frame, the video's metadata and an optional contact sheet and animated preview.

### What can this video frame extractor do?

- **Four ways to pick frames:** a fixed number spread evenly over the video (great for thumbnails), one every N seconds, one at every **scene change / cut** (with a sensitivity setting and a minimum gap), or at timestamps you list (`5`, `0:12`, `01:02:03.5`, `90%`).
- **JPG, PNG or WebP output**, with quality and maximum width/height (aspect ratio kept).
- **Contact sheet:** one image with all the frames in a grid and their timecodes, ideal for review or a quick storyboard.
- **Animated preview:** a short GIF or WebP slideshow of the frames, or a clip from a chosen point.
- **Video metadata:** duration, resolution, frame rate, rotation, video and audio codecs, bitrates, container and file size.
- **Large files:** videos are streamed and seeked, not decoded end to end, so long recordings work. Limits for file size, minutes scanned and time per video keep costs predictable.
- **Trim** with a start and end time to work on one part of a video.

### What data do you get?

One record per frame, plus one summary record per video:

| Field | Description |
|---|---|
| `recordType` | `frame` or `video` |
| `imageUrl`, `key`, `format`, `width`, `height`, `bytes` | Download link and details of the frame image (frames) |
| `timestamp`, `timecode`, `frameIndex` | Where the frame was taken (frames) |
| `sceneScore` | How strong the cut was (scene mode) |
| `durationSeconds`, `width`, `height`, `fps`, `rotation` | Video properties (summary) |
| `videoCodec`, `audioCodec`, `bitrate`, `container`, `fileSizeBytes` | Encoding details (summary) |
| `contactSheetUrl`, `previewUrl` | Links to the contact sheet and animated preview (summary) |
| `framesExtracted`, `minutesScanned`, `status` | What happened for this video (summary) |

### Who uses it?

- **Video and e-learning teams** creating thumbnails and chapter images for course and product videos.
- **AI and ML builders** sampling frames from their own footage to label, caption or feed to vision models.
- **Editors and marketers** making storyboards and contact sheets to review footage quickly.
- **Developers** adding a "pick a thumbnail" or "detect cuts" step to an upload pipeline.

### How to use it

1. Click **Try for free** (or **Start**).
2. Add **Video file URLs** (direct links to the file), **upload a video**, or choose an Apify **key-value store**.
3. Pick **What frames to extract** and set the number, interval, scene sensitivity or timestamps.
4. Choose the **Image format** and optional size, contact sheet and preview.
5. Run it and open the **Output** tab to see and download every frame.

### Input example

```json
{
  "videoUrls": ["https://upload.wikimedia.org/wikipedia/commons/d/db/45th_Space_Wing_supports_SpaceX_Crew-2_Launch_%28210423-X-WN929-1001%29.webm"],
  "mode": "count",
  "frameCount": 12,
  "outputFormat": "jpg",
  "quality": 85,
  "contactSheet": true
}
```

### Output example

From a real run with the default sample video (26 seconds, 1920 x 1080), one frame record:

```json
{
  "recordType": "frame",
  "videoIndex": 1,
  "frameIndex": 12,
  "timestamp": 24.949,
  "timecode": "00:00:24.949",
  "imageUrl": "https://api.apify.com/v2/key-value-stores/kMoEHvuC0qnfuQhd2/records/...-frame-0012-000024949ms.jpg?signature=...",
  "format": "jpg",
  "width": 1920,
  "height": 1080,
  "bytes": 24923,
  "mode": "count"
}
```

and the video summary record:

```json
{
  "recordType": "video",
  "status": "ok",
  "mode": "count",
  "framesExtracted": 12,
  "durationSeconds": 26.034,
  "width": 1920,
  "height": 1080,
  "fps": 29.97,
  "videoCodec": "vp9",
  "audioCodec": "opus",
  "container": "matroska,webm",
  "fileSizeBytes": 5841624,
  "contactSheetUrl": "https://api.apify.com/v2/key-value-stores/kMoEHvuC0qnfuQhd2/records/...-contact-sheet.jpg?signature=..."
}
```

### How much does it cost?

**$1.50 per 1,000 results** ($0.0015 each): every extracted frame is one result, and each video adds one summary result. **Scene-change mode** also costs **$0.002 per minute of video scanned**, because the whole video has to be analysed to find the cuts. Plus a $0.00005 start fee per run.

| You extract | You pay |
|---|---|
| 12 frames from the sample video (default run) | $0.02 |
| 10 thumbnails from each of 100 videos | $1.65 |
| 1 frame every 10 seconds from a 1-hour video (360 frames) | $0.54 |
| Scene changes in a 30-minute video (about 80 cuts) | $0.18 |

Videos that cannot be downloaded or read are listed with an error and not charged for frames. Set a maximum cost per run in Apify Console and the tool stops when it is reached.

**Volume discounts on higher Apify plans.** The prices above are for the Apify Free plan. On paid plans they drop automatically: about 15% lower on Bronze, 25% lower on Silver and 38% lower on Gold and above.

### Use it via API, Make, Zapier, n8n or an AI agent

**Apify API.** Start a run and get the results back in one HTTP request (replace `YOUR_API_TOKEN` with the token from Apify Console > Settings > Integrations):

```bash
curl -X POST "https://api.apify.com/v2/acts/plotpointtech~video-frame-extractor/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"videoUrls": ["https://example.com/videos/product-demo.mp4"], "mode": "scene", "sceneThreshold": 0.3}'
```

Official `apify-client` libraries exist for Python and JavaScript; the **API** tab on this page has ready-made code.

**No-code automation.** Connect the tool to **Make, Zapier, n8n, Google Drive, Slack** or any webhook with Apify integrations.

**AI agents (MCP).** Give Claude, ChatGPT, Cursor or any MCP-compatible agent direct access through the hosted Apify MCP server:

```
https://mcp.apify.com?tools=plotpointtech/video-frame-extractor
```

### FAQ

**Can I use YouTube, TikTok, Instagram or Vimeo links?**
No. The tool only reads **direct links to video files** and files you upload. Downloading from video platforms is against their terms, so page links from those sites are refused. Use it on your own videos or ones you have the right to process.

**Which video formats are supported?**
Anything ffmpeg reads: MP4, MOV, WebM, MKV, AVI, M4V, MPEG-TS, FLV, 3GP and more, including H.264, H.265/HEVC, VP8/VP9 and AV1. DRM-protected and streaming playlists (HLS/DASH) are not supported.

**How does scene-change detection work?**
Each frame is compared with the previous one; when the picture changes more than the threshold (0.3 by default, lower finds more cuts), a frame is saved. The minimum gap stops a flash or fast cut from producing many near-identical frames.

**How long can videos be?**
Up to 2 GB and 4 hours by default (adjustable). Count, interval and timestamp modes seek directly to each position, so they are fast even on long videos.

**Where are the images stored?**
In your Apify key-value store, kept for as long as your plan keeps run storage. The download links contain a signature, so anyone you share a link with can open that image.

### Related tools from Plot Point Technologies

- [Audio & Podcast Transcription - Whisper (Bulk)](https://apify.com/plotpointtech/audio-podcast-transcription-whisper): transcripts with timestamps from audio and video files.
- [Bulk Image Converter & Compressor: WebP, AVIF, JPG, PNG, Resize](https://apify.com/plotpointtech/bulk-image-converter-compressor): resize or convert the frames you extract.
- [Image OCR - Image to Text in Bulk](https://apify.com/plotpointtech/image-to-text-ocr-bulk): read text that appears in frames.

Plot Point Technologies is not affiliated with the FFmpeg project or the Wikimedia Foundation (source of the public-domain sample video). Questions: support@plotpoint.tech.

***

If this tool saved you time, we would be grateful for a short review on this page; it helps other people find it. If something did not work as expected, please open an issue on the **Issues** tab and we will look into it quickly.

# Actor input Schema

## `videoUrls` (type: `array`):

Direct links to video files you own or are allowed to use: .mp4, .mov, .webm, .mkv (also .m4v, .avi, .ts, .ogv and most other formats ffmpeg reads). Cloud storage links work (S3, Google Cloud Storage, Azure Blob, Dropbox ?dl=1, signed URLs). YouTube, Vimeo, TikTok, Instagram, Facebook, X and other platform pages are refused, as are HLS/DASH playlists. Leave empty to process a 26-second public-domain sample video.

## `videoFile` (type: `string`):

Or upload one video file directly from your computer.

## `keyValueStoreId` (type: `string`):

Process every video file stored in an Apify key-value store (for example uploads from another Actor). Pick one of your storages or paste its ID.

## `keyValueStorePrefix` (type: `string`):

Optional: only records whose key starts with this text.

## `mode` (type: `string`):

Evenly spaced: the number of frames you set, spread across the video (good for thumbnails and previews). Every N seconds: a fixed interval. Scene changes: a frame at each cut, found with ffmpeg's scene score (billed per video minute scanned as well). Timestamps: the exact times you list.

## `frameCount` (type: `integer`):

Used in evenly spaced mode. Frames are taken from the middle of equal segments, so the black first and last frames are avoided.

## `intervalSeconds` (type: `number`):

Used in interval mode, e.g. 1 = one frame per second, 0.5 = two per second, 60 = one per minute. The first frame is at the start time.

## `sceneThreshold` (type: `number`):

Used in scene mode. 0 to 1: how different a frame must be from the previous one. 0.3 suits most edited videos; use 0.15-0.2 for subtle cuts or dissolves and 0.4-0.5 to keep only hard cuts.

## `sceneMinGapSeconds` (type: `number`):

Used in scene mode. Ignores further cuts within this many seconds of the last kept frame (stops flashes and fast montages from producing bursts).

## `sceneIncludeFirstFrame` (type: `boolean`):

Also return the opening shot (scene mode only finds cuts, so without this the first scene has no frame).

## `timestamps` (type: `array`):

Used in timestamps mode. Seconds (12.5), mm:ss (1:30), hh:mm:ss.ms (00:01:30.250) or a percentage of the duration (50%).

## `startTime` (type: `string`):

Optional: ignore everything before this point (seconds, mm:ss, hh:mm:ss or %).

## `endTime` (type: `string`):

Optional: ignore everything after this point (seconds, mm:ss, hh:mm:ss or %).

## `maxFramesPerVideo` (type: `integer`):

Hard cap on frames returned for each video, whatever the mode. Protects your budget on long videos.

## `outputFormat` (type: `string`):

Format of the frame images and the contact sheet.

## `quality` (type: `integer`):

1-100. 85 is visually lossless for most videos.

## `width` (type: `integer`):

Resize frames to at most this width, keeping the aspect ratio. 0 = original size. Frames are never enlarged.

## `height` (type: `integer`):

Resize frames to at most this height, keeping the aspect ratio. 0 = original size.

## `contactSheet` (type: `boolean`):

One grid image per video with all extracted frames (up to 100, sampled evenly) and their timecodes, plus a header with duration, resolution, fps and codec. Free.

## `contactSheetColumns` (type: `integer`):

Thumbnails per row.

## `contactSheetThumbWidth` (type: `integer`):

Width of each thumbnail in the grid.

## `animatedPreview` (type: `string`):

A short looping preview per video. Free.

## `previewType` (type: `string`):

Slideshow: the extracted frames played in sequence. Clip: a few seconds of real motion from the video.

## `previewClipStart` (type: `string`):

Where the moving clip starts (seconds, mm:ss or %). Default: 10% into the video.

## `previewClipSeconds` (type: `number`):

Length of the moving clip.

## `previewWidth` (type: `integer`):

Width of the animated preview.

## `previewFps` (type: `number`):

0 = automatic (2 for a slideshow, 10 for a clip).

## `maxFileSizeMb` (type: `integer`):

Videos larger than this are skipped (not charged). The size is checked before anything is downloaded.

## `downloadBelowMb` (type: `integer`):

Files up to this size are downloaded once for fast, reliable seeking. Larger files are streamed with HTTP range requests, so only the parts needed are read (if the server supports ranges). 0 = always stream.

## `maxVideoMinutes` (type: `integer`):

Scene detection decodes the whole video; longer videos are scanned only up to this many minutes.

## `timeoutSecondsPerVideo` (type: `integer`):

ffmpeg is stopped if one video takes longer than this. The video is then skipped and not charged.

## Actor input object example

```json
{
  "videoUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/d/db/45th_Space_Wing_supports_SpaceX_Crew-2_Launch_%28210423-X-WN929-1001%29.webm"
  ],
  "mode": "count",
  "frameCount": 12,
  "intervalSeconds": 10,
  "sceneThreshold": 0.3,
  "sceneMinGapSeconds": 1,
  "sceneIncludeFirstFrame": true,
  "timestamps": [
    "5",
    "0:12",
    "90%"
  ],
  "maxFramesPerVideo": 200,
  "outputFormat": "jpg",
  "quality": 85,
  "width": 0,
  "height": 0,
  "contactSheet": true,
  "contactSheetColumns": 4,
  "contactSheetThumbWidth": 320,
  "animatedPreview": "none",
  "previewType": "slideshow",
  "previewClipSeconds": 4,
  "previewWidth": 320,
  "previewFps": 0,
  "maxFileSizeMb": 2048,
  "downloadBelowMb": 300,
  "maxVideoMinutes": 240,
  "timeoutSecondsPerVideo": 900
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `files` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videoUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/d/db/45th_Space_Wing_supports_SpaceX_Crew-2_Launch_%28210423-X-WN929-1001%29.webm"
    ],
    "timestamps": [
        "5",
        "0:12",
        "90%"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plotpointtech/video-frame-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videoUrls": ["https://upload.wikimedia.org/wikipedia/commons/d/db/45th_Space_Wing_supports_SpaceX_Crew-2_Launch_%28210423-X-WN929-1001%29.webm"],
    "timestamps": [
        "5",
        "0:12",
        "90%",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("plotpointtech/video-frame-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/d/db/45th_Space_Wing_supports_SpaceX_Crew-2_Launch_%28210423-X-WN929-1001%29.webm"
  ],
  "timestamps": [
    "5",
    "0:12",
    "90%"
  ]
}' |
apify call plotpointtech/video-frame-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plotpointtech/video-frame-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5Tr2qL4zHcgAFaNJS/builds/17JrEqEqyYVUxoMZL/openapi.json
