FFmpeg Video Editing

Automate cutting, trimming, and concatenating video files with FFmpeg.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill ffmpeg-video-editing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: FFmpeg Video Editing
Source: https://github.com/KaiserWhoLearns/skillsbench/tree/main/tasks/multilingual-video-dubbing/environment/skills/ffmpeg-video-editing
Command: npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill ffmpeg-video-editing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Video production and automation pipelines often require repetitive editing tasks. This skill provides a script-free approach to perform essential edits like cutting, trimming, concatenating, and splitting video files using FFmpeg, enabling reproducible results and faster turnaround.

Core Features & Use Cases

  • Cutting and trimming: extract precise segments from a video using start times and durations.
  • Concatenation: join multiple videos in sequence, with options for same-codec inputs or a file-list approach.
  • Splitting: divide a video into fixed-length parts for batch processing or episodic releases.
  • Precise editing: re-encode when needed for frame-accurate edits and compatibility across formats.

Quick Start

Cut input.mp4 from 00:00:10 to 00:00:30 and save it as output_cut.mp4.

Frequently Asked Questions about FFmpeg Video Editing

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

FAQPage Schema
How do I automate batch video editing tasks like trimming and cutting with FFmpeg?

FFmpeg concatenation joins multiple video files in sequence either by combining same-codec inputs directly or by utilizing a specified file-list approach. This automates the merging process for media production workflows requiring sequential clips.

What is the best way to split a video into fixed-length parts for batch processing?

The best way to split a video into fixed-length parts for batch processing is using FFmpeg to divide the file based on specified durations. This method supports episodic releases and ensures consistent segment lengths across the output files.

Do I need to re-encode videos for frame-accurate cutting and format compatibility?

Yes, you need to re-encode videos to achieve frame-accurate cutting and ensure format compatibility. Re-encoding processes the video frames directly, allowing precise edits when extracting specific segments that require exact boundaries.

Can I use FFmpeg for repetitive video edits without writing custom scripts?

Yes, you can use FFmpeg for repetitive video edits without writing custom scripts by leveraging a YAML frontmatter configuration. This provides a script-free approach to perform essential edits and enables faster turnaround in production pipelines.

Why does FFmpeg trimming result in inaccurate start times for some video formats?

FFmpeg trimming may result in inaccurate start times because it defaults to keyframe-based seeking for speed, which can skip frames. Re-encoding the video provides frame-accurate editing and resolves these boundary precision issues.