Adaptive Intra Refresh Encoding for Bitrate Spike Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

H.264 encoding and similar standards face a significant bitrate spike due to large I-frame vs P-frame size ratios, particularly in surveillance systems, leading to an undesirable bitrate penalty when using periodic intra refresh to spread I-frames across multiple frames.

Innovation Solution

A method dynamically selects the size of the intra encoding region based on the level of motion in the image frame, adjusting the intra refresh padding by expanding the intra encoding region when motion exceeds a threshold to minimize bitrate penalties, allowing for efficient encoding of I-blocks and P-blocks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If periodic intra refresh is used to spread I-frames across multiple frames, then the bitrate spike problem is reduced, but a bitrate penalty is incurred due to unnecessary I-block encoding

Engineering Contradiction:
Improvebitrate stabilityVSAvoidbitrate penalty
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent applies dynamics by making the intra refresh region size adaptive rather than fixed. The encoder dynamically adjusts the size of the intra refresh region based on the detected motion level in the current frame. When motion is low, a smaller region is used; when motion is high, a larger region is used. This dynamic adaptation resolves the contradiction by optimizing the balance between bitrate stability and bitrate penalty based on actual scene conditions.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of intra refresh region size based on motion level. By monitoring motion estimation results and adjusting the intra refresh region size accordingly, the system transforms a static parameter into a dynamic one that adapts to scene content. This parameter change allows the system to minimize bitrate penalty while maintaining bitrate stability through selective intra encoding.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the intra refresh region is expanded to overlap with previously encoded regions, then block matching algorithm performance is improved, but encoding efficiency decreases

Engineering Contradiction:
Improveblock matching performanceVSAvoidencoding efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies local quality by differentiating the encoding approach for different regions of the frame. Instead of uniformly expanding the intra refresh region, the system selectively expands it only in areas where motion detection indicates it is necessary. This local adaptation ensures that block matching performance is improved only where needed, while preserving encoding efficiency in regions where motion is minimal.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements partial action by applying intra refresh region expansion only partially - specifically in regions where motion exceeds a certain threshold. Rather than expanding the intra refresh region uniformly across the entire frame, the system applies the expansion selectively to local areas, thereby achieving improved block matching performance only where necessary while maintaining overall encoding efficiency.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11025906B2Method for intra refresh encoding of a plurality of image frames
Publication Date: 2021.06.01 AXIS
  • US11025906B2 patent drawing
  • US11025906B2 patent drawing
  • US11025906B2 patent drawing

AI summary

Video encoding is provided using periodic intra refresh, which can adapt padding of an intra encoding region between image frames based on a current level motion in the image frame. Upon a current level of motion not exceeding a first threshold, an intra encoding region of the image frame according to a predefined periodic intra refresh pattern is intra encoded. Upon the current level of motion exceeding the first threshold, the intra encoding region of the image frame is expanded to overlap to a determined extent with a previously encoded intra encoding region among the plurality of image frames, and the expanded intra encoding region of the image frame is intra encoded. Regions of the image different from the intra encoding regions and the expanded intra encoded region, respectively are inter frame encoded.