Encoding videos can be quite a chore
But start by knowing out of intraframe
And interframe which one encodes far more
by throwing pixels out which look the same.
Codecs like 264, MPEG 4 and 2
Use even sized block or matrices to check
For areas of motion to not renew;
Small flickers of noise can result in wreck.
Codecs like MJPEG look at frames whole
And only apply the magic therein.
It’s often faster at the editor’s console
But file size explodes in your project bin.
Towards the perfect codec the engineers will strive
But for now we still choose for broadcast or archive.
Compression for Great Digital Video
Ben Waggoner's Canopus 2 Video Tutorial