I need an automatical flash file generating system on a linux server. The source materials are video clips, audio clips and one image. The source files can be provided in every format. Depending on some variables the video, audio and image clip has to be put together with different timings. So let me explain it with two examples: Example no. 1 is the very easy case. Here an audio file and a video file with the same length have to be put together. Video and audio are synchron. That means that the original video/audio clip was splitted into video and audio and is now put together again. (makes no sense but it is okay to explain it) Now example no. 2: Now the audio clip is longer than the video clip. The first 5 seconds are synchron but then a one second long audio signal in the original audio clip is replaced through a two seconds long audio signal. That means that the video signal would be displayed one second earlier that the audio signal starting from second six. To compensate this effect a one second long other video clip should be pasted into the original video clip beginning at second six. So, that is the main job. An additional feature is that an image file (i.e. jpg or png) should be displayed within the video clip. It has always the same size and should always be placed at the same pixel coordinates. And it should always be displayed from second three up to the end of the clip. It is important that the file generation is fast! The whole clip counts about 60 seconds. The complete generation should take less than 2 seconds. So I think a complete file rendering is not possible. So the different video and audio clips must be cut and paste together without rendering. The webserver on which the application should run is fast but I think a file rendering is not possible anyway.