Adaptive Multi-Pass Video Encoding for Artifact Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing video encoding technologies face challenges in balancing video quality and compression efficiency, particularly in reducing visible compression artifacts like banding and contouring, especially when encoding higher definition videos for diverse display sizes and network conditions.

Innovation Solution

Adaptive multi-pass risk-based video encoding using a neural network to assess the risk of compression artifacts in video segments and adjust encoding parameters accordingly, recommending less aggressive encoding for segments prone to artifacts and more aggressive encoding for segments with lower risk, thereby optimizing storage, transmission, and playback quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If higher strength of compression is applied to video data during encoding, then storage and transmission efficiency is improved, but visible compression artifacts increase and video quality deteriorates

Engineering Contradiction:
Improvestorage and transmission efficiencyVSAvoidvideo quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The video content is divided into multiple segments or regions, and each segment is encoded with a different compression strength based on its visual importance. Critical regions with less detail or lower perceptual importance use higher compression, while important regions maintain lower compression to preserve quality.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different portions of the video frame are assigned different quality levels based on local visual characteristics. Regions with fine details, high contrast, or semantic importance are encoded with higher quality (lower compression), while uniform or less important regions use lower quality (higher compression) settings.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If lower strength of compression is applied to video data during encoding, then video quality is improved, but storage and transmission efficiency deteriorates

Engineering Contradiction:
Improvevideo qualityVSAvoidstorage and transmission efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The video is segmented into regions of varying importance, allowing the system to apply aggressive compression only to non-critical segments while maintaining high quality in important segments, thus achieving overall efficiency improvement without sacrificing essential video quality.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encoding parameters such as quantization step size, bitrate, and compression ratio are dynamically adjusted based on the local visual content characteristics. This allows the system to optimize the balance between quality and efficiency for each specific region rather than using a uniform compression level throughout.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If higher definition video is encoded, then video quality is improved, but compression artifacts become more visible especially on larger displays

Engineering Contradiction:
Improvevideo qualityVSAvoidvisible compression artifacts
Core Design Contradiction:
Manufacturing precisionVSObject-affected harmful factors

Solution Approach 1:

The encoding process identifies and protects regions that are more susceptible to visible artifacts, such as high-contrast edges, fine textures, and semantically important areas. These regions receive higher quality encoding with artifact-reduction techniques, while other regions use standard compression.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs preliminary analysis of the video content to identify regions that are prone to compression artifacts before encoding. Pre-distortion or pre-processing techniques are applied to these identified regions to prevent artifact formation during the compression process.

Inventive Principle:
Principle #9Preliminary anti-action

4Productivity

If more aggressive encoding scheme is used, then data transmission and storage is optimized, but video quality and artifact reduction deteriorates

Engineering Contradiction:
Improvedata transmission efficiencyVSAvoidvideo quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The video stream is divided into segments that are prioritized based on visual importance and network conditions. Critical segments are transmitted with higher quality encoding while less critical segments use more aggressive compression, enabling efficient bandwidth utilization without overall quality degradation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encoding scheme is made dynamic and adaptive, adjusting compression parameters in real-time based on network bandwidth availability, buffer status, and content characteristics. This allows the system to switch between aggressive and conservative encoding strategies to optimize both transmission efficiency and video quality under varying conditions.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11259040B1Adaptive multi-pass risk-based video encoding
Publication Date: 2022.02.22 AMAZON TECH INC
  • US11259040B1 patent drawing
  • US11259040B1 patent drawing
  • US11259040B1 patent drawing

AI summary

Devices and methods are provided for adaptive multi-pass risk-based video encoding. A device may receive a segment of video frames encoded using first encoding parameters. The device may determine a group of pixels in a first video frame of the video frames. The device may determine characteristics associated with the group of pixels and may determine, based on the characteristics and a number of pixels in the group of pixels, a score associated with the segment, wherein the score is indicative of a visibility of banding compression artifact. The device may determine, based on the score, second encoding parameters associated with encoding the segment.