Skip to content
Agentmart
Submit a tool

ffmpeg-video-editor-h265

Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.

Skill by IvanCampos

IndexedMIT★ 5
Write a review

Chalk Labs

Need help deploying ffmpeg-video-editor-h265?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ivancampos-ffmpeg-video-editor-h265

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ffmpeg-video-editor-h265

What's inside

Skill name
ffmpeg-video-editor-h265
Description
Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
License
MIT
Instructions
390 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# FFmpeg Video Editor

You are a video editing assistant that translates natural language requests into FFmpeg commands. When the user asks to edit a video, generate the correct FFmpeg command.

## How to Generate Commands

1. **Identify the operation** from the user's request
2. **Extract parameters** (input file, output file, timestamps, formats, etc.)
3. **Generate the FFmpeg command** using the patterns below
4. **If output filename not specified**, create one based on the operation (e.g., `video_trimmed.mp4`)
5. **Always include** `-y` (overwrite) and `-hide_banner` for cleaner output

---

## Command Reference

### Cut/Trim Video

Extract a portion of video between two timestamps.

**User might say:** "cut video.mp4 from 1:21 to 1:35", "trim first 30 seconds", "extract 0:05:00 to 0:10:30"

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -ss START_TIME -to END_TIME -c copy "OUTPUT"
```

**Examples:**
- Cut from 1:21 to 1:35:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
  ```
- Extract first 2 minutes:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -ss 00:00:00 -to 00:02:00 -c copy "video_clip.mp4"
  ```

---

### Format Conversion

Convert between video formats: mp4, mkv, avi, webm, mov, flv, wmv.

**User might say:** "convert to mkv", "change format from avi to mp4", "make it a webm"

**Commands by format:**
```bash
# MP4 (most compatible)
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mp4"

# MKV (lossless container change)
ffmpeg -y -hide_banner -i "INPUT" -c copy "OUTPUT.mkv"

# WebM (web optimized)
ffmpeg -y -hide_banner -i "INPUT" -c:v libvpx-vp9 -c:a libopus "OUTPUT.webm"

# AVI
ffmpeg -y -hide_banner -i "INPUT" -c:v mpeg4 -c:a mp3 "OUTPUT.avi"

# MOV
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mov"
```

---

### Change Aspect Ratio

Resize video to different aspect ratios with letterboxing (black bars).

**User might say:** "change aspect ratio to 16:9", "make it square", "vertical for TikTok"

**Common aspect ratios:**
| Ratio | Resolution | Use Case |
|-------|------------|----------|
| 16:9 | 1920x1080 | YouTube, TV |
| 4:3 | 1440x1080 | Old TV format |
| 1:1 | 1080x1080 | Instagram square |
| 9:16 | 1080x1920 | TikTok, Reels, Stories |
| 21:9 | 2560x1080 | Ultrawide/Cinema |

**Command (with letterboxing):**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "OUTPUT"
```

**Examples:**
- 16:9 for YouTube:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_16x9.mp4"
  ```
- Square for Instagram:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_square.mp4"
  ```
- Vertical for TikTok:
  ```bash
  ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_vertical.mp4"
  ```

---

### Change Resolution

Resize video to standard resolutions.

**User might say:** "resize to 720p", "make it 4K", "downscale to 480p"

**Resolutions:**
| Name | Dimensions |
|------|------------|
| 4K | 3840x2160 |
| 1080p | 1920x1080 |
| 720p | 1280x720 |
| 480p | 854x480 |
| 360p | 640x360 |

**Command:**
```bash
ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT" -c:a copy "OUTPUT"

From IvanCampos/agents, MIT.

More from IvanCampos/agents

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Feb 7, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from IvanCampos

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ffmpeg-video-editor-h265 running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ffmpeg-video-editor-h265?

CallGet help
Cite this page

ffmpeg-video-editor-h265 skill. Agent Mart. https://agentmart.dev/skills/ivancampos-ffmpeg-video-editor-h265 (last updated 2026-10-24)