image-to-video

Featured

FFmpeg-based video creation from image and audio.

Code & Development 425 stars 46 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
88
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Image to Video Skill Combine a static image with an audio file to produce an MP4 via FFmpeg. Supports resolution presets, audio visualization overlays, and batch processing. For image generation, use `image-gen`. ## Deep References | Signal | Load | Why | |---|---|---| | FFmpeg filter graphs for visualization modes | `references/ffmpeg-filters.md` | Scale/pad, showwaves, showspectrum, overlay filters | ## Phase 1: VALIDATE 1. Check FFmpeg: `ffmpeg -version`. If missing, stop with install instructions. 2. Verify both input files exist with absolute paths and non-zero size. Supported: PNG/JPG/JPEG/GIF/WEBP/BMP (image), MP3/WAV/M4A/OGG/FLAC (audio). 3. Determine parameters from the user's request -- do not default to static when the user requested a visualization. | Preset | Dimensions | Platform | |--------|------------|----------| | `1080p` | 1920x1080 | YouTube HD (default) | | `720p` | 1280x720 | Standard HD | | `square` | 1080x1080 | Instagram, social | | `vertical` | 1080x1920 | Stories, Reels, TikTok | Visualization modes (off unless requested): `waveform`, `spectrum`, `cqt`, `bars`. **Gate**: FFmpeg installed, both files exist, parameters resolved. ## Phase 2: PREPARE Use the user's output path or derive from audio filename (`/same/dir/filename.mp4`). Verify directory is writable. ## Phase 3: ENCODE Defaults: libx264 preset medium, CRF 23, yuv420p, 192k AAC. ```bash python3 $HOME/vexjoy-agent/skills/content/image-to-video/scripts/image_to_video.py \ --im...

Details

Author
notque
Repository
notque/vexjoy-agent
Created
6 months ago
Last Updated
yesterday
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category