Ffmpeg Php Exec Problem 23.03.08
I have ffmpeg working from the command line, but I cannot get it to work from within my script in php.
ffmpeg installed in /usr/bin
I’m trying to use the following php script:
$action = “/usr/bin/ffmpeg -i test.avi -ar 22050 -ab 32 -f flv -s 320×240 test.flv | /usr/bin/flvtool2 -U stdin test.flv”
exec($action)
Can anyone troubleshoot my script QUICKLY! I need this ASAP!! thanks so much



