Convex Hull Video Encoding Parameter Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Adaptive video streaming requires multiple encoded versions of a source video, leading to increased computational complexity and suboptimal video quality due to the need for significant adjustments in encoding parameters to reduce encoding times.
Innovation Solution
A system that uses a fast encoder to predict optimal encoding parameters by downsampled and encoding video segments, analyzing the results to determine optimal parameters, and then applying these parameters with a slower encoder to achieve faster overall encoding times while maintaining desired video quality.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple encoded versions of source video are created for adaptive video streaming, then video quality and adaptability are improved, but computational complexity increases significantly
Solution Approach 1:
The patent performs convex hull analysis and optimal parameter determination in advance during the encoding phase. By pre-calculating the optimal encoding parameters for different quality levels and resolutions, the system avoids performing complex optimizations during runtime when multiple encoded versions are needed, thus reducing real-time computational complexity while maintaining adaptability.
Solution Approach 2:
The patent creates a simplified model (convex hull) that represents the optimal encoding parameters for different quality levels. This model serves as a copy or approximation of the full encoding optimization problem, allowing the system to quickly determine appropriate parameters for adaptive streaming without solving the complete optimization problem each time, thereby reducing computational complexity.
2Productivity
If encoding parameters are significantly adjusted to reduce encoding times, then encoding speed is improved, but video quality becomes suboptimal
Solution Approach 1:
The patent systematically varies encoding parameters (such as quantization parameters, resolution levels, and compression ratios) to construct the convex hull that represents optimal parameter combinations for different quality requirements. By pre-determining these optimal parameter sets, the system can quickly select appropriate parameters during encoding without needing to perform time-consuming optimizations, thus maintaining both high encoding speed and optimal video quality.
Solution Approach 2:
The patent performs comprehensive parameter optimization and convex hull construction in advance during a setup phase. This preliminary action stores the optimal parameter combinations for various quality levels, allowing the encoding process to simply retrieve and apply pre-determined parameters rather than performing complex optimizations during actual encoding, thereby achieving both fast encoding and high video quality.
3Manufacturing precision
If a slow encoder is used to achieve optimal video quality, then manufacturing precision is improved, but encoding time increases
Solution Approach 1:
The patent performs the computationally intensive convex hull analysis and optimal parameter determination in advance during a setup phase, storing the results for quick retrieval. When actual encoding is needed, the system simply applies pre-determined parameters rather than performing time-consuming optimizations, thus achieving optimal video quality without the associated encoding time penalty.
Solution Approach 2:
The patent creates a simplified lookup model (convex hull representation) that captures the essential optimal parameter relationships. This model serves as a fast copy or approximation that allows the system to quickly determine appropriate encoding parameters without re-running complex optimization algorithms, thereby reducing encoding time while maintaining optimal video quality.
Data Source
AI summary
The disclosed computer-implemented method may include downsampling and encoding one or more video segments into a plurality of encoded segments with a first encoder using a plurality of encoding parameter value sets and decoding and upsampling the plurality of encoded segments to a plurality of decoded segments at an original resolution of the one or more video segments. The method may also include determining, based on analyzing the plurality of decoded segments, an optimal encoding parameter value set for the one or more video segments. The method may further include encoding the one or more video segments with a second encoder using the optimal encoding parameter value set. Various other methods, systems, and computer-readable media are also disclosed.


