x264 is a free library for encoding H264/AVC video streams.