Page 1 of 1

shell_exec command doesn t work

Posted: Fri Dec 24, 2010 11:40 am
by mana27
i have ffmpeg.exe on my c drive, and if i run on cmd the following command works:
ffmpeg.exe -i video.mpeg video.flv,
this command transforms a mpeg format video intro a flv format

i want to do this in a php script but it doesn't work
i type
shell_exec("notepad"); and when i execute, my notepad is launched
when i user shell_exec("C:'\ffmpeg\ffmpeg.exe -i video.php video.flv")
it doesn't output me anything

i user both / and \ and still the same pls help