Efficient compression and transport of video over a network
View Patent ↗Provided is an enhancement to the Video Encoder component of the MPEG standard to improve both the efficiency and quality of the video presentation at the display device.
1. A method for allocating bits to a frame in a video encoder implementation, comprising:
determining a first number of bits for a frame to achieve a target bit rate according to a first procedure that produces values for a number of header bits, a number of run-level pairs and a number of DCT bits; and
determining a second number of bits for the frame, wherein the determination is based on an actual number of coded zeros for the frame to match the number of DCT bits; and
allocating the second number of bits to the frame.
2. A method for allocating bits to a frame in a video encoder implementation, comprising:
determining a first number of bits for a frame to achieve a target bit rate according to a first procedure that produces values for a plurality of parameters comprising a number of header bits, a number of run-level pairs and a number of DCT bits;
determining a second number of bits for the frame, wherein the determination is based on the plurality of parameters; and
allocating the second number of bits to the frame.
3. The method of claim 2 , wherein determining the first number of bits for the frame is a first pass and determining the second number of bits for the frame is a second pass.
4. The method of claim 2 , wherein the target bit rate is determined by a bit rate consumed in a previous frame.
5. The method of claim 2 , wherein the parameters further comprise the number of header bits, the number of motion vector bits, the number of run-level pairs, and the number of DCT bits.
6. The method of claim 5 , wherein the first procedure determines the number of run-level pairs as a function of a quantization factor, Q.
7. The method of claim 6 , wherein dependence on Q is determined by fitting a non-linear curve through several observations.
8. The method of claim 6 , wherein dependence on Q is determined by determining the number of run-level pairs for each value of Q.
9. The method of claim 5 , wherein the second pass matches the number of DCT bits.