Titangeek wrote:
im just guessing but would a zip file not work?
Zip compression essentially works on plain data files, where every bit must be recorded and reproduced precisely. It is "lossless".
There are various flavours of lossless compression - which generally have no great preconceptions about the underlying data that they are compressing, other than hoping that there are some forms of repetition going on in the data.
The down side of lossless compression formats is that they can result in a "compressed" file that is larger than the original file! E.g. if you send a purely random bit stream to them.
For photographic data, you don't really mind if some of the bits of the data are not quite the same as the original image - as your eye won't notice the difference. Hence JPEG files can be much smaller than the "same" data in a zip file. The JPEG format exploits the idea that photographs usually consist of lots of fairly smoothly varying coloured areas, and isn't too fussy about the bit-level detail. JPEG is a "lossy" compression format.
For video data, the compression not only exploits the JPEG smooth(-ish) variations across each frame image, it also exploits the fact that, generally speaking, each frame of video is not completely different to the prior frame. I.e it expects lots of the data to be much the same, loosely, frame-to-frame. Hence the MPEG formats give even more (yet again, more lossy) compression.
_________________
"Striking up conversations with strangers is an autistic person's version of extreme sports."
Kamran Nazeer