So I'm developing a simplified Flex2 application that allows a user to
upload video, and a serverside conversion is made to flv via ffmpeg.
The back-end code is windows-based CFMX7.
Basically, after the video is uploaded I'm running a cfc function that
takes the filenames and runs it through ffmpeg.exe via:
myobject = createObject( "java", "java.lang.Runtime").getRuntime()
myObject.exec("ffmpeg.exe") etc.
This is done as an alternative to cfexecute. It WORKS - the file
converts and everything, but:
1) it converts very very slowly - the server's performance monitor
shows a very low CPU usage, and
2) I don't know when its finished.
Is there any way to monitor when the exec is complete and send a flag
to Flex2? Or perhaps, when someone tries to view the video, Flex can
check to see if the process is done or not? I'd like to stay away from
using FDS.