B Frame Control in Video Compression via Activity Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video compression systems face challenges in efficiently determining when to use B frames, as they can reduce picture quality due to less accurate predictions across longer frame periods and require significant processing power for adaptive switching.
Innovation Solution
A method and apparatus that determine the use of B frames based on activity figures in vertical, vertical-temporal, and intra-field spatial directions, deciding to encode fast-moving scenes without B frames and slow-moving or high-spatial-detail scenes with B frames, using a counter to manage frame switching and prevent rapid mode changes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If B frames are used for compression, then coding efficiency is improved, but picture quality deteriorates due to less accurate predictions across longer frame periods
Solution Approach 1:
The patent implements dynamic switching between B frame and non-B frame encoding modes based on real-time scene activity analysis. The system calculates activity figures for different frame types and adapts the encoding mode accordingly, making the coding structure flexible and responsive to content characteristics rather than static.
Solution Approach 2:
The patent changes the encoding parameter (B frame usage) based on the calculated activity figure threshold. When activity exceeds the threshold, B frames are suppressed; when below, B frames are used. This parameter adaptation resolves the contradiction by optimizing the trade-off between compression efficiency and prediction accuracy for each scene.
2Manufacturing precision
If adaptive switching between B frame and non-B frame encoding is implemented, then picture quality is improved for specific scenes, but processing power requirements increase significantly
Solution Approach 1:
The patent performs preliminary analysis by calculating activity figures for I, P, and B frames before making encoding decisions. This advance computation of scene characteristics allows the system to determine the optimal encoding mode in advance, avoiding more complex real-time analysis during the encoding process itself.
Solution Approach 2:
The patent replaces complex adaptive switching mechanisms with a simpler activity figure-based decision system. Instead of implementing full adaptive switching with multiple encoding passes, the system substitutes a streamlined approach that calculates activity metrics and applies threshold-based B frame suppression, significantly reducing processing requirements.
3Adaptability or versatility
If B frames are used for compression, then more coding modes are available, but search range accuracy deteriorates for fast-moving objects
Solution Approach 1:
The patent dynamically adjusts the availability of B frame coding modes based on scene activity levels. For fast-moving scenes with high activity figures, the system disables B frames entirely, preventing search range accuracy deterioration. For static or slow-moving scenes, B frames are enabled to provide versatile coding options.
Solution Approach 2:
The patent changes the encoding parameter (B frame usage) based on the calculated activity figure threshold. When activity exceeds the threshold, B frames are suppressed to maintain search range accuracy; when below, B frames are used to provide diverse coding modes. This parameter adaptation resolves the contradiction by optimizing the trade-off between coding versatility and motion prediction accuracy for each scene.
Data Source
AI summary
A method of controlling frame types in a video compression system having I, P and B frames calculates activity figures of the video signal in vertical, vertical temporal and horizontal directions. Video sequences with low complexity in which the vertical activity within a field is less than the vertical-temporal activity within a frame are encoded without using B frames whereas sequences with high complexity, i.e. spatial detail, are encoded using B frames by the use of the invention, disadvantages associated with B frames are reduced by the selected use of B frames.


