O'Reilly is currently running an article on onlamp.com about how to create your own YouTube website using Adobe Flex and PHP. The article, written by Jack Harrington, is extremely detailed (4 pages in length) and goes through everything from building the Flex front end to using ffmpeg to convert the movies into Flash format. Its worth noting that there is a version of Flash Media Server that is available for free, which could have been used in the tutorial instead.
Comments
The FMS would only have
The FMS would only have helped to dfeliver the flv movies, To convert from .avi to .flv you still need ffmpeg,
Same tutorial but using python and turbogears and flex
If anybody is interested, i re-created this tutorial using python and turbogears and flex instead of php.
You can find the tutorial at http://codedemigod.com/tutorials