glenelkins Posted January 3, 2007 Share Posted January 3, 2007 Hi I am using Video To Flash Console to convert uploaded videos to swf format. The program works on windows command line such as:C:\Program Files\GeoVid\Video to Flash Console\VFCConsole.exe -FileIn c:\hampster.wmv -FileOut c:\hampster2.swf -FLV -DisableAudioit works fineBut if i put that into exec() it does not create the converted file Quote Link to comment Share on other sites More sharing options...
trq Posted January 3, 2007 Share Posted January 3, 2007 Not sure how case sensitive winblows is but you might try C:\ instead of c:\ Quote Link to comment Share on other sites More sharing options...
glenelkins Posted January 3, 2007 Author Share Posted January 3, 2007 That made no difference. I added a sleep(60) after the exec command but still its not creating the file. Also how would I test when the execution is done? Quote Link to comment Share on other sites More sharing options...
trq Posted January 3, 2007 Share Posted January 3, 2007 [quote]how would I test when the execution is done?[/quote]Just echo something after it. Im sorry, I really can't be of any more help. Havent used windows in years. Quote Link to comment Share on other sites More sharing options...
chriscloyd Posted January 3, 2007 Share Posted January 3, 2007 Linux is the qay to golol Quote Link to comment Share on other sites More sharing options...
Guest footballkid4 Posted January 4, 2007 Share Posted January 4, 2007 Change[code]C:\Program Files\GeoVid\Video to Flash Console\VFCConsole.exe -FileIn c:\hampster.wmv -FileOut c:\hampster2.swf -FLV -DisableAudio[/code]To[code]C:\\Program Files\\GeoVid\\Video to Flash Console\\VFCConsole.exe -FileIn c:\\hampster.wmv -FileOut c:\\hampster2.swf -FLV -DisableAudio[/code]Or[code]C:/Program Files/GeoVid/Video to Flash Console/VFCConsole.exe -FileIn c:/hampster.wmv -FileOut c:/hampster2.swf -FLV -DisableAudio[/code]In PHP, \ is a character used for escaping values. When you have C:\Program files, the P is escaped and PHP sees it as C:rogram files Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.