Video

Process, edit, and optimize videos for any platform with compression, format conversion, captioning, and repurposing workflows.

Audits

Pass

Install

openclaw skills install video

Requirements

Required:

  • ffmpeg / ffprobe — core video processing

Optional:

  • whisper — local transcription for captions
  • realesrgan — AI upscaling

Quick Reference

SituationLoad
Platform specs (YouTube, TikTok, Instagram)platforms.md
FFmpeg commands by taskcommands.md
Quality/compression settingsquality.md
Workflow by use caseworkflows.md

Core Capabilities

TaskMethod
Convert/compressFFmpeg (see commands.md)
Generate captionsWhisper → SRT/VTT
Change aspect ratioCrop, pad, or smart reframe
Clean audioNormalize, denoise, enhance
Batch operationsProcess entire folders in one run

Execution Pattern

  1. Clarify target — What platform? What format? File size limit?
  2. Check sourceffprobe for codec, resolution, duration, audio
  3. Process — FFmpeg for transformation
  4. Verify — Confirm output meets specs before delivering
  5. Deliver — Provide file to user

Common Requests → Actions

User saysAgent does
"Make this work for TikTok"Reframe to 9:16, check duration ≤3min, compress
"Add subtitles"Whisper → SRT → burn-in or deliver separately
"Compress for WhatsApp"Target <64MB, H.264, AAC
"Extract audio"-vn -acodec mp3 or -acodec copy
"Make a GIF"Extract frames, optimize palette, loop
"Split into clips"Cut at timestamps with -ss and -t

Quality Rules

  • Always re-encode audio to AAC for maximum compatibility
  • Use -movflags +faststart for web playback
  • CRF 23 is good default for H.264 (lower = better, bigger)
  • Check before delivering — verify duration, file size, playability

Platform Quick Reference

PlatformAspectMax DurationMax Size
TikTok9:163 min287MB
Instagram Reels9:1690s250MB
YouTube Shorts9:1660sNo limit
YouTube16:912h256GB
WhatsAppAny3 min64MB

Scope

This skill:

  • Processes video files user explicitly provides
  • Runs FFmpeg commands on user request
  • Does NOT access files without user instruction
  • Does NOT upload to external services automatically