This article details Netflix's scalable, automated pipeline for generating multi-ratio video variants, primarily for mobile feeds and marketing. It discusses the system's architecture, which involves shot detection, focus region discovery, and temporal reframing, to intelligently crop and reframe horizontal cinematic content into vertical and other aspect ratios. The solution integrates algorithmic processing with tools for editorial oversight, significantly reducing manual effort and improving content delivery across diverse platforms.
Read original on Netflix Tech BlogNetflix faced a significant scalability problem: manually reframing vast amounts of cinematic 16:9 video content into vertical (9:16), 4:5, and 1:1 aspect ratios for mobile feeds and marketing campaigns was labor-intensive and unsustainable. This challenge required an automated yet intelligent solution that could understand video content and maintain creative intent during transformation.
Netflix developed a three-stage automated pipeline to address multi-ratio video resizing. This system processes each asset in a single pass to generate multiple aspect-ratio variants without additional computational overhead. The core idea is to treat video resizing as a tracking and temporal optimization problem, mimicking a "virtual camera".
System Design Insight
This pipeline demonstrates a common pattern in large-scale media processing: breaking down a complex task (intelligent video reframing) into sequential, specialized stages. Each stage addresses a specific sub-problem (segmentation, content analysis, motion smoothing) using optimized algorithms, allowing for modularity and efficient resource utilization.
The resizing algorithm is integrated directly into Netflix's internal Clips tool, providing editors and producers with an intuitive interface to automatically generate multiple aspect-ratio versions. It also allows for review and targeted manual adjustments. For advanced use cases, resizing parameters can be exported as XML for use in external timeline editors like Adobe Premiere, enabling agencies and partners to leverage the algorithm's high-quality initial crops, significantly reducing manual effort while preserving creative control.