shell_exec command doesn t work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mana27
Forum Newbie
Posts: 1
Joined: Fri Dec 24, 2010 11:23 am

shell_exec command doesn t work

Post 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
Post Reply