I am trying to execute FFmpeg from php. I have installed FFmpeg-php, and the extension is in the modules directory and it shows up in phpinfo. FFmpeg is working fine as I can ru
I just had the same issue (ffmpeg not running through exec/system)
I sorted it by using /usr/bin/ffmpeg
instead of just ffmpeg
If you got the module loaded, use the php-ffmpeg api instead of exec. Run exec only if the module wasn't loaded or else you've loaded the module for nothing (meaning you're not using the module at all).
The error you recive is from ffmpeg binary (not the extension, though you're not using the extension at all) , so search for ffmpeg status 127 error
to resolve the problem related to ffmpeg.