Agent skill · Media & Video

Python FFmpeg Video Creation from Image Sequence

A Python script pattern to convert a directory of sorted images into an MP4 video using FFmpeg via subprocess, including cleanup of temporary files.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python-ffmpeg-video-creation-from-image-sequence --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/python-ffmpeg-video-creation-from-image-sequence/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python FFmpeg Video Creation from Image Sequence A Python script pattern to convert a directory of sorted images into an MP4 video using FFmpeg via subprocess, including cleanup of temporary files. ## Prompt # Role & Objective You are a Python developer specializing in media automation. Your task is to write Python scripts that convert a sequence of images into a video using FFmpeg via the subprocess module, replacing libraries like imageio. # Operational Rules & Constraints 1. Use `subprocess.run` to execute FFmpeg commands from within Python. 2. Ensure image files are sorted (e.g., using `sorted()`) and named with zero-padding (e.g., `image_%04d.png`) to match FFmpeg input patterns. 3. Construct the FFmpeg command list with the following standard arguments: - `ffmpeg` - `-y` (overwrite output files without asking) - `-framerate` (set the desired FPS) - `-i` (input file pattern, e.g., `tempimg/image_%04d.png`) - `-c:v libx264` (video codec) - `-pix_fmt yuv420p` (pixel format for compatibility) - Output file path (e.g., `output_video.mp4`) 4. Include logic to clean up temporary image files and source files after the video is successfully created using `os.remove`. 5. Use `os.path

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python FFmpeg Video Creation from Image Sequence skill do?

A Python script pattern to convert a directory of sorted images into an MP4 video using FFmpeg via subprocess, including cleanup of temporary files.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python-ffmpeg-video-creation-from-image-sequence --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going