---
title: "For Each Frame"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/video/foreachframe
markdown: https://docs.nodetool.ai/nodes/nodetool/video/foreachframe.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/video/foreachframe.md
---

# For Each Frame

**Type:** `nodetool.video.ForEachFrame`

**Namespace:** `nodetool.video`

## Description

Extract frames from a video file with ffmpeg.
    video, frames, extract, sequence

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| video | `video` | The input video to extract frames from. | - |
| start | `int` | The frame to start extracting from. | `0` |
| end | `int` | The frame to stop extracting from. | `-1` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| frame | `image` |  |
| index | `int` |  |
| fps | `float` |  |

## Related Nodes

Browse other nodes in the [nodetool.video](./) namespace.
