Creating MPEG, AVI from BMPs?

How to create MPEG and AVI files from a series of BCB generated BMPs?