Patent ID: 8693537

Claim:
A method comprising: grouping successive video frames into a frame unit; encoding, by a video encoder, regions of interest within the respective frames in the frame unit, wherein encoding includes allocating rho domain values to macroblocks within the frame based on a frame budget and a weighting between macroblocks within the region of interest and macroblocks within areas of the video frame that are not within the region of interest, wherein the weighting is based at least in part on video fidelity of a preceding frame, perceptual quality of the preceding frame, and user preference in the region of interest, wherein the perceptual quality includes a temporal quality value and a spatial quality value for the preceding frame; and selectively skipping encoding of areas that are not within a respective region of interest for at least one of the frames in the frame unit based on a distortion value of a region outside a region of interest of a preceding frame unit, wherein the preceding frame unit comprises two or more video frames that precede the successive video frames of the frame unit.