{"repo":"kamilstanuch/Autocrop-vertical","free":true,"listed":false,"github":"https://github.com/kamilstanuch/Autocrop-vertical","clone":"git clone https://github.com/kamilstanuch/Autocrop-vertical.git","description":"Smart video converter using YOLOv8 and FFmpeg to convert horizontal video to vertical 9:16 format for social media.","language":"Python","stars":318,"topics":["ffmpeg","instagram","social-media","tiktok","video","yolov8"],"license":null,"category":"media-processing","readme_excerpt":"AutoCrop-Vertical: Smart Video Cropper for Social Media Automatically converts horizontal videos into vertical format for TikTok, Instagram Reels, and YouTube Shorts. Instead of a static center crop, the script analyzes each scene using AI (YOLOv8), detects people, and decides whether to crop tightly on the subjects or letterbox to preserve the full shot. --- Quick Start The yolov8n.pt model weights are downloaded automatically on first run. Prerequisites: Python 3.8+ and FFmpeg ( ffmpeg + ffprobe ) in your PATH. --- Usage Examples --- All Flags Output: Flag Default Description ------ --------- ------------- -i , --input (required) Path to input video -o , --output (required) Path to output video ( .mp4 appended if no extension) --ratio 9:16 Output aspect ratio. Examples: 9:16 , 4:5 , 1:1 Encoding quality: Flag Default Description ------ --------- ------------- --quality balanced Preset: fast , balanced , or high (see table below) --encoder auto auto = libx264 (software), hw = hardware if available, or explicit name like h264 videotoolbox --crf (from quality) Override CRF directly, 0-51 lower = better (libx264 only) --preset (from quality) Override x264 preset directly: ultrafast .. veryslow (libx264 only) Quality presets (libx264): --quality CRF Preset Typical use ------------- ----- -------- ------------- fast 28 veryfast Quick previews, drafts balanced 23 fast Good quality, reasonable speed high 18 slow Best quality, largest file, slowest Scene detection tuning: Flag Defau","default_branch":null,"files":null,"tree":[],"storefront":"/r/kamilstanuch","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kamilstanuch/Autocrop-vertical/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}