![]() |
| CFEXECUTE and FFMPEG |
|
Ennio
|
How can I run the FFMPEG with CFEXECUTE?
I have this, but nothing happened. <cfexecute name="D:\websites\cftube.com\videos\Upload\ffmpeg.exe" arguments="-i #filename# #serverFileName#.flv"> </cfexecute> Am I missing something? |
||||||||||||
|
|
|||||||||||||
|
Jason101
Forum Regular
|
Ennio,
Unless you are using a Coldfusion VPS, you cannot use the <cfexecute> tag as it is disabled along with CFRegistry on all shared Coldfusion servers. |
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
CFExecute and CFRegistry are disabled on shared servers.
Sorry. |
||||||||||||
|
|
|||||||||||||
| Workaround |
|
comprug
Forum Regular
|
You can, however, execute the FFMPEG exe through a JAVA object.
Here's how you do it:
|
||||||||||||||
|
|
|||||||||||||||
| Re: Workaround |
|
imstillatwork
|
This does not work for me on my server.
The only way i can get it to run is editing
But then that means that I have no control over the process - don't know when it ends... don't know if it failed... it just launches ffmpeg into a new process and forgets it it seems like. Any idea why out.waitFor(); will not work? When i leave it in, ffmpeg never finishes,a nd the output flv file stays locked until reboot.... Any one have any success with this? I REALLY need feedback from ffmpeg during the conversion to know how to proceed in the application and to run flvtools against the newley created file. without out.waitFor() I never know if it finished.... and out.waitFor() doesn't seem to work... THANKS!!!
|
||||||||||||||||||
|
|
|||||||||||||||||||
| CFEXECUTE and FFMPEG |
|
||
|


