Learn about Centmin Mod LEMP Stack today
Become a Member

[Solved] Ffmpeg error

Discussion in 'Bug Reports' started by RootPass, Jan 11, 2018.

  1. RootPass

    RootPass New Member

    26
    3
    3
    Mar 22, 2017
    Ratings:
    +4
    Local Time:
    12:55 PM
    CentMin
    CentMin
    Please fill in any relevant information that applies to you:
    • CentOS Version:CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.18.3
    • PHP Version Installed: i.e. 5.6.30
    • MariaDB MySQL Version Installed: i.e. 10.0.21 or 10.1.21
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:

      cat /etc/centminmod/custom_config.inc



      Code:
      ----------------------------------------------------------------
      FAILED...
      failed to install FFMPEG PHP Extension
      FFMPEG PHP Extension has a high change of install failure
      due to developer abandoning the project so if failed
      the FFMPEG PHP Extension is not installable
      ----------------------------------------------------------------
      
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,396
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:55 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. RootPass

    RootPass New Member

    26
    3
    3
    Mar 22, 2017
    Ratings:
    +4
    Local Time:
    12:55 PM
    CentMin
    CentMin
    Hey eva,
    i installed the latest static release to: /usr/bin
    When i'm trying to use a script i get an error:
    "FFprobe failed to analyze your video file "

    When i try to use ffmpeg in a php file it gives outpot but when trying to use ffprobe no outpot (in php)
    when trying to type "ffmpeg" / "ffprobe" in console- it does work.

    I know it's not related to Centminmod but u the only one i guess can help me with that lol.
    I already tried:
    -to give 755/777 premission to the execetuable file.
    -chown -R nginx:nginx to the execetuable file.
    -set the path (/usr/bin/ffmpeg & /usr/bin/ffprobe) manually to script

    nothing seems to work :/
    It would be superb if u could give me any tips!
    and THANKS for the support!
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,396
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:55 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin mod ffmpeg is installed at /opt/bin/ffmpeg and /opt/bin/ffprobe
     
  5. RootPass

    RootPass New Member

    26
    3
    3
    Mar 22, 2017
    Ratings:
    +4
    Local Time:
    12:55 PM
    CentMin
    CentMin
    I manually downloaded the static build from ffmpeg site and move it to usr/bin.
    It's not centminmod ffmpeg (before that, I did tried centmin ffmpeg but it didnt worked too).
    So i started a fresh install with latest static build and moved the exextuable file to usr/bin
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,396
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:55 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  7. RootPass

    RootPass New Member

    26
    3
    3
    Mar 22, 2017
    Ratings:
    +4
    Local Time:
    12:55 PM
    CentMin
    CentMin
  8. eva2000

    eva2000 Administrator Staff Member

    55,396
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    7:55 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Ah yes shell_exec needs removing :D