The purpose of compression is to conserve storage space after a video has been transmitted to the DVR. In addition, compressed video enhances straightforward viewing through the internet.
Compression varies from one method to the other, with the highest compression being H.264. MJPEG method involves almost no compression, but MPEG4 has a high compression almost next to H.264. Therefore, H.264 is highly efficient for both internet streaming and storage conservation.
More at Video compression