Upload vídeos and tranform in FLV

is it possible to let the user upload some videos on the net and let the system to tranform them in FLV files?

It would be like YouTube… upload video files and transform them.