x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC format, and is released under the terms of the GNU GPL.
 
Hobbes: http://hobbes.nmsu.edu/h-search.php?sh=1&key=x264