You are wanting to produce a video from a series of BMP files. That is not a trivial task and you have mentioned MP4, which is a specific format of video file. You will need an MP4 encoder to do that. I provided a Google search link in my reply...that ought to get you started, but it seems like you want instruction, as well....here
.NET MP4 encoding sample