Ffmpeg Video Toolkit

    by Vilva Athiban

    1

    Safe, tested ffmpeg recipes for everyday video jobs, with checks so the agent never overwrites the original or ships a broken file.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Ffmpeg Video Toolkit

    Example session with this skill installed

    Compress demo.mov to be under 25MB so I can send it over email. It is currently 200MB and 60 seconds long.

    • Read your context and instructions
    • Compiled the ffmpeg video toolkit

    I have analyzed demo.mov. It is a 60-second H.264 video with a bitrate that makes it 200MB. To get this under 25MB, I will target a total bitrate of approximately 3300 kbps using a two-pass encoding approach to ensure we hit the target size precisely.

    Video Compression Result

    MetricOriginal (demo.mov)Compressed (demo.out.mp4)Change
    Size200.0 MB24.2 MB-87.9%
    Resolution1920x10801280x720Scaled Down
    Bitrate28,000 kbps3,300 kbpsOptimized
    CodecH.264H.264 (libx264)-
    Duration00:01:0000:01:00No change

    The compression used a slow preset and a two-pass encode to maximize quality at this low bitrate. I also scaled the resolution to 720p, which is more appropriate for a 25MB target.

    Next steps

    1. Run open demo.out.mp4 to check the visual quality of the compressed file.
    2. If the text in the recording is too blurry, I can re-run with 1080p resolution and a higher CRF, though the file size may exceed 25MB.
    3. Delete the ffmpeg2pass-0.log file created during the process.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Video processing is often a source of friction for developers who need to quickly resize, trim, or compress assets without opening a heavy GUI. This skill provides a library of safe, battle-tested ffmpeg recipes to handle local video tasks directly from your terminal agent.

    What it does

    • Smart compression reduces file sizes for email or chat while maintaining visual clarity.
    • Platform formatting crops and scales video to 9:16 for Reels and TikTok or 16:9 for YouTube.
    • Precision trimming performs fast keyframe cuts or frame-accurate re-encoding.
    • Audio processing extracts tracks to MP3 or normalizes loudness to industry standards.
    • Enhancement tools applies light denoising, sharpening, and stabilization filters.
    • Format conversion handles MOV to MP4, GIF creation, and subtitle burn-in.

    How it works

    1. The agent probes the input file using ffprobe to check codec, bitrate, and dimensions.
    2. It generates a specific ffmpeg command based on your goal (e.g., target file size or specific crop).
    3. It runs a 10-second sample for complex filter chains to verify the output before processing the full file.
    4. The final job writes to a new file name to prevent accidental overwrites.

    Frameworks & tools

    This skill utilizes the ffmpeg and ffprobe command-line utilities. It supports various encoders including libx264, h264_videotoolbox for macOS, and h264_nvenc for NVIDIA hardware.

    Why this beats prompting it yourself

    Standard LLMs often hallucinate ffmpeg flags or suggest commands that overwrite your source files. This skill enforces a "safety-first" workflow with automated probing, sample runs, and size comparisons to ensure you don't waste time on broken exports.

    Use cases

    • Shrink a 4K screen recording to under 25MB for a Slack upload.
    • Convert a landscape demo video into a centered 9:16 vertical clip for social media.
    • Clean up grain and shaky camera movement from mobile footage.
    • Extract high-quality audio from a long webinar recording.

    Known limitations

    Requires ffmpeg and ffprobe installed on the local system path. Upscaling uses lanczos filters rather than AI-based generative models. Stabilization requires the vidstab build.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Permissions

    Write Files
    Network Access
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill streamlines video processing by using automated 'ffprobe' checks to determine the best settings, running short sample exports to verify quality, and ensuring output files never overwrite your original assets.

    The skill is compatible with any terminal-based AI agent that has permission to execute shell commands and access local files. It works across macOS, Windows, and Linux, provided ffmpeg is installed on the system path.

    Yes, the toolkit includes specialized recipes that detect hardware encoders like Apple's Videotoolbox or NVIDIA's NVENC to provide significantly faster processing speeds than standard CPU encoding.

    You receive the complete library of tested ffmpeg recipes, the automated probing logic, and the safety-check workflow. Updates to the recipes and additional filter configurations are included as the skill evolves.

    While most standard filters are included, advanced features like stabilization require the 'vidstab' library to be part of your local ffmpeg build. The skill will probe your installation to let you know if a specific filter is supported before attempting a task.

    New in Image & Video

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.