Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ffmpeg php-fpm not working

Discussion in 'EasyApache' started by vacancy, Sep 23, 2017.

Tags:
  1. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    140
    Likes Received:
    14
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello there

    ffmpeg does not work on my servers when I run php-fpm.

    I see the error that the php binary can not be found.

    How do I use ffmpeg in php-fpm?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Do you have FFMPEG php module installed on your server in your PHP built? Can you share the output of the below command:
    # php -i | grep ffmpeg
     
  3. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    140
    Likes Received:
    14
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello

    I do not use the ffmpeg php module, I only use ffmpeg, normally my sites knew ffmpeg binary files so I could convert them.

    When I enable php-fpm, the ffmpeg binary path is not found.
     
  4. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    76
    Likes Received:
    10
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    Try using the full path to ffmpeg in your code
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Keep in mind that assistance with FFMPEG software application installations (including software that utilizes this software) and technical support for this piece of software are not available from cPanel. While FFMPEG software is distributed subject to GPL licenses, the use and installation of the software may also require patent licenses from third parties.

    Because of the legal uncertainty relating to the FFMPEG software application, we are not able to assist in the installation or troubleshooting of FFMPEG.

    This is not legal advice or a legal opinion. We are simply explaining that our participation in the installation/troubleshooting of this software is not available. Please see the following location for any legal discussion:

    FFmpeg License and Legal Considerations

    You can search this forum for "ffmpeg" to see some threads that show how other users have installed it. However, cPanel staff members can not assist you with FFMPEG (including software that utilizes this software).

    Thank you.
     
Loading...

Share This Page