video-editing

Edit video files with FFmpeg for trimming, merging, subtitles, effects, and platform reformatting.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/AmirEmad11/instabot --skill video-editing-amiremad11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-editing
Source: https://github.com/AmirEmad11/instabot/tree/main/.local/secondary_skills/video-editing
Command: npx skills add https://github.com/AmirEmad11/instabot --skill video-editing-amiremad11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fluent-ffmpeg, multer, openai, and includes references (resource) components.

What problem does it solve? Editing videos server-side normally requires manual FFmpeg command knowledge and repetitive scripting. This Skill handles the full video editing workflow — from trimming and merging to AI-powered highlight detection and social media reformatting — so users can process videos through natural language requests. ## Core Features & Use Cases - Core Editing Operations: Trim, cut, merge, concatenate, add transitions, text overlays, subtitles, watermarks, and logo overlays using FFmpeg with H.264, H.265, VP9, and AV1 codec support. - Audio & Voiceover Workflows: Mix background music, extract or replace audio tracks, and generate AI voiceovers through the ElevenLabs integration. - AI-Powered Analysis: Score video segments or clips for virality potential using OpenAI or Gemini vision models, then auto-trim the best moments or assemble highlight reels. - Social Media Pipeline: Remove dead space, chunk long videos into platform-length clips, and reframe to platform-native aspect ratios (9:16 for TikTok/Reels/Shorts, 1:1 for Instagram Feed, 16:9 for YouTube). - Use Case: Upload a 10-minute recorded talk and ask for TikTok clips — the Skill removes silence, splits the video at natural break points into 10-45 second clips, scores each clip with AI, and reframes everything to 1080x1920 vertical format ready for posting. ## Quick Start Upload a video file and ask the assistant to trim it, add subtitles, or break it into TikTok-ready vertical clips.

Frequently Asked Questions about video-editing

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

FAQPage Schema
How do I trim a video with FFmpeg?

Use ffmpeg with -ss for start time and -to for end time, plus -c copy to avoid re-encoding. For frame-accurate cuts, re-encode with -c:v libx264 -c:a aac instead of stream copy.

How to convert a landscape video to vertical for TikTok?

Use FFmpeg's filter_complex with a blurred fill strategy: scale a blurred copy to 1080x1920 as background, scale the original to fit, and overlay it centered. This looks better than black bars for 16:9 to 9:16 conversion.

Can FFmpeg remove silence from video automatically?

The silenceremove filter only strips audio silence without cutting video frames. For proper dead space removal, use silencedetect to find silent intervals, extract the non-silent segments, and concatenate them back together.

Does this video editing approach support GPU acceleration?

No, Replit containers lack GPU access, so hardware encoders like NVENC and VAAPI are unavailable. Use software encoding with libx264, libx265, or libvpx-vp9, and prefer stream copy for large files.

Why does FFmpeg scene detection fail with ffprobe?

The ffprobe -f lavfi approach does not work reliably in Replit. Instead, run ffmpeg with select='gt(scene,threshold)' and showinfo filters, then parse pts_time values from stderr output.

What are the limitations of server-side FFmpeg video editing?

There is no real-time preview since FFmpeg processes offline, 4K encoding may hit memory limits, and disk space must be managed for large files. Generate short preview segments instead of live playback.