I already have cgi set up and it works, i have untared a file using it.

I dont have shell access to my linux host and i need to install ffmpeg

I need to run the Makefile ... 'make'

and after i need to run ffmepg with filenames as arguments
something like ...

mencoder 112.avi -o 112.flv

where 112.avi and 112.flv would need to be passed to the script somehow.