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 on cPanel server

Discussion in 'Workarounds and Optimization' started by joomla, Jun 20, 2015.

Tags:
  1. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello :)

    We need to install ffmpeg on our cPanel dedicated server.

    Does anybody knows how to instal ffmpeg on CentOS 6.2 and cPanel, or has some tutorial or web link... Please!

    Thanks to all in advance!
     
  2. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello :)

    I need some suggestions or official tutorial how to install ffmpeg on cPanel server.

    Is there some discussion on this topic or tutorial, link...

    Do I need to prepare something for ffmpeg installation. Is there some ffmpeg auto installer or some solutions?

    I do please for help!

    Thank you in advance!
     
  3. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can easily install ffmpeg on cpanel server. I will suggest you to go with svn or tar ball. I love to do manually compilation so I will recommend to go with tar ball. You have to compile ffmpeg manually on server using tar.
     
  4. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can install ffmpeg by using ffmpeg autoinstaller script or use tar or svn to install ffmpeg on the server.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please note 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.
     
  6. Christopher Zeman

    Joined:
    Jul 1, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Silver Lake, WI
    cPanel Access Level:
    Root Administrator
    I had to do this just the other day but I can't remember which site, exactly, I got the instructions from. Try these:

    itekblog.com/ffmpeg-centos-7-installation-instructions/
    chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily/

    Chris
     
    #6 Christopher Zeman, Jul 2, 2015
    Last edited by a moderator: Jul 7, 2015
  7. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Thanks to all people that answered this question. :)

    I will now explain how I installed FFMPEG autoinstaller on CentOS (6.7) / cPanel server (11.50.0) build 30.

    Code:
    1. I installed some packages that are important for FFMPEG autoinstaller via SSH Client:
    
    # yum install libcurl libcurl-devel
    # yum install git
    # yum install git-all.noarch
    
    2. You need to find this file (depending of server architecture) on the Internet (http://rpmfind.net/linux/rpm2html/search.php?query=perl(ByteLoader)):
    
    In my configuration, I used this file:
    
    perl-5.8.8-42.el5.x86_64
    
    3. You need to upload downloaded file from official repository to this location (you can use WinSCP):
    
    /usr/local/lib64/perl5
    
    4. Under WHM - Service settings - PHP configuration click on advanced settings, you need to set desired values for max upload size and max post size, and memory limit to be in parent with upload and post size. Than you need to save changes under PHP.
    
    5. Restart Apache
    
    6. Access your server via SSH as root
    
    7. mkdir ~/ffmpeg-packages
    
    8. cd ~/ffmpeg-packages
    
    9. wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz
    
    10. tar -xvzf ffmpeginstaller.8.0.tar.gz
    
    11. cd ffmpeginstaller.8.0
    
    12. ./install.sh
    
    Please wait until installation finish.
    
    When installation finish, you will get in the end this message:
    
    
    The ffmpeg and dependency package installation has  been completed. You can use the following
    
    paths for the major binary locations. Make sure to configure it in your conversion scripts too.
    
    
    /usr/local/bin/ffmpeg
    
    /usr/local/bin/mplayer
    
    /usr/local/bin/mencoder
    
    /usr/bin/flvtool2
    
    /usr/local/bin/MP4Box
    
    /usr/local/bin/yamdi
    
    
    13. Restart Apache
    
    
    So, save 50$ and enjoy.

    I hope this will help! :)
     
    #7 joomla, Sep 6, 2015
    Last edited by a moderator: Nov 28, 2015
  8. Neubauer Georg

    Neubauer Georg Registered

    Joined:
    Nov 28, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Graz
    cPanel Access Level:
    Root Administrator
    Hello,
    ffmpeg must be displayed in the phpinfo.php?
    Where should I insert the paths?
    I must add that in php.ini?
    Where do I enable ffmpeg?
     
    #8 Neubauer Georg, Nov 28, 2015
    Last edited by a moderator: Nov 28, 2015
  9. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi Georg,

    I installed FFMPEG on this way and it is fully usable, without inserting additional lines in php.

    You should insert path directly in module that you use, for example for ffmpeg: /usr/local/bin/ffmpeg

    or for mplayer: /usr/local/bin/mplayer

    It is because this installation is full.

    You only need to adjust values in php.ini for max upload and post size.

    Please, just take attention on step 2 and 3.

    Kind regards!
     
  10. Neubauer Georg

    Neubauer Georg Registered

    Joined:
    Nov 28, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Graz
    cPanel Access Level:
    Root Administrator
    Hello
    Thank you for your quick response.
    Is ffmpeg-php included?
     
  11. Neubauer Georg

    Neubauer Georg Registered

    Joined:
    Nov 28, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Graz
    cPanel Access Level:
    Root Administrator
    Hello
    is that right?
    picload.org/image/piirwla/99.png
     
    #11 Neubauer Georg, Nov 28, 2015
    Last edited by a moderator: Nov 28, 2015
  12. joomla

    joomla Well-Known Member

    Joined:
    Jul 23, 2014
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    Yes. This is correct.

    If you finished all steps without errors, you just need to enter this path (/usr/local/bin/ffmpeg) in module or plugin which you use for converting files in your CMS.

    I hope you will succeed! Best regards!
     
  13. ronaldst

    ronaldst Member

    Joined:
    Feb 22, 2016
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norway
    cPanel Access Level:
    Root Administrator
    Sorry for bumping an old thread but this is probably the best source for FFMPEG instructions on the internet.

    I have used this tutorial on many servers but now after the recent update to cPanel and EasyApache 4 I am getting error along the way.

    Installation script runs fine until
    Installation of mplayer.tar.gz ....... started

    Code:
    /usr/local/cpffmpeg/bin/svn: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
    mplayer.sh: line 36: cd: mplayer/: No such file or directory
    mplayer.sh: line 37: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    cp: cannot stat ‘etc/codecs.conf’: No such file or directory
    Installation of mplayer.tar.gz ....... Completed
       Mplayer installation Failed :( 
     
  14. scarar

    scarar Registered

    Joined:
    Dec 2, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    @ronaldst have u gotten Mplayer installed? I'm having the same issue.
     
Loading...

Share This Page