🎬 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

  1. Upload a horizontal video
  2. Select output aspect ratio (9:16, 4:5, or 1:1)
  3. Choose quality preset (balanced, high, or fast)
  4. Click "Convert Video"
  5. 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

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support