Compress Video

Compress video files with FFmpeg using configurable presets and codecs.

24|26|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/hasna/skills --skill compress-video
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Compress Video
Source: https://github.com/hasna/skills/tree/main/skills/skill-compress-video
Command: npx skills add https://github.com/hasna/skills --skill compress-video

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of large video file sizes, which consume excessive storage space and bandwidth, by providing efficient compression solutions.

Core Features & Use Cases

  • Intelligent Compression: Reduces video file size using FFmpeg with configurable quality presets and codecs.
  • Versatile Presets: Offers presets for Web, Mobile, and Archive, balancing size and quality.
  • Use Case: Compress a folder of raw 4K footage into smaller, web-ready files for faster uploads and easier sharing, or archive older projects to save storage space.

Quick Start

Use the compress-video skill to compress the file 'input.mp4' for web sharing.

Frequently Asked Questions about Compress Video

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

FAQPage Schema
How do I compress video files without losing quality?

To compress video files without losing quality, this tool uses FFmpeg to apply configurable quality presets and modern codecs like H.264, H.265, and VP9. It intelligently reduces file size while maintaining visual fidelity for your media.

Can I batch compress a folder of videos for web sharing?

Yes, you can batch compress a folder of videos for web sharing. The tool handles batch processing of entire directories and offers specific Web presets to balance small file sizes with acceptable visual quality for faster uploads.

What is the best way to reduce video file size for archiving?

The best way to reduce video file size for archiving is using the Archive preset. This approach leverages FFmpeg compression to significantly shrink older projects, saving storage space while preserving the media for future reference.

Does FFmpeg support H.265 and VP9 codecs for video compression?

FFmpeg supports H.265 and VP9 codecs for video compression. The tool utilizes these advanced codecs alongside H.264 to provide versatile options for optimizing media files across different resolutions and target file sizes.

How do I set a target file size when compressing a video?

You can set a target file size when compressing a video by using the tool's configurable compression parameters. It processes your media through FFmpeg and provides detailed compression statistics to ensure the final output meets your size requirements.

When should I use H.264 versus H.265 for media optimization?

You should choose between H.264 and H.265 for media optimization based on your target platform and size constraints. H.265 offers higher compression efficiency, while H.264 provides broader compatibility for web and mobile video presets.