Page 1 of 2 12 LastLast
Results 1 to 40 of 79
  1. #1

    Yum / FFmpeg / SVN Client Installation Script

    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 16 servers including dedicated servers and Virtuozzo servers running cPanel as well as Plesk.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  2. #2
    Brilliant idea, thanks for the script and effort.

  3. #3
    Thank You for the appreciation. Did you try this yourself ?
    Last edited by linux-image; 04-10-2008 at 10:09 AM.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  4. #4
    Current Status: Tested on 21 servers including dedicated servers and Virtuozzo servers running cPanel as well as Plesk.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  5. #5
    FYI ; the script installs :

    Menu Choice 1:

    # Yum

    Menu Choice 2:

    # SVN Client

    Menu Choice 3:

    # FFmpeg (http://ffmpeg.mplayerhq.hu)
    # Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
    # Flvtool2 (http://inlet-media.de/flvtool2)
    # Libffad2 + Libffac
    # AMR [For 3gp conversion]
    # Ffmpeg-php
    ----------------------------------------------------------------

    The details are provided due to the increased questions as to what the script provides.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  6. #6
    Join Date
    Sep 2005
    Location
    France/Singapore
    Posts
    193
    Are you offering this script for free?

  7. #7
    Yes it works without any problem on centos 32 bit. Is it possible to add shared hosting support (with ssh enabled of course ?

    Are you offering this script for free?
    Yes he is offering this script for free, big thanks to him.

  8. #8
    Quote Originally Posted by st1905 View Post
    Yes it works without any problem on centos 32 bit. Is it possible to add shared hosting support (with ssh enabled of course ?



    Yes he is offering this script for free, big thanks to him.
    Absolutely, this script is for free.

    st1905; it should run on 64 bit as well.

    The script is successfully installed on 32 servers atm. It is requested of anyone to report bugs in case you hit any. An update about success is as much appreciated.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  9. #9
    Sorry, I missed "Is it possible to add shared hosting support (with ssh enabled of course ?"

    Could you be more specific as to the requirement ?
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  10. #10
    Join Date
    Feb 2005
    Location
    India
    Posts
    1,048
    (1/1): dialog-1.0.2005110 100% |=========================| 162 kB 00:00
    Running Transaction Test
    error: failed to stat (deleted) /var/tmp: No such file or directory
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    error: failed to stat (deleted) /var/tmp: No such file or directory

    any ideas?

  11. #11
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273
    Just want to do a try [ Centos 5.x with cPanel ]

    which: no dialog in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
    ffmpeg_installer.sh: line 23: dialog: command not found
    Got this error...

  12. #12
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    Quote Originally Posted by hosteur View Post
    Just want to do a try [ Centos 5.x with cPanel ]



    Got this error...
    You need to install dialog

    yum install dialog
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  13. #13
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    Quote Originally Posted by fremont View Post
    (1/1): dialog-1.0.2005110 100% |=========================| 162 kB 00:00
    Running Transaction Test
    error: failed to stat (deleted) /var/tmp: No such file or directory
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    error: failed to stat (deleted) /var/tmp: No such file or directory

    any ideas?
    It seems that you don't have such directory.

    Show the output
    file /var/tmp
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  14. #14
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273

    Talking

    Quote Originally Posted by tanfwc View Post
    You need to install dialog
    Thanks, encount now this error from the script:

    Faad ERROR; Cannot install │
    │ Faad

  15. #15
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    While, guess you need to wait for the script owner to comment on this then
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  16. #16
    Hi,

    You will need to install "dialog" which is a dependency for the script as mentioned earlier. As for the faad error, please open a ticket at https://ticketforge.com/911/index.php mentioning the error and we will have a check into this.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  17. #17
    Thank you for your information and patience. We have identified 2 bugs with faad as:

    ---------------------------------------------------------
    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/ffm...ler_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.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  18. #18
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273
    I've got the same error under CentOS 5.x and DA:

    configure: *** Building with internal mp4v2 ***
    configure: no xmms build configured
    configure: creating ./config.status
    config.status: creating libfaad/Makefile
    config.status: creating frontend/Makefile
    config.status: creating common/Makefile
    config.status: creating plugins/Makefile
    config.status: creating Makefile
    config.status: creating plugins/mpeg4ip/Makefile
    config.status: creating common/mp4ff/Makefile
    config.status: creating common/mp4v2/Makefile
    config.status: creating faad2.spec
    config.status: creating config.h
    config.status: executing depfiles commands
    Makefile:634: *** missing separator. Stop.
    Makefile:634: *** missing separator. Stop.
    Once I can get your script works with cPanel and DA, I will do a try with Plesk, thanks.

  19. #19
    This script will not work with DA at the moment. We have already mentioned to add this support as a future plan at the initial thread. However, it should work on Plesk.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  20. #20
    The script has been patched to run on Centos5 and CentOs 4 with no errors. The single script is available at http://scriptmantra.info/scripts/ffmpeg_installer.sh

    We are currently working on DirectAdmin support for the script and hopefully we will be able to finish this in the next few days.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  21. #21
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273
    Thanks for your effort, it works now on CentOS 5.x with cPanel, will do a try with Plesk and then with DA when you are ready...

  22. #22
    We currently have 92 servers having ffmpeg successfully with this script. Would be great if everyone can pass their reviews and updates on this script.

    hosteur, the DA script is getting ready and hopefully we can release that one in the next few days.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  23. #23
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    1,506
    linux-image, I have notice something in the script that you actually send a email containing the server ip to your own email right?

    I'm just curious why this function is not brought up on the thread?

    Thanks
    tanfwc
    Singapore Managed Colocation
    Singapore BGP Announcement

  24. #24
    Sorry about not specifying that; however I would like to paste the code here:

    #This is for our motivation
    echo `hostname -i `|mail -s " FFmpeg Script Used " [email protected];
    =============================================================

    As you can see it is explicitly mentioned at the code that "This is for our motivation". Besides we would also like to know the number of success stories we have. No harm observed though.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  25. #25
    As of Version: 1.0.4 of the script; we have included the script to send us the error / success report. The details are included at the license page. Further information is available at :

    http://admin-ahead.com/software_development.html

    This version is now available at : http://scriptmantra.info/scripts/ffmpeg_installer.sh

    Please note that this installer will work for both centos4 and centos5 and the separate centos5 installer is no longer available.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  26. #26
    The latest version of this script is : Version : 2.0.0

    The script, which is now available at http://scriptmantra.info/scripts/ffmpeg_installer.sh is compatible with servers running cPanel, Plesk and DirectAdmin.

    We have tested this with 3 DA servers successfully.

    Details: http://admin-ahead.com/software_development.html

    Thank You for all your support and co-operation.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  27. #27
    Join Date
    Jun 2002
    Location
    Long Beach, NY
    Posts
    199
    Hosteur - I had the same issue with the "Faad ERROR; Cannot install Faad" - I am running Centos 5 - are you as well?

    The authors looked into this and made two updates to the script for Centos 5, but it is still not working for me. Did you find a resolution?

    Thanks.

    Mike

  28. #28
    Mike,

    Please download the latest version of the script, which is version 2.0.0, which has some major fixes and try. Make sure that you delete the previous script. You can:

    1. Create a new folder

    # mkdir /usr/src/AA

    # cd /usr/src/AA

    # wget http://scriptmantra.info/scripts/ffmpeg_installer.sh

    # sh ffmpeg_installer.sh
    -------------------------------------------------------------

    It is possible that since your last installation, you might have stopped the script half-way and some stray files remain.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  29. #29
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273

    Thumbs up

    Status:

    Server with cPanel :: OK
    Server with DirectAdmin :: OK

    Will do a try on server with Plesk and update here again...

  30. #30
    Join Date
    Jun 2002
    Location
    Long Beach, NY
    Posts
    199
    Success!

    masternikx - you are awesome! Thanks for sticking with this and doing such quick work on revising your scripts to ensure it works across all platforms. Nice!

    Mike

  31. #31
    Thanks for verifying this hosteur. Glad you got this working Mike.

    We are looking forward to integrate this script with the control panels in future.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  32. #32
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273

    Wink

    Server with Plesk:

    Code:
     php-ffmpeg ERROR; Cannot   │
                            │ install Php-ffmpeg
    install -d "/usr/bin"
    install -c -m 755 ffmpeg ffserver "/usr/bin"
    Linking library files ......
    ln: `/usr/lib/libavcodec.so.51': File exists
    ln: `/usr/lib/libavutil.so.49': File exists
    ln: `/usr/lib/libmp3lame.so.0': File exists
    "1" "2" "3" "4" "5" "6"
    Installing Php-ffmpeg ...
    ffmpeg_installer.sh: line 611: phpize: command not found
    ffmpeg_installer.sh: line 612: ./configure: No such file or directory
    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    Here the error...

  33. #33
    Please install php-devel package rpm on the system and try again.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  34. #34
    Success!! Success!! Success!!

    Thanks a lot!!

  35. #35
    to install as many of the codecs possible with yum:

    yum install faac faac-devel faad2 faad2-devel a52dec a52dec-devel lame lame-devel libdca libdca-devel x264 x264-devel libogg libogg-devel libvorbis libvorbis-devel libtheora libtheora-devel xvidcore xvidcore-devel

    with apt-get:

    apt-get install libfaad2 libfaad2-dev libfaac libfaac-dev liblame liblame-dev libogg libogg-dev libvorbis libvorbis-dev libtheora \
    libtheora-dev libxvidcore4 libxvidcore4-dev liba52-0.7.4 liba52-0.7.4-dev libdca libdca-dev x264 x264-dev

    now if you intall amr-nb and amr-wb from source you'll be able to compile a very complete version of ffmpeg:

    ./configure --enable-shared --enable-libfaad \
    --enable-libfaadbin --enable-libfaac \
    --enable-libvorbis --enable-libx264 \
    --enable-libtheora --enable-libxvid \
    --enable-libmp3lame --enable-liba52 \
    --enable-liba52bin --enable-libamr-nb \
    --enable-libamr-wb --enable-gpl --enable-nonfree

  36. #36
    PLEASE DO NOT: use yum / apt-get to install the codecs as mentioned by dev_stefan. This might break the install made by the script.

    For all your information and attention.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  37. #37
    Join Date
    Jan 2002
    Location
    Miami / Brooklyn, NY
    Posts
    71

    question, why svn?

    why is there an option to install SVN when the entire script doesn't use it anywhere?

    I would understand if you compiled ffmpeg from source after getting it from SVN

    Code:
    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
    but there isn't a single reference to it anywhere... but instead you have the script download a version off your server:

    Code:
    http://scriptmantra.info/repository/ffmpeg/ffmpeg-export-snapshot.tar.bz2
    Code:
    #This software is sole property of Admin-Ahead Server Technologies.
    #This code does not carry any warranty and nor do we authorize anyone 
    #to reverse engineer / copy the code without prior consent.
    <<Code removed by script author's request>>
    Last edited by bear; 04-24-2008 at 04:37 PM.

  38. #38
    SVN is not used for the install of ffmpeg. It is compiled from source. This script is built to include many more installs in future. Please do not mix the svn install with the ffmpeg install; they are separate installs and can be selected as per the menu choice.

    Hope this is clear.
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  39. #39

    Thumbs up Updates !

    We have both sad news and good news.

    First, the sad one. It has come to our notice that in spite of the license making it very clear that the users are not supposed to reverse engineer / copy / modify the code, we have seen some irregular error reports which shows that our script has been modified by some users to create a script of their own. This is not something we would appreciate for the efforts we have put into the creation of this script. Hence, we have converted the script to a binary. The new binary is available for download at:

    http://scriptmantra.info/scripts/ffmpeg_installer

    Also, the old link will work at: http://scriptmantra.info/scripts/ffmpeg_installer.sh

    Please download and do a chmod on the script as:

    chmod 755 ffmpeg_installer

    and then execute it as :

    ./ffmpeg_installer

    In case anyone has a problem installing it on an linux flavor, we will have the binary provided for the respective distribution. You can mail [email protected] or open a ticket at the support link: http://www.ticketforge.com/911/

    The current script is compiled on CentOs4, but should run on all others.

    Now the good news: As of today we have 286 servers successfully installed with ffmpeg and mplayer using this script [that we know of]. We would like to thank each and everyone who encouraged us during the entire project especially Mike, Isaiah and hosteur, who were willing to test this script on their servers and update us with the results from time to time.

    We are working on some new scripts at the moment and will be back with more .... soon ... infact ... very soon
    Admin-Ahead :: A BrookWin Company
    System Administration On Core
    SKYPE: "admin-ahead"; PHONE: +1-818-935-5050

  40. #40
    Join Date
    Jun 2006
    Location
    APE: 6202A
    Posts
    1,273
    Will your script run under a 64bits OS?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •