video-edit

Edit video files locally with ffmpeg for trimming, concatenation, resizing, and format conversion.

1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill video-edit-shige1014-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-edit
Source: https://github.com/shige1014-dev/backup-OpenMontage/tree/main/.agents/skills/video-edit
Command: npx skills add https://github.com/shige1014-dev/backup-OpenMontage --skill video-edit-shige1014-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a concise, battle-tested reference for performing common local video editing tasks with ffmpeg so users can trim, join, resize, change speed, overlay graphics, extract or replace audio, compress, and convert formats without guessing flags or workflows.

Core Features & Use Cases

  • Trim & Concatenate: Use stream copy for fast keyframe-aware cuts and concat demuxer for joining multiple clips.
  • Platform Presets & Resize: Scale and pad videos to exact platform dimensions such as TikTok, YouTube, and Instagram with centered padding.
  • Speed, Audio, Overlay & Convert: Change playback speed with setpts/atempo, extract or replace audio tracks, add logo overlays with positioning and opacity, compress via CRF or target bitrate, and convert between containers and formats including GIF and WebM.
  • Use Case Example: Prepare a social post by trimming a raw clip, concatenating B-roll, resizing to vertical, adding a watermark, and applying CRF compression for upload-ready output.

Quick Start

Trim a segment from source.mp4, concatenate it with clip2.mp4, resize to the TikTok preset, overlay logo.png, and export a compressed output file using ffmpeg.

Frequently Asked Questions about video-edit

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

FAQPage Schema
How do I trim and concatenate video clips locally using ffmpeg?

You can resize and pad videos to exact platform dimensions using ffmpeg scale and pad filters, applying centered padding to fit TikTok, YouTube, and Instagram export presets.

Can I extract or replace audio in a video file with ffmpeg?

Yes, you can extract or replace audio tracks in video files using ffmpeg, isolating sound streams or swapping audio directly into the video container format.

What is the best way to compress a video for upload using CRF?

Compress video for upload using CRF-based compression or target bitrate settings in ffmpeg to reduce file size while maintaining acceptable quality for platform exports.

Do I need to install ffmpeg locally to change video playback speed?

Yes, you need a local ffmpeg and ffprobe installation to change video playback speed, using setpts and atempo filters to adjust video and audio timing.

How do I overlay a logo image onto a video with ffmpeg filter_complex?

Overlay a logo onto a video using the ffmpeg overlay filter_complex, specifying precise screen positioning and opacity for watermark placement during local editing.

Does ffmpeg support converting videos to GIF and WebM formats?

Yes, ffmpeg supports converting video files between containers and formats, including exporting directly to GIF and WebM using standard codec options.