Shot Collation for Video Encoding Task Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional shot-based distributed encoding systems face inefficiencies due to a large number of encoding tasks required for real-time video delivery, leading to increased bandwidth and memory requirements, which can result in system performance degradation and potential failure when handling multiple source video sequences.

Innovation Solution

The system partitions source video sequences into chunks based on collation criteria, assigning shot sequences to chunks and distributing encoding tasks to encoding instances, reducing the number of separate encoding tasks and optimizing resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If shot-based distributed encoding system generates separate encoding tasks for each shot across multiple encoded video sequences, then encoding quality and adaptability to different viewing devices are improved, but the number of encoding tasks increases significantly, leading to increased bandwidth and memory requirements

Engineering Contradiction:
Improveadaptability to different viewing devicesVSAvoidnumber of encoding tasks
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent combines multiple shot sequences into single encoding tasks by identifying and merging consecutive shots that share similar encoding characteristics. Instead of creating separate tasks for each shot, the system merges adjacent shots into consolidated tasks that can be processed together, significantly reducing the total number of encoding tasks while maintaining shot-specific encoding quality.

Inventive Principle:
Principle #5Merging (Combining)

2Adaptability or versatility

If the number of encoding tasks is increased to provide multiple encoded video sequences for different quality levels and resolutions, then service coverage and client compatibility are improved, but system performance deteriorates due to increased bandwidth and memory requirements

Engineering Contradiction:
Improveservice coverageVSAvoidsystem performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system merges encoding tasks to reduce the total number of tasks processed by the centralized messaging subsystem. By consolidating multiple shots into single tasks, the system reduces bandwidth consumption for task transmission and memory usage for task storage, thereby improving overall system performance while still supporting multiple quality levels and resolutions.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent segments the encoding process into two levels: shot-level segmentation for quality optimization and task-level consolidation for performance optimization. Within each merged task, shot-specific encoding parameters are still applied individually, but the tasks themselves are grouped to reduce system overhead.

Inventive Principle:
Principle #1Segmentation

3Productivity

If shot-based encoding system processes multiple source video sequences simultaneously, then productivity and real-time delivery capability are improved, but the system may fail due to memory exhaustion in the task queue

Engineering Contradiction:
Improvereal-time delivery capabilityVSAvoidsystem stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

By merging multiple shot sequences into fewer consolidated tasks, the system reduces the memory footprint required in the task queue. This allows the system to handle multiple source video sequences simultaneously without risking memory exhaustion, thereby improving reliability while maintaining real-time delivery capability.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11539966B2Techniques for optimizing encoding tasks
Publication Date: 2022.12.27 NETFLIX INC
  • US11539966B2 patent drawing
  • US11539966B2 patent drawing
  • US11539966B2 patent drawing

AI summary

In various embodiments, a shot collation application causes multiple encoding instances to encode a source video sequence that includes at least two shot sequences. The shot collation application assigns a first shot sequence to a first chunk. Subsequently, the shot collation application determines that a second shot sequence does not meet a collation criterion with respect to the first chunk. Consequently, the shot collation application assigns the second shot sequence or a third shot sequence derived from the second shot sequence to a second chunk. The shot collation application causes a first encoding instance to independently encode each shot sequence assigned to the first chunk. Similarly, the shot collation application causes a second encoding instance to independently encode each shot sequence assigned to the second chunk. Finally, a chunk assembler combines the first encoded chunk and the second encoded chunk to generate an encoded video sequence.