Installing FFMPEG, MENCODER, MPLAYER, YAMDI, MEDIAINFO, EXIF TOOL, FLVTOOL2, MP4BOX & IMAGEMAGIC Part-2

0 3,707

Get real time updates directly on you device, subscribe now.

In the previous tutorial (Part-1) we had learned how to Properly Install and configure FFMPEG.

Now moving on to Part 2 of this tutorial we will continue to install and configure MENCODERMPLAYERYAMDIMEDIAINFOEXIFTOOLFLVTOOL2MP4BOX & IMAGEMAGIC, its pretty straight and simple.

1. Install Exiftool with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# apt-get install libimage-exiftool-perl
~~~~~~~~~~~~~~~~

2. Install MEncoder with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# apt-get install mencoder
~~~~~~~~~~~~~~~~

3. Mplayer with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# apt-get install mplayer
~~~~~~~~~~~~~~~~

4. Install MediaInfo with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# sudo apt-get install mediainfo
~~~~~~~~~~~~~~~~

5. Install Yamdi with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# sudo apt-get install yamdi
~~~~~~~~~~~~~~~~

6. Install FLVTool2 with below command:
Add this line at the end /etc/apt/sources.list:
~~~~~~~~~~~~~~~~
[email protected]:~# sudo nano /etc/apt/sources.list

~~~~~~~~Insert the below line only~~~~~~~~
deb http://us.archive.ubuntu.com/ubuntu precise main universe
~~~~~~~~Insert the above line only~~~~~~~~

~~~~~~~~~~~~~~~~
[email protected]:~# apt-get update
~~~~~~~~~~~~~~~~
[email protected]:~# sudo apt-get install flvtool2 ruby1.8
~~~~~~~~~~~~~~~~

FLVTool2 should be installed correctly, to check its path run:
~~~~~~~~~~~~~~~~
[email protected]:~# which flvtool2
~~~~~~~~~~~~~~~~
Result: /usr/bin/flvtool2

7. Install MP4Box with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# sudo apt-get install gpac
~~~~~~~~~~~~~~~~

MP4Box should be installed correctly, to check its path run:
~~~~~~~~~~~~~~~~
[email protected]:~# which MP4Box
~~~~~~~~~~~~~~~~
Result: /usr/bin/MP4Box

8. Install NeroAAC encoder with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# wget http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip
~~~~~~~~~~~~~~~~
[email protected]:~# unzip -j NeroAACCodec-1.5.1.zip linux/neroAacEnc
~~~~~~~~~~~~~~~~
[email protected]:~# sudo install -m 0755 neroAacEnc /usr/bin
~~~~~~~~~~~~~~~~

9. Install ImageMagic with below command:
~~~~~~~~~~~~~~~~
[email protected]:~# apt-get -y install php5-imagick
~~~~~~~~~~~~~~~~

10. Reload php configuration in for changes to take effect:
~~~~~~~~~~~~~~~~
[email protected]:~# test -e ‘/etc/init.d/apache2’ && command service ‘apache2’ ‘force-reload’
~~~~~~~~~~~~~~~~

Optional: You might need to adjust some of the values in php.ini file, like max upload limit or max execution time etc.
(If you are not sure about the loaded php.ini then you can run the below command to find this out)
~~~~~~~~~~~~~~~~
[email protected]:~# php –ini
~~~~~~~~~~~~~~~~

Recommended php.ini setting are as follows:
upload_max_filesize = 1100M (or anything according to your need)
post_max_size = 1100M (or anything according to your need)
max_execution_time = 7200
max_input_time = 7200

Still need help, we can do a professional server setup for you,  Click here to Contact us!

80%
Awesome
  • Design

Get real time updates directly on you device, subscribe now.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More