Before you start
This workflow follows the maintainer’s landscape-to-Reels example. Use it for one locally owned clip before adapting it to batches.
- What you’ll make
- A vertical MP4, a review contact sheet, and media metadata.
- What you’ll need
- Node.js 16+, Python 3.10+, FFmpeg, FFprobe, and a clip you have permission to edit.
Step by step
Install only for your agent
On a machine with FFmpeg already installed, read the setup instructions and review the installer. The Codex option targets Codex. Run doctor before editing and check the capabilities used by fit, export, check and look.
Choose a safe crop
Probe source.mp4 for dimensions, rotation, duration and audio. Choose a short segment with the subject near center. Start with fit.py using a 9:16 crop; if the subject or captions get cut off, adjust framing or use a padded output instead.
Export a new file
Use the project’s Reels preset via export.py. Keep the original file intact and save the result as reel.mp4. Leave speech recognition off for this first export.
Review the result
Run check.py for Reels and look.py for a contact sheet. Confirm 1080 × 1920 and 30 fps in FFprobe. Inspect the start, end and representative frames; listen for missing or clipped audio.
Commands
npx ffmpeg-skill --codex
npx ffmpeg-skill doctor --json
ffprobe -v error -show_entries stream=codec_name,width,height,r_frame_rate -of json reel.mp4Sign-in & permissions
No social login, API key, or upload is needed for local editing. Agent installation changes skill configuration; approve that first. The broad setup command can also install system FFmpeg. Optional transcription may download model weights.
In the skill documentation, each tool has a help screen. Follow the installed revision’s arguments when invoking scripts directly.
Prompt for your agent
Use with: Codex with Node.js, Python and FFmpeg
Copy the whole prompt into a supported agent. After any manual step, tell the same agent to continue from that step.
Use a clean project folder for this workflow: Turn landscape footage into a vertical Reel. Supported setup: Codex with Node.js, Python and FFmpeg. Start from the original documentation: https://github.com/kajisho5/ffmpeg-skill#quick-start.
1. SET UP
Check Node.js, Python, FFmpeg and FFprobe first. For Codex, use the documented --codex install and doctor commands below after approval. Do not run the global setup or install missing system components without asking.
Documented commands or code reference (respect the comments and replace placeholders before running individual commands):
npx ffmpeg-skill --codex
npx ffmpeg-skill doctor --json
ffprobe -v error -show_entries stream=codec_name,width,height,r_frame_rate -of json reel.mp4
2. PAUSE FOR ME IF NEEDED
For a host install, sign-in, permission screen, or model download that needs my consent, stop and tell me the exact app, control and what will be authorized. Do not enter passwords, OTPs or secrets in chat. Resume after I confirm.
3. BUILD THE FIRST RESULT
Use the FFmpeg Skill from https://github.com/kajisho5/ffmpeg-skill in my current coding agent. Ask before installation. Use my local source.mp4, keep it unchanged, and make reel.mp4 using the official 9:16 fit and Reels export preset. Inspect the crop with a contact sheet, run the Reels check and show FFprobe metadata. Ask if the subject cannot be kept in frame. Do not transcribe, upload or post.
4. CHECK THE RESULT
Return the Reels check, contact sheet and FFprobe dimensions for reel.mp4. Give me the actual file paths and anything that still needs a manual action. Do not publish or make a purchase.
