> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Screen Recorder

> Record screen navigation with configurable FPS

# AI Screen Recorder

Record browser navigation and scripted actions as video with configurable FPS.

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
flowchart LR
    A[URL + Actions] --> B[AI Screen Recorder]
    B --> C[Browser Recording]
    C --> D[Video Output]
    
    style A fill:#e1f5fe
    style D fill:#c8e6c9
```

## CLI Quickstart

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai recipe run ai-screen-recorder \
  --input '{"url": "https://example.com", "duration": 10, "fps": 30}' \
  --json
```

## Use in Your App (SDK)

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import sys
sys.path.insert(0, 'agent_recipes/templates/ai-screen-recorder')
from tools import record_navigation, record_scripted_actions

# Record navigation
result = record_navigation(
    url="https://example.com",
    duration=10,
    output_path="recording.mp4"
)

# Record scripted actions
actions = [
    {"action": "click", "selector": "#button"},
    {"action": "wait", "duration": 2},
    {"action": "scroll", "direction": "down"}
]
scripted = record_scripted_actions(
    url="https://example.com",
    actions=actions,
    output_path="scripted.mp4"
)
```

## Input Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "type": "object",
  "properties": {
    "url": {"type": "string"},
    "duration": {"type": "integer", "default": 10},
    "fps": {"type": "integer", "default": 30},
    "actions": {"type": "array"}
  }
}
```

## Output Schema

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "path": "/output/recording.mp4",
  "duration": 10,
  "fps": 30,
  "frames": 300
}
```

## Dependencies

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
pip install playwright
playwright install chromium
# Also requires ffmpeg
brew install ffmpeg  # macOS
```

## Related Tools

* [AI Screenshot Capture](/docs/examples/agent-recipes/creator-suite/ai-screenshot-capture)
* [AI B-roll Builder](/docs/examples/agent-recipes/creator-suite/ai-broll-builder)
