1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FFMPEG & PHP Binary Path

Discussion in 'Media Gallery Support' started by Simon, Jul 22, 2015.

  1. Simon

    Simon Active Member

    In order to generate video thumbnails & use the Transcode videos option, I need to enter a value in for the FFMPEG & PHP Binary Paths.

    How can I find out these paths? (I'm running on centos if that helps)

    Thank you kindly in advance.
  2. Chris D

    Chris D XenForo Developer Staff Member

    You will need shell access.

    For FFMPEG you will first of all need to make sure FFMPEG is installed. You should be able to install that via yum or download it directly from here: FFmpeg Static Builds

    We cannot really provide specific support with installing this or getting it set up, but that should be a step in the right direction at least.

    Once installed, the easiest way to get the paths you need is to use the "which" command if it is available:
    which ffmpeg
    which php
    Simon likes this.
  3. Simon

    Simon Active Member

    Thanks for the tip. I understand its a server issue and not related to the software.
  4. Chris D

    Chris D XenForo Developer Staff Member

    Let us know how you get on anyway. If we can help, we will.
  5. Simon

    Simon Active Member

    Ok, I installed FFMPEG but am having problems with the the thumbnails.

    I am pretty much at the same stage as this thread. ( MG 1.1 - Do i need to install FFMPEG? )

    Everything seems to be working except for the thumbnails.


    It seems that I installed a rather old version of FFMPEG, below is the data from the /usr/bin/ffmpeg -version command:


    Any ideas on other things to check?
  6. Chris D

    Chris D XenForo Developer Staff Member

    Without a doubt I'm certain you need to update the ffmpeg version.

    FFmpeg Static Builds

    Download the latest release there. Extract the archive and copy the ffmpeg executable within and replace the one on your server with it.

    I earlier on tested FFMPEG 2.1.1 and it works fine. Even that was only a couple of years old. Supporting an early version going back 5 years will be tricky!
    jeffwidman and Simon like this.
  7. Simon

    Simon Active Member

    Did just as your instructions and all seems to be working fine right now.

    Thanks for your help!
    Donny likes this.
  8. Neutral Singh

    Neutral Singh Well-Known Member

    Which format should i download? :rolleyes:
  9. Chris D

    Chris D XenForo Developer Staff Member

    No idea :) Which format does your server support?

    It just depends on whether your server supports 64-bit or not. If it does, the x86_64 builds should work. If it doesn't, the x86 builds are what you need.

    They tend to recommend using the "git" build rather than the "release" build.
    Neutral Singh likes this.
  10. Neutral Singh

    Neutral Singh Well-Known Member

    Thanks, was able to install 64-bit build...
    Chris D likes this.

Share This Page