FFmpeg - PHP Error Code 127

后端 未结 2 1793
既然无缘
既然无缘 2021-01-21 05:04

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

相关标签:
2条回答
  • 2021-01-21 05:11

    I just had the same issue (ffmpeg not running through exec/system)

    I sorted it by using /usr/bin/ffmpeg instead of just ffmpeg

    0 讨论(0)
  • 2021-01-21 05:22

    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.

    0 讨论(0)
提交回复
热议问题