Video Encoding Abnormal Distortion Detection and Mode Cost Calibration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video encoding methods often select inappropriate prediction modes, leading to significant distortion in image blocks, which results in low subjective quality of the encoded images.
Innovation Solution
A video encoding method that includes obtaining a target prediction unit and its mode information set, performing abnormal distortion point detection, calibrating mode costs based on detection results, selecting a suitable prediction mode, and using it for prediction to reduce distortion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If a prediction mode is selected for encoding an image block, then the encoding process can be completed, but if the selected prediction mode is not suitable, the image block generates relatively large distortion resulting in low subjective quality
Solution Approach 1:
The patent performs abnormal distortion point detection on the target prediction unit in at least one candidate prediction mode before final mode selection. This preliminary detection identifies potential distortion issues in advance, allowing the system to calibrate mode costs and select more appropriate prediction modes, thereby preventing large distortions before they occur in the encoding process.
Solution Approach 2:
The patent implements a feedback mechanism where detection results of abnormal distortion points are used to calibrate mode costs of candidate prediction modes. The calibrated mode information set then guides the selection of target prediction mode. This closed-loop feedback ensures that prediction modes are selected based on actual distortion characteristics rather than theoretical assumptions, improving both encoding precision and subjective quality.
2Reliability
If abnormal distortion point detection and mode cost calibration are performed, then the subjective quality of encoded images is improved, but the encoding complexity increases
Solution Approach 1:
The patent applies abnormal distortion point detection specifically to the target prediction unit rather than the entire image block, and focuses calibration on at least one candidate prediction mode rather than all possible modes. This localized approach maintains subjective quality improvement while reducing the overall computational complexity compared to a comprehensive analysis of all regions and modes.
Solution Approach 2:
The patent changes the parameter of mode cost by calibrating it based on detection results. Instead of using fixed or theoretically calculated mode costs, the system adjusts these costs dynamically according to actual abnormal distortion point detection outcomes. This parameter change enables quality improvement through a relatively simple cost adjustment mechanism rather than complex additional processing.
3Productivity
If inappropriate prediction modes are selected, then the encoding process is simple and fast, but the encoded images suffer from significant distortion and low quality
Solution Approach 1:
The patent performs abnormal distortion point detection and mode cost calibration as preliminary actions before final prediction mode selection. By identifying potential distortion issues early and adjusting mode costs accordingly, the system ensures that the selected mode will produce high-quality results without requiring extensive post-processing or iterative refinement, thus maintaining encoding speed while improving precision.
Solution Approach 2:
The patent replaces complex mechanical trial-and-error mode selection with a more efficient system based on abnormal distortion point detection and mode cost calibration. Instead of extensively testing multiple prediction modes to find the best one, the system uses detection results to directly calibrate costs and select the optimal mode, substituting a simpler detection-based mechanism for a more complex exhaustive search approach.
Data Source
AI summary
This application discloses a video encoding method, a video playback method, a related device, and a medium. The video encoding method may include: obtaining a target prediction unit in a target image block and a mode information set; performing abnormal distortion point detection on the target prediction unit in at least one candidate prediction mode in the mode information set, to obtain a detection result corresponding to the at least one candidate prediction mode; calibrating a mode cost of the at least one candidate prediction mode in the mode information set according to the detection result corresponding to the at least one candidate prediction mode, to obtain a calibrated mode information set; selecting a target prediction mode from the plurality of candidate prediction modes according to the mode costs of the candidate prediction modes in the calibrated mode information set; and performing prediction on the target prediction unit by using the target prediction mode, to obtain encoded data of the target image block.


