Installing FFmpeg, MPlayer and MEncoder on CPanel and Centos 6 on Hyper-V
Posted in Linux Server, Virtual Machine Manager | 5 Comments | 1,108 views | 03/10/2011 13:52
You need FFmpeg, MPlayer and MEncoder for video processing. I’ll show you how to install and configure it on Hyper-V.
I’ve already posted couple of articles about CentOS 6 installation on Hyper-V, so I won’t mention about that again.
You can see CentOS 6 installation on Hyper-V at the following posts:
First, we need to install RPMforge repository on CentOS 6.
1. Install the DAG GPG key.
2. Download RPMforge-release package.
3. Verify the RPMforge-release package you have downloaded.
4. Install the RPMforge-release package.
5. Now we can install FFmpeg, MPlayer and MEncoder.
6. You may get this error when you try to install components.
7. Download perl-SGMLSpm package to CentOS.
8. perl-SGMLSpm may require OpenJade.
9. Let’s install openjade on CentOS.
10. Try re-install perl-SGMLSpm.
11. After perl-SGMLSpm installation, you can continue to install FFmpeg, MPlayer and MEncoder.
12. Now, you can test your ffmpeg installation.
If you see same results on your server, it means your ffmpeg is ready.
You need FFmpeg, MPlayer and MEncoder for video processing. I’ll show you how to install and configure it on Hyper-V.
I’ve already posted couple of articles about CentOS 6 installation on Hyper-V, so I won’t mention about that again.
You can see CentOS 6 installation on Hyper-V at the following posts:
http://www.yusufozturk.info/linux-server/centos-6-desktop-installation-on-hyper-v-and-mouse-support-part1.html
http://www.yusufozturk.info/linux-server/centos-6-desktop-installation-on-hyper-v-and-mouse-support-part2.html
So I assume you have a CentOS 6 with Hyper-V LIS v3.1. So lets continue with our installation.http://www.yusufozturk.info/linux-server/centos-6-desktop-installation-on-hyper-v-and-mouse-support-part2.html
First, we need to install RPMforge repository on CentOS 6.
1. Install the DAG GPG key.
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
2. Download RPMforge-release package.
cd /home wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm (if your server x86) wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
3. Verify the RPMforge-release package you have downloaded.
rpm -K rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
4. Install the RPMforge-release package.
rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
5. Now we can install FFmpeg, MPlayer and MEncoder.
yum install ffmpeg ffmpeg-devel mplayer mencoder
6. You may get this error when you try to install components.
Requires: perl-SGMLSpm >= 1.03ii
7. Download perl-SGMLSpm package to CentOS.
wget http://ftp.twaren.net/Linux/Scientific/41/i386/SL/RPMS/perl-SGMLSpm-1.03ii-14.noarch.rpm
8. perl-SGMLSpm may require OpenJade.
9. Let’s install openjade on CentOS.
yum install openjade
10. Try re-install perl-SGMLSpm.
rpm -ivh perl-SGMLSpm-1.03ii-14.noarch.rpm
11. After perl-SGMLSpm installation, you can continue to install FFmpeg, MPlayer and MEncoder.
yum install ffmpeg ffmpeg-devel mplayer mencoder
12. Now, you can test your ffmpeg installation.
ffmpeg -v
If you see same results on your server, it means your ffmpeg is ready.
沒有留言:
張貼留言