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/digitalsamba-ffmpeg
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.
About
Use cases: productivity, audio-video
Reviews
Write a reviewNo 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
What's inside
- Skill name
ffmpeg- Description
- Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.
- License
- MIT
- Instructions
- 429 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- reference.md
SKILL.md (first lines)
# FFmpeg for Video Production FFmpeg is the essential tool for video/audio processing. This skill covers common operations for Remotion video projects. ## Quick Reference ### GIF to MP4 (Remotion-compatible) ```bash ffmpeg -i input.gif -movflags faststart -pix_fmt yuv420p \ -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" output.mp4 ``` **Why these flags:** - `-movflags faststart` - Moves metadata to start for web streaming - `-pix_fmt yuv420p` - Ensures compatibility with most players - `scale=trunc(...)` - Forces even dimensions (required by most codecs) ### Resize Video ```bash # To 1920x1080 (maintain aspect ratio, add black bars) ffmpeg -i input.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" output.mp4 # To 1920x1080 (crop to fill) ffmpeg -i input.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=increase,crop=1920:1080" output.mp4 # Scale to width, auto height ffmpeg -i input.mp4 -vf "scale=1280:-2" output.mp4 ``` ### Compress Video ```bash # Good quality, smaller file (CRF 23 is default, lower = better quality) ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k output.mp4 # Aggressive compression for web preview ffmpeg -i input.mp4 -c:v libx264 -crf 28 -preset fast -c:a aac -b:a 96k output.mp4 # Target file size (e.g., ~10MB for 60s video = ~1.3Mbps) ffmpeg -i input.mp4 -c:v libx264 -b:v 1300k -c:a aac -b:a 128k output.mp4 ``` ### Extract Audio ```bash # Extract to MP3 ffmpeg -i input.mp4 -vn -acodec libmp3lame -q:a 2 output.mp3 # Extract to AAC ffmpeg -i input.mp4 -vn -acodec aac -b:a 192k output.m4a # Extract to WAV (uncompressed) ffmpeg -i input.mp4 -vn output.wav ``` ### Convert Audio Formats ```bash # M4A to MP3 (for ElevenLabs voice samples) ffmpeg -i input.m4a -codec:a libmp3lame -qscale:a 2 output.mp3 # WAV to MP3 ffmpeg -i input.wav -codec:a libmp3lame -b:a 192k output.mp3 # Adjust volume ffmpeg -i input.mp3 -filter:a "volume=1.5" output.mp3 ``` ### Trim/Cut Video ```bash # Cut from timestamp to duration (recommended - reliable) ffmpeg -i input.mp4 -ss 00:00:30 -t 00:00:15 -c:v libx264 -c:a aac output.mp4 # Cut from timestamp to timestamp ffmpeg -i input.mp4 -ss 00:00:30 -to 00:00:45 -c:v libx264 -c:a aac output.mp4 # Stream copy (faster but may lose frames at cut points) # Only use when source has frequent keyframes ffmpeg -i input.mp4 -ss 00:00:30 -t 00:00:15 -c copy output.mp4 ``` **Note:** Re-encoding is recommended for trimming. Stream copy (`-c copy`) can silently drop video if the seek point doesn't align with a keyframe. ### Speed Up / Slow Down ```bash # 2x speed (video and audio) ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4 # 0.5x speed (slow motion) ffmpeg -i input.mp4 -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" output.mp4 # Video only (no audio) ffmpeg -i input.mp4 -filter:v "setpts=0.5*PTS" -an output.mp4 ``` ### Concatenate Videos ```bash # Create file list echo "file 'clip1.mp4'" > list.txt echo "file 'clip2.mp4'" >> list.txt echo "file 'clip3.mp4'" >> list.txt # Concatenate (same codec/resolution) ffmpeg -f concat -safe 0 -i list.txt -c copy output.mp4 # Concatenate with re-encoding (different sources) ffmpeg -f concat -safe 0 -i list.txt -c:v libx264 -c:a aac output.mp4 ``` ### Add Fade In/Out ```bash # Fade in first 1 second, fade out last 1 second (30fps video) ffmpeg -i input.mp4 -vf "fade=t=in:st=0:d=1,fade=t=out:st=9:d=1" -c:a copy output.mp4
From digitalsamba/claude-code-video-toolkit, MIT.
More from digitalsamba/claude-code-video-toolkit
- 0.833score
acestep
digitalsamba
AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction, audio repainting, and continuation for video production.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
synthetic-ui-demo
digitalsamba
Product demo and release-notes videos with no screen recording.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
runpod
digitalsamba
Cloud GPU processing via RunPod serverless.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
qwen-edit
digitalsamba
AI image editing prompting patterns for Qwen-Image (Qwen-Image-Edit-2511 by default, Qwen-Image-2.1 as a non-commercial Modal opt-in).
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
ltx2
digitalsamba
AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
ideogram4
digitalsamba
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
elevenlabs
digitalsamba
Generate AI voiceovers, sound effects, and music using ElevenLabs APIs.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.829score
remotion
digitalsamba
Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.829score
playwright-recording
digitalsamba
Record browser interactions as video using Playwright.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.828score
moviepy
digitalsamba
Python video composition with moviepy 2.x — overlaying deterministic text on AI-generated video (LTX-2, SadTalker), compositing clips, single-file build.py…
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.818score
remotion-best-practices
digitalsamba
Router for all Remotion skills
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.704score
video_toolkit
digitalsamba
Create professional videos autonomously using claude-code-video-toolkit — AI voiceovers, image generation, music, talking heads, and Remotion rendering.
SkillAFreshness: A★ 2.3KClaude Code +9
Signals
- Stars
- 2,330
- Forks
- 395
- Open issues
- 2
- Last commit (this folder)
- Jan 26, 2026 (9 months ago)
- Last release
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from digitalsamba
- 0.833score
synthetic-ui-demo
digitalsamba
Product demo and release-notes videos with no screen recording.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
runpod
digitalsamba
Cloud GPU processing via RunPod serverless.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
qwen-edit
digitalsamba
AI image editing prompting patterns for Qwen-Image (Qwen-Image-Edit-2511 by default, Qwen-Image-2.1 as a non-commercial Modal opt-in).
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
ltx2
digitalsamba
AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
ideogram4
digitalsamba
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions.
SkillAFreshness: A★ 2.3KClaude Code +9 - 0.833score
elevenlabs
digitalsamba
Generate AI voiceovers, sound effects, and music using ElevenLabs APIs.
SkillAFreshness: A★ 2.3KClaude Code +9
Cite this page
ffmpeg skill. Agent Mart. https://agentmart.dev/skills/digitalsamba-ffmpeg (last updated 2026-10-24)