I have successfully installed FFMPEG in my server. I can able to run FFMPEG via command prompt to convert video files to .flv. I have used the same command in php script, but it didn’t work. Following is my vidoe conversion script.
system("/usr/bin/ffmpeg -i /var/www/vhosts/realverdict.com/httpdocs/clock.avi -ar 22050 -ab 32 -f flv -s 320x240 /var/www/vhosts/realverdict.com/httpdocs/cader.flv",$output);
It returns error code 127.
Could any one please help me to fix this problem?