Patent ID: 9560350
Date: 2017-01-31
CPC Classifications: H04N

Claim:
1. A method of transforming a video into an encoded, compressed video comprising the steps of: receiving an input video in the form of a plurality of sequential frames; dividing each frame into a plurality of macroblocks; for each macroblock in each frame of the video outputting an output video having the thus encoded macroblocks; upon completion of a frame, calculating a new predetermined threshold for a next frame including where: M is a number of macroblocks in the frame; and sad[i] is the calculated inter mode SAD for the i-th macroblock, calculating an average SAD per pixel (avg_sad_pp) as follows: calculating an average variance in SAD per pixel (var_sad_pp) as follows: where: N is a number of pixels per macroblock, and where: QF is an empirical quality factor.