php exec for ffmpeg won't work?

  • Thread starter Thread starter mel_06
  • Start date Start date
M

mel_06

Guest
i have install ffmpeg on my windows...

configured my php and it displays ffmpeg on my phpinfo()...

i even made the safe mode on and put the right path to the safe mode exec directory

safe_mode_exec_dir = "C:\wamp\bin\php\php5.2.9-2\ffmpeg\ffmpeg.exe"

but still everytime i run this code...

if(function_exists(exec('ffmpeg -t 30 -acodec copy -i $inputfile $outputfile'))){echo 'function exists';}
else{echo 'function not exists';}

function not exists is always the output...

hope you could help me guys...

thanks...
 
Back
Top