|
|
I had the unfortunate experience of “working” with GCS – the Chicago / Skokie based computer consulting firm. Their web site is http://www.greatsys.com/. I ran into one of their clients when I migrated a few users off an exchange server to Zimbra. I would NOT recommend GCS to anyone, period. If you are evaluating GCS as your IT consultant, I recommend you do your homework and contact their current clients for feedback.
Flvtool2 is a flash video file manipulation tool . It can calculate metadata and can cut and edit cue points for flv files. If you are on Centos 5 try yum install flvtool2 with dag repository and if you get package not found you will need to manually download and compile the flvtool2. You can download latest version of flvtool2 here: http://rubyforge.org/projects/flvtool2/
wget <url-link>
ruby setup.rb config
ruby setup.rb setup
sudo ruby setup.rb install
If you get command not found error, it probably means that you dont have ruby installed.
yum install ruby
ID – webmaster
PW – webmaster
They don’t tell you that anywhere when you first install the Rayzz script. Make sure you change it immediately after installation.
Here’s a quick how-to for installing ImageMagick and Imagick on Cpanel server. I will cover only the procedure using the Cpanel built-in scripts, although you can also install it the usual way (rpm or source install). ImageMagick is the application for working with images while the Imagick is a PHP extention to modify/create images using the ImageMagick API.
Installation:
ImageMagick
Check first if it’s installed:
/scripts/checkimagemagick
Proceed with Installation:
/scripts/installimagemagick
Installation will take a couple minutes as it will install other packages needed by ImageMagick. After the installation, you can check your ImageMagick version:
/usr/bin/convert --version
It will give you something like:
Version: ImageMagick 6.4.8 2009-05-11 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Imagick
Go to WHM -> Software -> Module Installers -> PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button – that’s all.
Restart Apache and check your phpinfo page to see the details of Imagick and ImageMagick as well. See linked images for reference: image1, image2.
Uninstall:
If you decide to uninstall it’s as easy as the installation process:
ImageMagick: /scripts/cleanimagemagick
Imagick: WHM -> Software -> Module Installers -> PHP Pecl (manage). Click on Uninstall button for Imagick.
If you get this message while installing Rayzz…
Fatal error: Call to undefined function curl_init() in /home/rcvideo/public_html/common/license/class_ionoLicenseHandler.php on line 0
you need to install cURL on your host – http://blog.snapshotit.com/?p=21
There are two common types of cURL installs on most cPanel servers. The first is a binary install, this is where the cURL binary (program) sits on your server (usually in /usr/bin) and can be run via the CLI or script. The second method is to have cURL built into PHP so that PHP’s cURL functions can be used in PHP code. Below explains how to install each.
Installing the Binary Version on All versions of CentOS/RHEL/Fedora
1. Log into the server via SSH or console as root.
2. Run the following command `yum install curl curl-devel`.
3. When prompted to confirm the installation press y.
CURL is now installed and should reside in /usr/bin/curl
Adding cURL support into PHP
1. Log into the server via SSH or console as root.
2. Run the following command `/scripts/easyapache`.
3. Select ‘Start customizing based on profile’, leaving ‘Previously Saved Config’ checked.
4. Select the version of Apache you would like to run.
5. Select the branch and version of PHP you would like on the next two pages (it is not recommended to run both PHP 4 and 5).
6. Select ‘Exhaustive Options List’ on the following page.
7. Scroll down to the PHP configuration section to cURL, and proceed to th enext stop (cURL-SSL can also be enabled).
8. Select ‘Save and Build’, and let the compilation run it’s course (usually takes 15-20 minutes).
Final step is to restart apache
If you just installed phpmotion and are unhappy with the video quality, take a look at this post on their site.
http://phpmotion.com/forum/index.php/topic,3602.0.html
It will show you how to improve the quality. In fact, if you register and login someone posted a new convertor.php file for you to upload.
So you tried to install phpmotion and got the following message.
PHP script /var/www/html/classes/config.php is protected by phpSHIELD and requires the phpSHIELD loader phpshield.5.1.lin. The phpSHIELD loader has not been installed, or is not installed correctly. Please visit the phpSHIELD php encoder site to download required loader.
There are a number of reasons you are getting this message, but the reason I got it was because the phpshield.5.1.lin file that comes with phpmotion is the 32 bit version. I am running Centos 5.2 64 bit. In order to fix the problem you need to download the 64 bit version of Phpshield and do the following:
Log in as root:
cd /tmp
wget http://www.phpshield.com/loaders/phpshield.loaders.linux-64.zip
unzip phpshield.loaders.linux-64.zip
Now, find your extension_dir in php
php -i|grep extension_dir
Once your figure out where your extension directory is:
cp phpshield.5.1.lin /usr/lib64/php/modules/
You will obviously change the ‘/usr/lib64/php/modules/’ above to reflect your extension directory path
Make sure you insert the following into you php.ini file:
extension.phpshield.5.1.lin
I am running php5.1 so my phpshield files end in 5.1. If you are running php5.2 your phpshield files will end in 5.2.
After spending countless hours trying to figure out how to install FFmpeg on various linux machines I decided to post some lessons I learned that I hope will help other linux tinkerers, like me.
1) Do not install PHPMotion on Ubuntu unless you are very familiar with linux, and the limitations of php-gd, Mencoder, and FFmpeg. After spending many hours searching forums I uncovered that php-gd (as of Dec 2008) that comes packaged with Ubuntu does not have certain functionality that allows you to rotate images, which renders the security image in PHPmotion unusable. There is a way to recompile php5 with bundled support for gd on ubuntu but this will not solve all your problems. After you fix this issue you will find out that mencoder and ffmpeg are not compiled to work with certain file types, such as wmv. You will post a video to phpmotion and the sound / video will be out of sync and it will drive you crazy trying to figure out why. That is when I stopped messing w/ Ubuntu (which by the way I love using) and switched to Centos 5.2. All my problems were solved…..
2) There are many ways to install the required packages for Phpmotion. In summary, you can either compile the packages yourself or use a script to do the dirty work for you. I was successful using both methods. I came across this blog – FFmpeg, FFmpeg-PHP, Lame, Libogg, Libvorbis, FLVtool2, Mplayer, Mencoder, AMR Installation which describes how to compile each package and install them separately. Or, you can cheat and use a great script that is freely available on sourceforge.net. Here is the web site – ffmpeginstall. As I write this blog I’m installing ffmpeg on a centos machine with this great script. It takes about 30 minutes and it is fully automated. One thing they don’t tell you, however, is that before you run the script make sure to execute the following command
yum install php-devel
I don’t know why the installer script does not get this automatically, but it doesn’t as of Dec 2008. php-devel is required to compile ffmpeg-php. If you don’t have php-devel installed before you run the ffmpeginstall script you will get an ffmpeg.so error message when you run:
php -i|grep php.ini
The error message will look something like:
FfmpegInstall PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so'
|
|