# Video Loop

> Create seamless infinite loops from video clips using forward-reverse-crossfade technique. Perfect for hero backgrounds, ambient loops, and any video that needs to play continuously without visible jumps.

- **Type:** Skill
- **Install:** `agentstack add skill-kdowswell-veo-tools-video-loop`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kdowswell](https://agentstack.voostack.com/s/kdowswell)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [kdowswell](https://github.com/kdowswell)
- **Source:** https://github.com/kdowswell/veo-tools/tree/main/skills/video-loop

## Install

```sh
agentstack add skill-kdowswell-veo-tools-video-loop
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Video Loop Skill

Transform any video into a mathematically seamless infinite loop. Uses the forward-reverse-crossfade technique to eliminate the jarring "jump" when videos restart.

## How It Works

1. Takes the original video
2. Creates a reversed copy
3. Crossfades the end of the original into the start of the reversed
4. Crossfades the end of the reversed back to match the original start
5. Result: A video that flows forward, then backward, creating perfect continuity

## Prerequisites

Requires `ffmpeg` installed:

```bash
brew install ffmpeg
```

## Usage

Run the script with input video and output path:

```bash
./scripts/create-loop.sh input.mp4 output-loop.mp4
```

### Options

```bash
./scripts/create-loop.sh input.mp4 output.mp4 [crossfade_duration]
```

- `input.mp4` - Source video file
- `output.mp4` - Output seamless loop file
- `crossfade_duration` - Optional, default 0.5 seconds (range: 0.25-2.0)

### Examples

```bash
# Basic usage - 0.5s crossfade (default)
./scripts/create-loop.sh hero-background.mp4 hero-loop.mp4

# Longer crossfade for smoother transition
./scripts/create-loop.sh hero-background.mp4 hero-loop.mp4 1.0

# Quick crossfade for faster-paced content
./scripts/create-loop.sh product-spin.mp4 product-loop.mp4 0.25
```

## Output

The output video will be approximately `(2 * input_duration) - (2 * crossfade_duration)` in length.

Example: 6 second input with 0.5s crossfade = ~11 second seamless loop

## HTML Implementation

Use the seamless loop in your hero section:

```html

  

```

```css
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
```

## When to Use

- **Hero backgrounds** - Ambient motion behind text/CTAs
- **Product showcases** - Rotating/floating products
- **Ambient loops** - Atmospheric content for displays
- **Loading states** - Smooth visual feedback

## Tips

- **Shorter crossfades (0.25-0.5s)** work better for videos with subtle motion
- **Longer crossfades (0.75-1.5s)** smooth out videos with more dynamic movement
- Videos with symmetrical or abstract content loop most naturally
- Avoid videos with directional motion (walking, scrolling text) - they look odd reversed

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kdowswell](https://github.com/kdowswell)
- **Source:** [kdowswell/veo-tools](https://github.com/kdowswell/veo-tools)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kdowswell-veo-tools-video-loop
- Seller: https://agentstack.voostack.com/s/kdowswell
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
