METHOD OF ENCODING VIDEO WITH FILM GRAIN
First Claim
1. A method for encoding video comprising:
- obtaining video frames provided to an encoder;
obtaining motion estimation (ME) data for the video frames;
calculating a ME score for the video frames;
comparing the ME score with a threshold;
calculating the value of a metric from a temporal variability of the ME score;
comparing the temporal variability metric with a predetermined value; and
providing a high film grain indication signal to the encoder indicating a particular segment of the video frames contains high film grain when the ME score exceeds a threshold and the ME score temporal variability metric is below a predetermined level.
7 Assignments
0 Petitions
Accused Products
Abstract
A system for providing improved video quality and compression efficiency during encoding by detecting video segments having film grain approaching the “Red Lady” problem. The system detects when film grain approaches the level of the “Red Lady” problem by measuring frame-by-frame temporal differences (ME scores). From the ME scores, two key indicators are identified: (1) The average temporal difference in frames with an intermediate motion level higher than frames of non-noisy video; and (2) The fluctuation of the temporal differences between frames in a group is very small. When these indicators identify a high film video, a signal is provided to an encoder which allocates less bits to I frames and more bits to P and B frames than for other frames of video without comparable film grain.
8 Citations
8 Claims
-
1. A method for encoding video comprising:
-
obtaining video frames provided to an encoder; obtaining motion estimation (ME) data for the video frames; calculating a ME score for the video frames; comparing the ME score with a threshold; calculating the value of a metric from a temporal variability of the ME score; comparing the temporal variability metric with a predetermined value; and providing a high film grain indication signal to the encoder indicating a particular segment of the video frames contains high film grain when the ME score exceeds a threshold and the ME score temporal variability metric is below a predetermined level. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus to encode video frames, the apparatus comprising:
-
an encoder having a first input for receiving video frames to be processed and a second input for receiving parameter data to enable the encoder to allocate bits for frames for encoding; a frame buffer having an input receiving the video frames and an output providing the first input to the encoder; a preprocessor for receiving the video frames and having an output providing the second input to the controller; a preprocessor memory connected to the processor for storing code that is executable by the preprocessor to determine the parameter data to enable the encoder to allocate bits, the code causing the preprocessor to perform the following steps; obtaining motion estimation (ME) data for the video frames; calculating a ME score for the video frames; comparing the ME score with a threshold; calculating the value of a metric from a temporal variability of the ME score; comparing the temporal variability metric with a predetermined value; and providing a high film grain indication signal to the encoder indicating a particular segment contains high film grain when the ME score exceeds a threshold and the ME score temporal variability metric is below a predetermined level. - View Dependent Claims (6, 7, 8)
-
Specification