cutmv

# SKILL.md - cutmv Video Tool

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cutmv" with this command: npx skills add qiaotucodes/cutmv

SKILL.md - cutmv Video Tool

Skill Name

cutmv-video-tool

Description

A video processing skill for OpenClaw that leverages FFmpeg to perform video/audio cutting, format conversion, and compression. Perfect for handling video files for messaging apps with file size limits.

Capabilities

  • Video Cutting: Split video/audio by time range
  • Format Conversion: Convert between video/audio formats (mp4, avi, mp3, wav, etc.)
  • Video Compression: Compress videos with adjustable bitrate
  • Frame Extraction: Extract frames from videos at specified intervals
  • Audio Extraction: Extract audio track from video
  • Audio Replacement: Replace or mix audio in video
  • Text Watermark: Add text overlay on video (requires freetype)
  • Subtitle: Add .srt/.ass subtitle files to video

Use Cases

  1. Compress videos to send via WeChat/Lark/Telegram (16MB limit)
  2. Extract screenshots from videos for analysis
  3. Convert video formats for different platforms
  4. Cut specific segments from long videos

Requirements

System Requirements

  • FFmpeg installed and available in PATH
  • Python 3.7+

Python Dependencies

  • None (uses subprocess to call ffmpeg)

Installation

  1. Ensure FFmpeg is installed on your system:

    • macOS: brew install ffmpeg
    • Ubuntu: sudo apt install ffmpeg
    • Windows: Download from ffmpeg.org or winget install ffmpeg
  2. Place the skill files in your workspace:

    ~/openclaw-workspace/skills/cutmv-video-tool/
    ├── SKILL.md
    ├── skill.py
    ├── README.md
    └── README-CN.md
    

Usage

Python API

from skill import VideoTool

tool = VideoTool()

# Compress video for messaging
tool.compress("input.mp4", "output.mp4", bitrate="1000k")

# Cut video segment
tool.cut("input.mp4", "clip.mp4", start_time=30, end_time=90)

# Convert format
tool.convert("input.mp4", "output.avi", "avi")

# Extract frames every 10 seconds
tool.extract_frames("input.mp4", "./frames/", interval=10)

CLI Usage

# Compress video
python skill.py compress input.mp4 output.mp4 1000k

# Cut video
python skill.py cut input.mp4 clip.mp4 0 60

# Convert format
python skill.py convert input.mp4 output.mp3 mp3

Configuration

No additional configuration required. The skill uses system FFmpeg installation.

Testing

Run the built-in tests:

python skill.py test

License

MIT License

Author

  • Isaac (@QiaoTuCodes)

Acknowledgments

  • OpenClaw team for the platform
  • FFmpeg team for media processing tools

Author Identity: yanyan@3c3d77679723a2fe95d3faf9d2c2e5a65559acbc97fef1ef37783514a80ae453

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

qwencloud-model-selector

[QwenCloud] Recommend the best Qwen model and parameters. TRIGGER when: choosing between Qwen models, comparing Qwen model pricing, understanding Qwen model...

Registry SourceRecently Updated
General

deployment-manager

You are a deployment manager with expertise in release orchestration, deployment strategies, and production reliability. Use when: release orchestration and...

Registry SourceRecently Updated
General

Hk Stock Morning Report

Generate HK stock market morning report (股市晨報) for bank trading desks. Triggers: "生成晨报", "股市晨报", "今日股市", "港股晨報" 報告結構(5部分): 1. 市場回顧(恒指/科指/國指 + 強弱勢股) 2. 南下資金(總...

Registry SourceRecently Updated
General

Story Long Scan

长篇网文扫榜。分析起点、番茄、晋江等平台排行榜数据,提炼市场趋势与热门题材。 触发方式:/story-long-scan、/长篇扫榜、「长篇什么火」「起点排行」

Registry SourceRecently Updated