🎬 AutoCrop Vertical
Smart video converter using YOLOv8 and FFmpeg that automatically converts horizontal videos into vertical format for TikTok, Instagram Reels, and YouTube Shorts.
Instead of a static center crop, it analyzes each scene using AI (YOLOv8), detects people, and decides whether to crop tightly or letterbox to preserve the full shot.
How to Use
- Upload a horizontal video
- Select output aspect ratio (9:16, 4:5, or 1:1)
- Choose quality preset (balanced, high, or fast)
- Click "Convert Video"
- Download the vertically cropped result
Technical Details
- Uses YOLOv8 for person detection
- FFmpeg for video processing
- Scene detection to optimize cropping per segment
- Gradio interface for easy web interaction
Example
Input: Horizontal video (16:9)
Output: Vertical video (9:16) with intelligent cropping to keep subjects in frame
Built with ❤️ using Hugging Face Spaces
Rebuild trigger: Tue Apr 28 07:38:27 UTC 2026