1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to install FFMPEG on VPS server?

Discussion in 'Apache' started by lapidus, Jul 20, 2018.

  1. #1
    Hello folks

    I was try to install FFMPEG via WHM on my VPS server but unsuccessfully.

    Can somebody help me to do that?
     
    lapidus, Jul 20, 2018 IP
  2. 1gservers

    1gservers Active Member

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #2
    This is the best way I've found to install FFmpeg on a CentOS system:
    https://www.vultr.com/docs/how-to-install-ffmpeg-on-centos

    You didn't specify whether or not you are using CentOS, but I would think trying to install FFmpeg within WHM may be problematic. Best to do it via cli with sudo/root access.
     
    1gservers, Jul 27, 2018 IP
  3. Cameron Fillers

    Cameron Fillers Member

    Messages:
    33
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #3
    Installing FFMPEG on a cpanel/whm server is going to be a pain due to all of the requirements for ffmpeg that may conflict with whm's configuration and easyapache auto updater. I would recommend deploying ffmpeg on another VPS, and transferring the data on over for ffmpeg to compile, or mount a directory from WHM to the server so that it can auto compile, if you don't want to transfer data (should be in the same location and same physical box if you want to do this).

    If you really want to give it a whirl, you should be able to install epel-release

    #yum install epel-release
    then update yum
    #yum update -y
    and then try to install ffmpeg
    #yum install ffmpeg

    You will most likely have a lot of dependencies, and if you have CloudLinux installed, you are going to have to make ffmpeg an available command to run inside of cagefs

    First, you will want to know the path to ffmpeg
    #which ffmpeg

    #nano /etc/cagefs/conf.d/ffmpeg.cfg

    And enter the following as an example

    [custom]
    comment=ffmpeg
    paths=/path/to/ffmpeg

    SAVE and EXIT

    and then reload cagefs to pickup the new command

    cagefsctl --force-update
     
    Cameron Fillers, Jul 27, 2018 IP