motion-sampler

Extract representative frames from dashcam videos at regular intervals.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yousufjoyian/claude-skills --skill motion-sampler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion-sampler
Source: https://github.com/yousufjoyian/claude-skills/tree/main/motion-sampler
Command: npx skills add https://github.com/yousufjoyian/claude-skills --skill motion-sampler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opencv-python, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Long dashcam video archives are storage-heavy and time-consuming to review. This skill automatically extracts a small set of representative frames at regular intervals, producing visual summaries that preserve motion and location context while dramatically reducing storage needs.

Core Features & Use Cases

  • Regular interval frame extraction from dashcam footage
  • Metadata indexing via INDEX.csv for later search and analysis
  • Storage optimization by replacing full videos with compact frame samples
  • Use cases: motion trajectory analysis, quick day/week reviews, and visual trip timelines

Quick Start

Use the motion-sampler skill to extract frames every 10 seconds from all Movie_F videos in the CARDV folder. The tool will save frames to MOTION_SAMPLES and create an INDEX.csv manifest.

Frequently Asked Questions about motion-sampler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract representative frames from dashcam video archives?

Frame extraction from dashcam footage uses OpenCV to sample video at regular intervals, producing a compact set of representative frames stored in a dedicated folder with an INDEX.csv manifest for easy lookup and analysis.

Can I reduce storage by replacing full dashcam videos with frame samples?

Yes, storage optimization is achieved by extracting frames at regular intervals from long video archives, dramatically reducing space while preserving motion context and location data for visual review.

How do I index and search extracted video frames later?

The skill generates an INDEX.csv metadata manifest alongside extracted frames, enabling structured indexing for later search, motion trajectory analysis, and batch video comparison across your archive.

What input formats and folder structures does frame extraction require?

The Python-based pipeline works with dashcam video files organized in standard folders, processes them using OpenCV for frame seeking and JPEG encoding, and outputs frames with a structured INDEX.csv manifest.

Is motion-sampler suitable for analyzing motion patterns in video batches?

Yes, the skill extracts frames at regular intervals to preserve motion trajectories and enables batch processing across multiple videos, supporting motion pattern analysis and quick visual trip timelines.