Hello I recently had ffmpeg installed perfectly by a programmer on this site who did a great job. I have ffmpeg working perfectly from the command line, but I cannot get it to work from within my script in php.
Here's my configuration
ffmpeg compiled with options:
FFmpeg version SVN-r7131, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-shared --enable-xvid --enable-vorbis
--enable-libogg --enable-mp3lame --enable-gpl --enable-faad
--enable-faac --enable-a52 --enable-x264 --enable-pthreads
ffmpeg installed in /usr/local/bin
I'm trying to use the following php script:
$action = "/usr/local/bin/ffmpeg -i /var/www/vhosts/[login to view URL] -acodec mp3 -ar 44100 -ab 32 -ac 1 -f flv -b 600 /var/www/vhosts/[login to view URL]"
exec($action)
(semicolons removed for posting)
Can anyone troubleshoot my script QUICKLY! I need this ASAP!! thanks so much