Method for transcoding an MPEG-2 video stream to a new bitrate
First Claim
1. A method for transcoding an MPEG-2 video stream to a new bitrate using motion vectors in the original stream comprising:
- a) correcting motion compensation in each target macroblock having motion compensation;
b) determining an ideal quantization value for each target macroblock by using a perceptive algorithm;
c) applying a discrete cosine transform algorithm to each target macroblock;
d) performing a coefficient threshold algorithm on each target macroblock to determine how many quantization steps can be reduced, thereby setting a new quantization factor; and
e) quantizing each target macroblock using the new quantization factor.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for transcoding an MPEG-2 video stream to a new bitrate using the motion vectors from the original stream. A desired bitrate is chosen and the macroblocks of the target frames are requantized accordingly in the transcoder. In order to adjust the motion compensation in the target frames, the difference between the original and target reference frames is added on a pixel-by-pixel basis to the target frame'"'"'s prediction error, or correction matrix. An ideal quantization value is determined using a perceptive algorithm that reduces image quality in high-activity areas where the human visual system does not perceive quality reduction and enhances image quality in areas where noise is noticeable. The new correction matrix is transformed to a frequency domain by a DCT. A coefficient threshold algorithm then identifies those coefficients that would be set to zero using the ideal quantization value and sets them to zero. The number of zeroed coefficients for each macroblock are counted and a formula (in one embodiment, a lookup table) used to determine a new, lower quantization value. The macroblock is then quantized using this lower quantization value.
47 Citations
16 Claims
-
1. A method for transcoding an MPEG-2 video stream to a new bitrate using motion vectors in the original stream comprising:
-
a) correcting motion compensation in each target macroblock having motion compensation;
b) determining an ideal quantization value for each target macroblock by using a perceptive algorithm;
c) applying a discrete cosine transform algorithm to each target macroblock;
d) performing a coefficient threshold algorithm on each target macroblock to determine how many quantization steps can be reduced, thereby setting a new quantization factor; and
e) quantizing each target macroblock using the new quantization factor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for transcoding an MPEG-2 video stream to a new bitrate using motion vectors in the original video stream comprising:
-
a) receiving an encoded MPEG-2 video stream at a transcoder;
b) dequantizing and performing an inverse discrete cosine transform algorithm on the macroblocks of original stream reference frames;
c) creating a new prediction error for each target macroblock having motion compensation based on a determined difference between the original and target video reference frames;
d) determining an ideal quantization value for each target macroblock by using a perceptive algorithm;
e) applying a discrete cosine transform algorithm to each target macroblock;
f) performing a coefficient threshold algorithm on each target macroblock to determine how many quantization steps can be reduced, thereby setting a new quantization factor;
g) quantizing each target macroblock using the new quantization factor; and
h) dequantizing and performing an inverse discrete cosine transform on the macroblocks of target reference frames to create a new target reference frame for following P- and B-frames. - View Dependent Claims (9)
-
-
10. A computer-readable storage medium storing instructions that, when executed, cause the computer to perform a method for transcoding an MPEG-2 video stream to a new bitrate using motion vectors in the original stream, the method comprising:
-
a) correcting motion compensation in each target macroblock having motion compensation;
b) determining an ideal quantization value for each target macroblock by using a perceptive algorithm;
c) applying the discrete cosine transform algorithm to each target macroblock;
d) performing the coefficient threshold algorithm on each target macroblock to determine how many quantization steps can be reduced, thereby setting a new quantization factor; and
e) quantizing each target macroblock using the new quantization factor. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification