video-edit
Edit videos locally using ffmpeg. Trim, concat, resize, speed, overlay, extract audio, compress, and convert. Use when: (1) Trimming or cutting video segments, (2) Concatenating multiple clips, (3) Resizing video for social platforms, (4) Extracting or replacing audio, (5) Compressing video, (6) Con
By calesthio · 934 installs
npx skills add calesthio/openmontage --skill video-edit
Source repository · Upstream listing
Video Edit
Edit videos locally by running ffmpeg/ffprobe directly. No wrapper scripts needed.
Prerequisites
Install ffmpeg (includes ffprobe):
Quick Reference
Get video info
Trim
Concatenate clips
Resize for platform
Change speed
Extract audio
Replace audio
Compress
Convert format
Add image overlay
Platform Presets
Platform Resolution Scale + pad filter
TikTok 1080 x 1920 scale=1080:1920:force original aspect ratio=decrease,pad=1080:1920:(ow iw)/2:(oh ih)/2:black
YouTube 1920 x 1080 scale=1920:1080:force original aspect ratio=decrease,pad=1920:1080:(ow iw)/2:(oh ih)/2:black
Instagram 1080 x 1350 scale=1080:1350:force original aspect ratio=decrease,pad=1080:1350:(ow iw)/2:(oh ih)/2:black
Square 1080 x 1080 scale=1080:1080:force original aspect ratio=decrease,pad=1080:1080:(ow iw)/2:(oh ih)/2:black
Twitter/X 1920 x 1080 scale=1920:1080:force original aspect ratio=decrease,pad=1920:1080:(ow iw)/2:(oh ih)/2:black
Use the filter with: ffmpeg y i input.mp4 vf "<filter " c:a copy output.mp4
Tips
Always use y to overwrite output without prompting.
Use c copy when you only need to cut/join (no re encoding, very fast).
Lower CRF = better quality, larger file. Range 18 28 is typical; 23 is the default.
For detailed recipes and flag explanations, see references/operations.md .