marsm

Member
Jan 17, 2013
10
0
1
cPanel Access Level
Root Administrator
I'm trying to install FFmpeg. I searched and found under "Install a Perl Module": Video::FFmpeg 0.47 Perl interface to the ffmpeg libraries.

I installed it, and got this error at the end:


Perl v5.10.0 required--this is only v5.8.8, stopped at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
N/A
! Configure failed for Video-FFmpeg-0.47. See /home/.cpanm/build.log for details.
Perl Expect failed with non-zero exit status: 256

All available perl module install methods have failed.


Can anyone assist me please?
 

speckados

Well-Known Member
Install Dag Repo
Red Hat Enterprise Linux 5 / x86_64:
Code:
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Red Hat Enterprise Linux 5 / i386:
Code:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Edit /etc/yum.repos.d/rpmforge.repo for disable repo.
Code:
enabled = 0
Add a /etc/ld.so.conf
Code:
/usr/local/lib
Update ldconfig
Code:
ldconfig -v
Install ffmpeg
Code:
yum install --enablerepo=rpmforge ffmpeg ffmpeg-devel mencoder
Install ffmpeg for php from ffmpeg-php

Code:
wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fffmpeg-php%2Ffiles%2Fffmpeg-php%2F0.6.0%2F&ts=1317052831&use_mirror=freefr; tar xvfj ffmpeg-php-0.6.0.tbz2 ; cd  ffmpeg-php-0.6.0; phpize;
If x86_64
Code:
sed -i 's/PIX_FMT_RGBA32/PIX_FMT_RGB32/g' ffmpeg_frame.c
Code:
./configure && make && make install
After librerari on /usr/local/lib/php/extensions/no-debug-XXX-XXXX/.
You must add to php.ini

Code:
 /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ffmpeg.so
Install FLToo
  • Install Ruby form WHM
  • Wiht Ruby instaler install flvtool2

A nice day
 

Nishant80

Well-Known Member
May 7, 2012
64
0
56
cPanel Access Level
Root Administrator
I get the following error when I run the code "sed -i 's/PIX_FMT_RGBA32/PIX_FMT_RGB32/g' ffmpeg_frame.c"
"can't read ffmpeg_frame.c: No such file or directory"