Our team has significant experience with programming an application that creates video on a web server. We recently created a system very similar in scope to your project but with an entirely different, non public use.
The software allows registered users to upload media files (audio, video, text, and pictures), and then allows the user to place any number of items on an empty movie reel. Each placed object has several modifiable attributes such as persistence (how long the object lasts in the movie), beginning and ending transitioning (how it starts to appear and how it disappears with several options like fade, slide to right/left/etc), and more. The user may create segments in the movie, in order to show logical transitions from implied scenes; each segment also has attributes which may be changed.
While we cannot supply the original code, we are more than capable of creating from scratch the functional equivalent, without violating any copyrights.
Richard Evins
Complex Integrations