Depends on how and where you want that processing to happen…
Is it something you’re going to re-use in various places, or is it something that you’re just going to have run through a single point of entry/display?
At the most basic level, you could simply add a method to your upload form model that calls ffmpeg and runs the process ( make it a process behavior that you attach to the model perhaps ).
Are you processing on the fly or are you queueing the items up to batch? That will also make a difference in how you handle it.
thanks dana for the reply, i have encountered the problem by using a compiled version of ffmpeg(got from a friend) and added it to my site directory. i have used the controller to execute the ffmpeg commands and generated the thumbnails.