# Video Thumbnail Candidates from MP4 Links

**Use case:** 

Get 8 evenly spaced still frames from each direct video link as high-quality JPG (up to 1280 px wide) to compare side by side and pick a thumbnail or poster yourself. The Actor does not choose the best frame or detect scenes. A black or white frame is stepped past, or skipped with no frame charge. $0.003 per video + $0.001 per frame, plus Apify's start fee ($0.00005 per run at 1 GB).

## Input

```json
{
  "videoUrls": [
    {
      "url": "https://asunoki.jp/downloads/video-frame-extractor/sample-10s-640x360.mp4"
    }
  ],
  "mode": "count",
  "frameCount": 8,
  "intervalSeconds": 5,
  "maxFramesPerVideo": 50,
  "imageFormat": "jpg",
  "maxWidth": 1280,
  "quality": 85,
  "skipBlankFrames": true,
  "inlineDataUri": false,
  "maxDurationMinutes": 180,
  "maxDownloadMbPerVideo": 200,
  "maxSecondsPerVideo": 300
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Frame",
    "format": "image"
  },
  "videoUrl": {
    "label": "Video",
    "format": "link"
  },
  "frameIndex": {
    "label": "#",
    "format": "number"
  },
  "timecode": {
    "label": "Timecode"
  },
  "time": {
    "label": "Seconds",
    "format": "number"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "bytes": {
    "label": "Bytes",
    "format": "number"
  },
  "type": {
    "label": "Row type"
  },
  "code": {
    "label": "Error / note code"
  },
  "reason": {
    "label": "Details"
  }
}
```

## How it works

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

The Video Frame Extractor (direct links) for AI Vision Actor is ready to run with the inputs already set for "Video Thumbnail Candidates from MP4 Links". [Sign up or log in](https://console.apify.com/create-task-from-example/NUNSEUyy5ShdVLvEb) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Video Thumbnail Candidates from MP4 Links" task

The Video Frame Extractor (direct links) for AI Vision 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 "Video Thumbnail Candidates from MP4 Links" 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 frame, video, #, 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 "Video Thumbnail Candidates from MP4 Links" task via API](https://apify.com/asunoki/video-frame-extractor.md).

## FAQ

### Does it choose the best thumbnail?

No. It gives you evenly spaced candidates; you compare them and choose. There is no scene detection or scoring.

### What happens on a black or white frame?

It steps forward 0.5 s up to twice. If the frame is still blank it is skipped and no frame event is charged.

### Which links work?

Direct links to MP4, MOV, M4V, WebM, MKV, TS or AVI files you are allowed to process. Video platform pages such as YouTube are refused.

### What does the example cost?

1 video and 8 frames: $0.011 in video and frame events, plus Apify's start fee ($0.00005 at 1 GB).

## About this Actor

This example demonstrates how to use [Video Frame Extractor (direct links) for AI Vision](https://apify.com/asunoki/video-frame-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/asunoki/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/asunoki/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`).
