Install ffmpeg with cpanel centos server

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

17 replies · 6,076 views · started 16 years ago · 1 min read

TL;DR · summary of 17 replies
  • - remove the ffmpeg.so extension from php.ini or install ffmpeg-php manually.
  • - try a different source for installing ffmpeg, such as ffmpeginstaller version 6.1.
  • - use yum instead of apt-get to install ffmpeg on CentOS based servers.
  • - franck's problem with mplayer installation may require posting his error logs at the ffmpeg installer support forum.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

8 participants
GumSlone Administrator Principal · 1,690 posts #1
  • Run SSH console
mkdir sources
cd sources
wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?use_mirror=ovh
tar xvzf ffmpeginstaller.5.1.tar.gz
cd ffmpeginstaller.5.1
./install.sh

DONE!

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

krazyguy Junior · 17 posts #2

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

i get this error log after installing FFMPEG.

GumSlone Administrator Principal · 1,690 posts #3

remove the ffmpeg.so extention from php.ini

or install ffmpeg-php manually:

wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2  
tar jxvf ffmpeg-php-0.6.0.tbz2 
cd ffmpeg-php*
phpize
./configure && make
make install

if you get error in ./configure like:

configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option

do this:

./configure --with-ffmpeg=/usr/local/cpffmpeg

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

GiLL Senior · 356 posts #5

if you have linux server i will install it for you free if you cant do it your self

left wap stuff

franck Newbie · 3 posts #6

Hi,

I see this thread and i have problem with centos 5 and ffmpeg. I would like to install but i have that: tar: ffmpeginstaller.5.2.tar.gz: Cannot open: No such file or directory All install of ffmpeg it's no good. I do not know how to make any more.

You could help me?

Think

Franck

GumSlone Administrator Principal · 1,690 posts #7

franck wrote: Hi,

I see this thread and i have problem with centos 5 and ffmpeg. I would like to install but i have that: tar: ffmpeginstaller.5.2.tar.gz: Cannot open: No such file or directory All install of ffmpeg it's no good. I do not know how to make any more.

You could help me?

Think

Franck

try a different source :

http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg6/ffmpeginstaller.6.0.tar.gz

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

franck Newbie · 3 posts #8

Hi GumSlone,

When i install with ffmpeginstaller.6.0 i have problem with mplayer. I have this message:

stream/stream.c: In function 'open_stream_plugin':
stream/stream.c:155: warning: initialization discards qualifiers from pointer target type
stream/stream.c: In function 'stream_check_interrupt':
stream/stream.c:490: warning: implicit declaration of function 'usec_sleep'
stream/stream.c: In function 'find_newline':
stream/stream.c:532: warning: implicit declaration of function 'GET_UTF16'
stream/stream.c:532: error: expected expression before 'return'
stream/stream.c:533: error: expected ';' before 'if'
stream/stream.c:539: error: expected expression before 'return'
stream/stream.c:540: error: expected ';' before 'if'
stream/stream.c: In function 'copy_characters':
stream/stream.c:572: error: expected expression before ';' token
stream/stream.c:573: error: expected ';' before 'PUT_UTF8'
stream/stream.c:571: warning: unused variable 'tmp'
stream/stream.c:580: error: expected expression before ';' token
stream/stream.c:581: error: expected ';' before 'PUT_UTF8'
stream/stream.c:579: warning: unused variable 'tmp'
make: *** [stream/stream.o] Error 1
cp: cannot create regular file `/usr/local/cpffmpeg/etc/mplayer/codecs.conf': No such file or directory

and install stop.

What i make?

Franck

GumSlone Administrator Principal · 1,690 posts #9

franck wrote: Hi GumSlone,

When i install with ffmpeginstaller.6.0 i have problem with mplayer. I have this message:

stream/stream.c: In function 'open_stream_plugin':
stream/stream.c:155: warning: initialization discards qualifiers from pointer target type
stream/stream.c: In function 'stream_check_interrupt':
stream/stream.c:490: warning: implicit declaration of function 'usec_sleep'
stream/stream.c: In function 'find_newline':
stream/stream.c:532: warning: implicit declaration of function 'GET_UTF16'
stream/stream.c:532: error: expected expression before 'return'
stream/stream.c:533: error: expected ';' before 'if'
stream/stream.c:539: error: expected expression before 'return'
stream/stream.c:540: error: expected ';' before 'if'
stream/stream.c: In function 'copy_characters':
stream/stream.c:572: error: expected expression before ';' token
stream/stream.c:573: error: expected ';' before 'PUT_UTF8'
stream/stream.c:571: warning: unused variable 'tmp'
stream/stream.c:580: error: expected expression before ';' token
stream/stream.c:581: error: expected ';' before 'PUT_UTF8'
stream/stream.c:579: warning: unused variable 'tmp'
make: *** [stream/stream.o] Error 1
cp: cannot create regular file `/usr/local/cpffmpeg/etc/mplayer/codecs.conf': No such file or directory

and install stop.

What i make?

Franck

Hi Franck,

Opensource ffmpeginstaller has its own support forum, i think they can provide you a good support for your problem, try to post your error log at their forum.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

franck Newbie · 3 posts #10

Hi,

thanks for your answer

Franck

GiLL Senior · 356 posts #11

or try
ffmpeginstaller version 6.1 released

The ffmpeginstaller new version 6.1 released , the following are major changes,

  • Removed support for ffmpeg-php
  • Updated mplayer and ffmpeg
  • Updated lame encoder to latest version
mkdir sources
cd sources
wget [url]http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg6/ffmpeginstaller.6.1.tgz[/url]
tar xvzf ffmpeginstaller.6.1.tgz
cd ffmpeginstaller.6.1
./install.sh

left wap stuff

wapxtech Developer · 189 posts #12

GumSlone wrote:

  • Run SSH console
mkdir sources
cd sources
wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?use_mirror=ovh
tar xvzf ffmpeginstaller.5.1.tar.gz
cd ffmpeginstaller.5.1
./install.sh

DONE!

/usr/bin/wget: Permission denied

External image (may be gone) http://wapx.amob.com Applications, Games, Wallpapers, Ringtones, Videos, Themes, Screensaver and More!!!

metulj Super moderator Principal · 1,726 posts #15

ksg91 wrote: wont this also work?

sudo apt-get install ffmpeg

i dont think 'apt-get' will work on CentOS... instead there should work 'yum' ? but i might be wrong..

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

ksg91 Developer · 162 posts #16

metulj wrote: i dont think 'apt-get' will work on CentOS... instead there should work 'yum' ? but i might be wrong..

Yeah you are right. Later I came to know, CentOS is not debian based OS and apt-get is for debian based OS.

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

CliftonSox Junior · 10 posts #17

you say that you will make this guide more thorough later to include DHCP with samba. is that going to happen any time soon or have you not planned it yet?

CliftonSox Junior · 10 posts #18

you say that you will make this guide more thorough later to include DHCP with samba. is that going to happen any time soon or have you not planned it yet?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close