Running vgmstream test.exe via wine and php? by furrybob at 4:13 PM EST on February 3, 2010
I'm trying to have my webserver run the vgmstream command line in wine to convert audio files to wav format. However, when I do exec('wine text.exe "/path/file" -o "path/file.wav"');. It creates about 1000 samples of a flat wave in the right channel at the loop point like it did here: http://38.108.124.89/convert/Misty_Lake.ogg (replace the ogg with wav to get the original) This is the Misty Lake adx from Sonic and the Black Knight.
If I run the command from the command line it converts like it should. And if i run it with php on a windows web server it works just fine.

Does anybody have any clue as to why it wouldn't be working when run with php?

edited 4:21 PM EST February 3, 2010
by hcs at 7:13 PM EST on February 3, 2010
Dunno man, that's really odd... does it do the same thing with other files from this game? How about non-adx files?
by furrybob at 7:54 PM EST on February 3, 2010
Yep, it does it with all files and types.
It also doesn't work if I launch a bash script with a php script.

And sorry I overlooked it before, but the loop's at about 1:39

edited 7:57 PM EST February 3, 2010
by furrybob at 5:06 PM EST on February 10, 2010
Well, I don't know why, but I uninstalled Centos installed Debian and now it works perfectly.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source