| CPC H04N 19/124 (2014.11) [A63F 13/355 (2014.09); H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/172 (2014.11); H04N 19/42 (2014.11); H04N 19/463 (2014.11)] | 20 Claims |

|
1. A method for encoding video, comprising:
for each frame in a stream of frames:
performing a first encoding pass of a downscaled version of the frame;
determining an estimated peak-signal-to-noise ratio for the frame based on the first encoding pass of the downscaled version of the frame;
determining, by a statistical model, a quantization parameter in response to the estimated peak-signal-to-noise ratio of the frame being greater than a target peak-signal-to-noise ratio for the stream of frames; and
encoding the frame in a second encoding pass based on the quantization parameter.
|