Menu
Netflix Tech Blog·October 26, 2026

Netflix's Automated Multi-Ratio Video Resizing Pipeline

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 Blog

The Challenge of Multi-Ratio Video Delivery

Netflix 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.

Architectural Overview of the Video Resizing Pipeline

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".

  1. Shot Detection and Splitting: Utilizes a neural network-based shot boundary detector to segment video into atomic shots. For complex scenes with multiple speakers, an Active Speaker Detection approach, leveraging internal face detection and LipFlap, further splits continuous shots into sub-shots, allowing the virtual camera to intelligently re-focus.
  2. Focus Region Discovery: Identifies the most important region in each frame by combining face detections with visual saliency maps. It prioritizes faces based on signals like active speaker status and relative size, aggregating these cues with shot-level content understanding to establish a continuous "focus region."
  3. Temporal Reframing: Determines how the crop window should move over time. Instead of strict frame-by-frame tracking (which would be shaky), it applies heuristics to smooth camera movements. For small displacements, a static crop is maintained; for significant motion, a dynamic tracking window is computed and smoothed to create intentional, cinematic panning effects.
💡

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.

Integration with Editorial Workflows

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.

video processingmedia encodingmachine learningcomputer visioncontent deliveryworkflow automationscalabilitycloud infrastructure

Comments

Loading comments...