Skip to main content

Translate video files into a format Claude can experience - a video codec for Claude

Project description

video-to-claude

Translate video files into a format Claude can experience.

Claude can't watch videos, but it can view images and read data. This tool extracts sequential frames, generates spectrograms, and produces audio analysis - everything Claude needs to "experience" your video.

Installation

# Requires ffmpeg
brew install ffmpeg  # macOS
apt install ffmpeg   # Ubuntu/Debian

# Install the tool
pip install video-to-claude[mcp]

MCP Server Setup (Claude Code)

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "video-to-claude": {
      "command": "video-to-claude-mcp"
    }
  }
}

Then ask Claude:

  • "Convert the video at ~/Videos/wilson.mov"
  • "Show me frame 10"
  • "What does the audio look like?"

Available Tools

Tool Description
convert_video Process a video into frames + audio analysis
get_video_info Get video metadata without processing
view_frame View a specific frame
view_all_frames View multiple frames at once
view_spectrogram View audio frequency visualization
view_waveform View audio amplitude visualization
get_audio_analysis Get detailed audio metrics
get_manifest Get the full manifest

CLI Usage

# Convert a video (20 frames + audio analysis)
video-to-claude convert ~/Videos/my_video.mp4

# Custom frame count
video-to-claude convert ~/Videos/my_video.mp4 --frames 30

# Skip audio analysis
video-to-claude convert ~/Videos/my_video.mp4 --no-audio

# Get video info
video-to-claude info ~/Videos/my_video.mp4

Output

my_video_for_claude/
├── manifest.json          # Metadata and viewing instructions
├── frame_001.jpg          # Sequential frames
├── frame_002.jpg
├── ...
├── spectrogram.png        # Audio frequency visualization
├── waveform.png           # Audio amplitude visualization
└── audio_analysis.json    # Detailed audio metrics

Why?

Videos contain moments worth sharing - a pet's greeting, a child's first steps, a sunset. Claude can understand these moments through sequential frames and audio analysis, experiencing the motion and sound in its own way.

This tool is a codec for Claude.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_to_claude-0.2.0.tar.gz (52.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

video_to_claude-0.2.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file video_to_claude-0.2.0.tar.gz.

File metadata

  • Download URL: video_to_claude-0.2.0.tar.gz
  • Upload date:
  • Size: 52.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for video_to_claude-0.2.0.tar.gz
Algorithm Hash digest
SHA256 72af970b0b69b3ace96a28aeda9f6d76587e8caf55ae72f27d36b4a2ba4891e4
MD5 d8d84384be0aa74f7c241e885e3cf9f7
BLAKE2b-256 ff97ad6f45beeffb1c2badd6cac6fe5070d78402ed1528b1ffe44d7c93fa7d36

See more details on using hashes here.

Provenance

The following attestation bundles were made for video_to_claude-0.2.0.tar.gz:

Publisher: publish.yml on ai-media-tools/video-to-claude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file video_to_claude-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for video_to_claude-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cca04f46e8c6ce6ae6da00f65ac34bb4643d4686bfeceb10960ab4d21e434065
MD5 440ef8123e7ed7a6df6882f49d519a81
BLAKE2b-256 4c3e7fc3534395e59db89989ae31754242387add4d463c3f1baab9eb52988999

See more details on using hashes here.

Provenance

The following attestation bundles were made for video_to_claude-0.2.0-py3-none-any.whl:

Publisher: publish.yml on ai-media-tools/video-to-claude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page