ffmpeg-usage

Convert, edit, compress, and transcribe audio and video files using ffmpeg commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/chhpt/skills --skill ffmpeg-usage-chhpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ffmpeg-usage
Source: https://github.com/chhpt/skills/tree/main/skills/ffmpeg-usage
Command: npx skills add https://github.com/chhpt/skills --skill ffmpeg-usage-chhpt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg.

What problem does it solve? Handling audio and video tasks like format conversion, compression, GIF creation, subtitle embedding, and transcription requires memorizing complex ffmpeg command syntax, which is error-prone and time-consuming for most users. ## Core Features & Use Cases - Format Conversion & Compression: Convert between MP4, WebM, MOV and other formats, resize resolution, and compress files with tuned CRF and codec settings. - Editing & Media Operations: Trim, concatenate, rotate, change playback speed, extract audio, create GIFs, burn or extract subtitles, and capture thumbnails. - Platform Presets & Transcription: Apply ready-made export presets for YouTube, Instagram, TikTok, and Twitter, plus transcribe audio to text via a local SenseVoice HTTP API. - Use Case: A content creator needs to turn a 4K screen recording into a 1080p web-optimized MP4, extract a 5-second GIF clip, and transcribe the narration into text for captions—all handled with verified commands. ## Quick Start Ask the assistant to convert your MOV file to MP4, create a GIF from a specific time range, or transcribe an audio file, and it will run the appropriate ffmpeg command or local transcription API call.

Frequently Asked Questions about ffmpeg-usage

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

FAQPage Schema
How do I convert MOV to MP4 with ffmpeg?

Use the command ffmpeg -i input.mov -c:v libx264 -c:a aac -strict experimental output.mp4 to re-encode with H.264 video and AAC audio. For a universal conversion from any format, use libx264 with CRF 23 and AAC at 128k bitrate.

How to create a high-quality GIF from a video?

Generate a color palette first with palettegen, then apply it with paletteuse in a second ffmpeg pass for accurate colors. Limit the frame rate to 10 fps and scale width to around 480 pixels to keep the GIF file size manageable.

Which ffmpeg method should I use to concatenate MP4 files?

For MP4, MOV, or MKV files, use the concat demuxer with a file list and -c copy to avoid re-encoding. The concat protocol only works with MPEG-TS, MP3, and AAC formats, while the concat filter is needed when inputs have different codecs or resolutions.

Does the transcription feature work without an internet connection?

Yes, transcription runs through a local HTTP API at 127.0.0.1:18923 using the SenseVoice Small model, so no internet connection is required. The model must be downloaded first (about 239 MB), and ffmpeg is needed for non-WAV audio formats.

What CRF value should I use for video compression?

CRF 23 is the default balance of quality and size, 18 is visually lossless, and 28 produces smaller files with acceptable quality. The scale runs from 0 (lossless) to 51 (worst quality), and higher presets like veryslow improve compression efficiency.

Why does my concatenated video have sync or playback issues?

Issues occur when concatenating files with mismatched codecs, resolutions, or timebases using stream copy. Re-encode with the concat filter instead, which normalizes all inputs into a single consistent output stream.