x264 is a free library for encoding H264/AVC video streams. The code is written from scratch by Laurent Aimar, Loren Merritt, Eric Petit(OS X), Min Chen (vfw/asm), Justin Clay(vfw), Mns Rullgrd, Christian Heine (asm), and Alex Izvorski (asm).
Features:
CAVLC/CABAC
Multi-references
Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions)
Inter P: all partitions (from 16x16 down to 4x4)
Inter B: partitions from 16x16 down to 8x8 (including skip/direct)
Ratecontrol: optional VBV, single or multipass ABR, constant quantizer