clip-extractor

Reframe 16:9 videos into portrait crops using face-tracking.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Trejon-888/ix-ai-agent-social-media-manager --skill clip-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clip-extractor
Source: https://github.com/Trejon-888/ix-ai-agent-social-media-manager/tree/main/.claude/skills/clip-extractor
Command: npx skills add https://github.com/Trejon-888/ix-ai-agent-social-media-manager --skill clip-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Reframing long-form 16:9 videos for vertical 9x16 or square 1:1 formats without manual editing, while preserving subject framing with face-tracking.

Core Features & Use Cases

  • Auto-detect four layout modes: 9x16 face-tracking, 1x1 square, split-screen multi-face, and dynamic podcast-like layouts.
  • Per-frame crop calculation using MediaPipe/DNN face detection and Kalman smoothing for stable framing.
  • Output ready 9x16 or 1x1 clips that pair with Remotion or standard editors for shorts, reels, or tutorials.

Quick Start

Run the reframing CLI on a source video to produce a 9x16 output by specifying --video and --output paths.

Frequently Asked Questions about clip-extractor

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

FAQPage Schema
How do I automatically reframe a 16:9 video for 9x16 vertical shorts?

Automatically reframe a 16:9 video for 9x16 vertical shorts by using face-tracking to detect subjects and calculate per-frame portrait crops. This pipeline applies Kalman smoothing for stable framing, outputting ready 9x16 or 1:1 clips.

Can I use face-tracking to split-screen multiple subjects in a vertical video crop?

Yes, face-tracking supports split-screen multi-face layouts for vertical video crops. The pipeline auto-detects multiple layout modes including dynamic podcast-like layouts, ensuring all subjects are properly framed within the 9x16 output.

Does video reframing work with Remotion for editing shorts and reels?

Video reframing outputs ready 9x16 or 1:1 clips that pair directly with Remotion or standard editors for shorts and reels. The Python pipeline handles rendering frame-accurately so you can import the results seamlessly.

What's the best way to convert horizontal video to a 1:1 square format without manual cropping?

The best way to convert horizontal video to a 1:1 square format without manual cropping is using automated face detection and layout classification. The system identifies the 1x1 square layout mode and applies per-frame crop calculation with Kalman smoothing.

Why does face-tracking video reframing need Kalman smoothing?

Face-tracking video reframing needs Kalman smoothing to stabilize the framing around the detected subject. Without it, per-frame crop calculations based on face detection would produce jittery, unstable outputs during dynamic movements in long-form videos.

Do I need to specify the layout mode manually for podcast-like video reframing?

No, you do not need to specify the layout mode manually for podcast-like video reframing. The pipeline auto-detects four distinct layout modes, including dynamic podcast-like layouts and split-screen multi-face setups, based on face tracking.