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

Compiling FFmpeg From Source

Steps to follow in order to compile FFmpeg from source manually

  1. Chris D

    Chris D XenForo Developer Staff Member

    Chris D submitted a new resource:

    Compiling FFmpeg From Source - Steps to follow in order to compile FFmpeg from source manually

    Read more about this resource...
     
    Glockie likes this.
  2. Liam W

    Liam W Well-Known Member

    Glockie likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    What specifically didn't work?
     
  4. otto

    otto Well-Known Member

    Hello,

    I have ubuntu 12.0.4 LTS run and ffmpeg is properly installed at "/usr/bin/ffmpeg" - but when I will save this path in my gallery settings, then it says:

    Bevor I have set open_basedir to "none" to resolve a open_basedir error message...

    Any idea?
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    First update to XFMG 1.1.1 and then try again. There was improved error detection added so you may get a more detailed error.
     
  6. otto

    otto Well-Known Member

    Ah - ok, then I will do this first and see again. Thanks, Chris. :)
     
  7. otto

    otto Well-Known Member

    After Update all errors are gone and now it works. ;)
     
  8. tonmo

    tonmo Active Member

    I'm not sure what didn't work for Liam, however, I am on CentOS and my hosting provider helped install ffmpeg (after my own attempts failed). I've asked them if these were the instructions they followed.

    I noticed that the CentOS instructions above do not include an install of libvo_aacenc. I raise this, because the error I am getting when entering settings in Gallery Options is as follows:

    Code:
     XenForo Media Gallery requires the following encoders to be enabled in FFMPEG: libvo_aacenc 
    Any thoughts or guidance?
     
  9. Chris D

    Chris D XenForo Developer Staff Member

    That guide doesn't cover the pre-requisites required for XFMG.

    Specifically the libvo_aacenc encoder isn't installed.

    If it's easier, you might want to consider just using a static build:

    http://johnvansickle.com/ffmpeg/

    The above URL is actually recommended as a source by the FFmpeg team. For the most part it should be as simple as downloading, extracting, and making the ffmpeg binary accessible on the server.
     
    tonmo and MattW like this.
  10. MattW

    MattW Well-Known Member

    This is also what I've started doing in all my server builds, and it works perfectly.
     
    tonmo and Chris D like this.
  11. 51463

    51463 Well-Known Member

    I am unable to extract the files from http://johnvansickle.com/ffmpeg/

    it's a .xz file,

    also, did ffmpeg change a lot in the past couple months?

    my server has version 4.9.3

    but on the website i see the newest release build is 3.0

    what happened

    .
    .
     
  12. Chris D

    Chris D XenForo Developer Staff Member

    There has never been a version 4.9.3. I think the version string lists "gcc 4.9.3", this is the compiler version and not related to FFmpeg itself.

    This guide is specifically about compiling the FFmpeg from its source code repository. If you follow the instructions you'll see that the http://johnvansickle.com/ffmpeg/ page is not mentioned.
     

Share This Page