ffmpeg

Automates FFmpeg media processing to convert, resize, compress, and extract audio for Remotion projects.

1.9k|321|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/digitalsamba/claude-code-video-toolkit --skill ffmpeg-digitalsamba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg
Source: https://github.com/digitalsamba/claude-code-video-toolkit/tree/main/.claude/skills/ffmpeg
Command: npx skills add https://github.com/digitalsamba/claude-code-video-toolkit --skill ffmpeg-digitalsamba

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FFmpeg provides a unified interface to perform video and audio transformations, enabling you to convert formats, resize, compress, extract audio, and prepare assets for Remotion projects without manual scripting.

Core Features & Use Cases

  • Format conversion: GIF to MP4, MOV to MP4, and other container/formats.
  • Resizing and encoding: adjust resolution and codec for web-ready assets.
  • Asset preparation: extract audio, compress files, and generate Remotion-ready inputs.

Example: Given a source video, convert to 1920x1080 MP4 and extract its audio track to MP3 for VO.

Quick Start

Use the ffmpeg skill to convert a GIF to MP4, resize a video to 1280x720, and extract audio from a clip, for example: ffmpeg -i input.gif -movflags faststart -pix_fmt yuv420p -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 output.mp4 ffmpeg -i input.mp4 -vf "scale=1280:720" -c:v libx264 -crf 23 -preset medium output-720p.mp4 ffmpeg -i input.mp4 -vn -acodec aac -b:a 192k output-audio.m4a

Frequently Asked Questions about ffmpeg

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

FAQPage Schema
How do I convert a GIF to MP4 for web playback?

You can convert a GIF to MP4 using FFmpeg by applying the faststart movflag, setting the yuv420p pixel format, and scaling dimensions to even numbers, resulting in a web-ready MP4 video file.

What is the best way to resize a video to 1080p for Remotion?

Resizing a video to 1080p for Remotion involves using FFmpeg to apply a scale video filter and encode with the libx264 codec, generating a properly formatted MP4 asset ready for import.

How do I extract audio from a video clip to MP3?

You can extract audio from a video clip using FFmpeg by disabling the video track with the -vn flag and encoding the audio stream, yielding a standalone audio file like M4A or MP3.

Do I need FFmpeg installed to process video and audio assets?

Yes, you need the FFmpeg command-line tooling installed locally, because this skill automates media processing by generating and returning explicit FFmpeg commands and execution steps for your pipeline.

Can I use this skill to prepare media assets for Remotion projects?

Yes, you can prepare Remotion-ready inputs by transforming source media into compatible formats, resizing resolutions like 1280x720, and extracting audio tracks for video compositions.