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.

Yum / FFmpeg / SVN Client Installation Script

Discussion in 'cPanel Developers' started by linux-image, Apr 10, 2008.

  1. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Dependencies:

    dialog

    Download: http://scriptmantra.info/scripts/ffmpeg_installer.sh

    Details:

    All FFmpeg packages are installed from source except codecs. The main dependency for installing ffmpeg is: yum

    Ffmpeg installation will only work on redhat and suse (requires yum) distributions. FFmpeg installation will work in cpanel and plesk servers.

    How to run:

    Wget the above script to /usr/src folder inside your server and run as root:

    sh ffmpeg_installer.sh

    The menu that shows up is simple and guess you will be able to take it up from here.

    The Future:
    1. Include option to configure installation setup.
    2. Include more installations.
    3. Control panel compatibility.
    4. DirectAdmin compatibility.

    For Support, Please Open a ticket at : https://ticketforge.com/911/index.php

    Current Status: Tested on 23 servers including dedicated servers and Virtuozzo servers running cPanel as well as Plesk.
     
    #1 linux-image, Apr 10, 2008
    Last edited: Apr 11, 2008
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    We have identified 2 bugs with faad on CentOs5. Thanks to the help and support of all our well-wishers.

    ---------------------------------------------------------
    Error "*** missing separator. Stop."

    and

    "ERROR: static declaration of 'mp4ff_track_add' follows non-static declaration"
    ---------------------------------------------------------

    This was fixed for centos4 already. However, we are releasing a new one for Centos-5 with the fix applied.

    You can download the patched script for CentOs-5
    ------
    http://scriptmantra.info/scripts/ffmpeg_installer_centos5.sh
    ------

    This link is temporary and will be removed when we find a general fix for this.

    Let us know if you face any further issue.
     
  4. Bailey

    Bailey Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    120
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Wisconsin
    Great idea, but your script doesn't run:

    This is on CENTOS Enterprise 4.6 i686

    :(

    Bailey
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Code:
    c4xen ~ # wget http://scriptmantra.info/scripts/ffmpeg_installer.sh
    --08:58:08--  http://scriptmantra.info/scripts/ffmpeg_installer.sh
               => `ffmpeg_installer.sh'
    Resolving scriptmantra.info... 72.232.109.82
    Connecting to scriptmantra.info|72.232.109.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 33,476 (33K) [application/x-sh]
    
    100%[====================================>] 33,476        --.--K/s             
    
    08:58:08 (221.53 KB/s) - `ffmpeg_installer.sh' saved [33476/33476]
    
    c4xen ~ # file ffmpeg_installer.sh 
    ffmpeg_installer.sh: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
    c4xen ~ # ./ffmpeg_installer.sh 
    \e[1;31mDialog not installed. Please install dialog to continue\e[0m
    c4xen ~ # sh ffmpeg_installer.sh 
    ffmpeg_installer.sh: ffmpeg_installer.sh: cannot execute binary file
    
    It's actually a binary, so make certain it is marked executable. Also, you will need to install its dependencies, such as dialog, which is listed in the initial post.
     
  6. GreatGator

    GreatGator Member

    Joined:
    Aug 9, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    It's actually a binary, so make certain it is marked executable. Also, you will need to install its dependencies, such as dialog, which is listed in the initial post.


    Just how do you install the dialog dependencies in cpanel ?
     
  7. jfoc

    jfoc Well-Known Member

    Joined:
    Sep 17, 2004
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    make it executeable
    chmod 755 scriptname

    or

    chmod +x scriptname
     
  8. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    If you have yum ; do :

    yum -y install dialog
    ------------------------
     
  9. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    I see you're site produces a 404 error when I try and download the script. Is this project still active?
     
  10. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Yes, it appears this is still active. See this thread, for updated instructions and etc:

    http://forums.cpanel.net/showthread.php?t=103149

    - Scott
     

Share This Page