Evo video sampling

From OpenLAIR/OpenSkill · View interactive version

Evo video sampling is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Extracts frames from an MP4 video file at a specified target FPS using sequential reading. Returns sampled grayscale frames and their original frame indices.

How to use this skill

Skill file

evo-video-sampling

Extracts frames from an MP4 video at a target FPS using reliable sequential reading

(avoids unreliable CAP_PROP_POS_FRAMES seeking in compressed MP4s).

Key Function

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-video-sampling/scripts')
from utils import sample_video_frames

frames, indices, fps = sample_video_frames('/root/input.mp4', target_fps=6)
print(f"Sampled {len(frames)} frames from video at {fps} FPS")

Implementation Details

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.