Encription method and system for compressed video

Encryption method of compressing images comprising: obtaining an input image or frame from the off portion to be compressed compressed image; And on the basis of each of the prediction modes of the plurality of macroblocks it included in the frame type comprises the step of selectively encrypted by the input frame.