x264 is a free library for encoding H264/AVC video streams.
 
Hobbes: http://hobbes.nmsu.edu/h-search.php?sh=1&key=x264