ffmpeg
Process video/audio files using FFHub.io cloud FFmpeg API. Use when the user wants to convert, compress, trim, resize, extract audio, generate thumbnails, or perform any FFmpeg operation on media files.
Why use this skill?
Automate video and audio processing with the FFmpeg skill for OpenClaw. Easily convert, compress, and edit media files using the powerful FFHub.io cloud API.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gangbo/ffhub-ffmpegWhat This Skill Does
The ffmpeg skill provides a powerful interface to the FFHub.io cloud transcoding API, enabling OpenClaw agents to perform complex video and audio processing tasks without local resource strain. Whether you need to compress large files, convert media formats, extract audio tracks, or generate frame thumbnails, this skill automates the entire lifecycle: uploading local files to secure cloud storage, constructing validated FFmpeg command-line arguments, executing the transcoding tasks on the cloud infrastructure, and retrieving the processed assets upon completion.
Installation
To integrate this functionality into your environment, use the OpenClaw management CLI:
clawhub install openclaw/skills/skills/gangbo/ffhub-ffmpeg
After installation, ensure you have a valid FFHub API key. You can retrieve this by visiting https://ffhub.io, navigating to your Settings > API Keys, and setting the environment variable in your terminal session via export FFHUB_API_KEY=your_key_here. The agent will verify this key before attempting any media operations.
Use Cases
This skill is ideal for developers and content creators who need to integrate media manipulation into their workflows. Common scenarios include:
- Media Optimization: Compressing high-bitrate video files for web delivery or email attachments.
- Transcoding: Changing legacy formats (e.g., .avi or .mov) to web-optimized containers like .mp4 or .webm.
- Audio Extraction: Pulling high-quality audio tracks from video files for podcasts or sound snippets.
- Content Previewing: Automatically generating thumbnails or GIFs from video files for social media or documentation.
Example Prompts
- "Compress the video file at /home/user/videos/presentation.mp4 so it's under 50MB and optimized for the web."
- "Extract the audio from this video and convert it to a 128kbps mp3 file: https://example.com/lecture.mkv"
- "Convert this video to an animated GIF for use in a README file."
Tips & Limitations
- Security: The skill requires internet access to communicate with the FFHub API. Always ensure your environment variables are stored securely.
- File Size: Note that the upload service has a hard limit of 1GB per file.
- Best Practices: Always prefer public URLs for inputs when available to save on local bandwidth and upload time.
- Cleanup: Uploaded files persist for 24 hours on the FFHub cloud; ensure you download your processed results promptly.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-gangbo-ffhub-ffmpeg": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api