I think you need the Macromedia Flash Media Server to be able
to do what you are asking. Flash 8 can with a Flash Video Encoder
but it does not do it on the fly. There maybe other 3rd party
servers that you can sign-up that allow you do this but if you are
looking for your own solution you will need the FMS 2.0.