video-processing

Solid

Download, transcribe, analyze, and clip video content — vertical shorts, captions, thumbnails

AI & Automation 77 stars 13 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
63
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Video Processing ## Purpose Turn long-form video into processed outputs: transcripts, short clips, vertical format with captions, thumbnails. Uses FFmpeg, yt-dlp, and transcription services. All operations via shell commands. ## When to Use - User requests video clipping, transcription, or processing. - An evaluation or research task involves video content. - Content creation requires extracting highlights from longer video. - A surplus compute task involves video analysis. ## Prerequisites Required tools (install if missing): - `ffmpeg` and `ffprobe` — video processing - `yt-dlp` — video downloading from 1000+ sites - Transcription: YouTube auto-subs (free), or Groq/OpenAI Whisper API Check availability: ```bash which ffmpeg ffprobe yt-dlp 2>/dev/null ``` ## Pipeline ### Phase 1: Intake **From URL:** ```bash yt-dlp --dump-json "URL" 2>/dev/null | python3 -c " import sys, json d = json.load(sys.stdin) print(f'Title: {d[\"title\"]}') print(f'Duration: {d[\"duration\"]}s') print(f'Resolution: {d.get(\"width\",\"?\")}x{d.get(\"height\",\"?\")}') " ``` **From local file:** ```bash ffprobe -v quiet -print_format json -show_format -show_streams "file.mp4" ``` If duration > 2 hours, ask user to specify a segment range. ### Phase 2: Download ```bash # Best quality up to 1080p with audio yt-dlp -f "bv[height<=1080]+ba/b[height<=1080]" -o "source.mp4" "URL" # Also grab auto-subtitles if available (avoids transcription entirely) yt-dlp --write-auto-subs --sub-lang en --...

Details

Author
WingedGuardian
Repository
WingedGuardian/GENesis-AGI
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category