I want the users to **only** upload a video, then write a code that splits this video into user-defined segments, then convert those segments to `.flv` and `.mp4` videos.  

Is there any way I can do that?