Need someone to install FFMPEG-PHP Extension

Status
Not open for further replies.

Mindy

Active Member
2,461
2011
1,544
100
Hi...I need to install ffmpeg on my Linux server, with the php extention - A friend was able to install the ffmpeg, but not the extention.

This is what I need still:

http://awesomescreenshot.com/011g3mh35

This is the error we get:
/root/ffmpeg-php-0.5.2.1/ffmpeg_frame.c:533: error: âPIX_FMT_RGBA32â undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1

There's no way I can do this - its beyond my skill level - is there anyone who would be willing to do this for me?

pleaseeeeeeeeee

How-To: http://mysql-apache-php.com/ffmpeg-install.htm
Download: http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/
Same error: http://www.directadmin.com/forum/archive/index.php/t-30702.html
 
24 comments
Using it for video sharing script like clip-bucket AVS etc ? :|

How nostalgic, I installed it on 3 of my vps this week including mplayer, flvtool2 flvtool++

BTW as per your error, did you ran ./configure and make before make install ?
 
I wasn't the one doing it tbh, it was my friend so I dont know for sure, but he followed those direction exactly ... so if its in there, he definitely did.

I want to install an avi --> flv converter but I need this too
 
PM me your vps details and link to script you will be using so I can check its requirements etc :-?

Send any other details you wanna send as well
 
yeah Mindy PMd and clarified it, it just needs php and ffmpeg to use the script

@mRaza I dont think scriptmantra version works anymore, I tried that one around 1 month back and didnt worked
 
Would OP's link help me to have MTN working? Movie Thumbnailer requires ffmpeg and what I've seen so far there are few different methods to install ffmpeg.

Wondering which is the best way for Centos 64 bit?
 
hmm i got one better way to go ... this package will install all

  • ffmpeg
  • Mplayer
  • A52decoder
  • Amrnb and Amrwb
  • All codecs
  • facc and faad2
  • Ruby
  • flvtool2
  • ffmpeg-php
  • Mplayer and Mencoder
  • Lame
  • Libogg
  • Libvorbis
  • Libtheora
  • Libwmf
  • opencoreamr
  • vorbistools
  • X264
  • MP4Box
  • Xvidcore
Well the code should go like this ...

1. cd /usr/src/
2.
Code:
wget [U][URL]http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg7/ffmpeginstaller.7.0.tar.gz[/URL][/U]


3. Unzip the file
tar -xzvf ffmpeginstaller.7.0.tar.gz
cd ffmpeginstaller.7.0
4. Run the installer.
./install.sh
The script will find your php.ini, enter the php.ini full path to confirm the installation.
This process will take about 30 minutes and it will install the following packages:

  • ffmpeg
  • Mplayer
  • A52decoder
  • Amrnb and Amrwb
  • All codecs
  • facc and faad2
  • Ruby
  • flvtool2
  • ffmpeg-php
  • Mplayer and Mencoder
  • Lame
  • Libogg
  • Libvorbis
  • Libtheora
  • Libwmf
  • opencoreamr
  • vorbistools
  • X264
  • MP4Box
  • Xvidcore
5. Reboot the server.
6. Verify ffmpeg module listing in php and other modules.
php -m | grep ffmpeg
ls -lah /usr/local/cpffmpeg/bin/
Thanks
 
Thanks both.

After rebooting (shutdown -r 0)

I did this "php -m | grep ffmpeg"

Shows nothing. ????

ls -lah /usr/local/cpffmpeg/bin/

shows alot of codecs.

MTN with Rapidleech still does not work. It said error in generating screenshot of "filename.avi"
 
Thanks both.

After rebooting (shutdown -r 0)

I did this "php -m | grep ffmpeg"

Shows nothing. ????

ls -lah /usr/local/cpffmpeg/bin/

shows alot of codecs.

MTN with Rapidleech still does not work. It said error in generating screenshot of "filename.avi"
MTN does not require you to have ffmpeg installed, just make sure you have proper permissions set to mtn file (777 in most cases).
 
I did chmod 777. I followed the instructions here
Code:
http://www.rapidleech.com/topic/10067-new-movie-thumnail-generator-for-rapidleech/

Post 42 states "you need ffmpeg, libavcodec, libavformat, libswscale, GD libraries too"

I am stuck!!!
 
I used wget so FTP is not an issue.

[root@KS-50-knowinservers mtn]# ./mtn
-bash: ./mtn: No such file or directory

I tried coping both mtn.exe and mtn.linux to /bin but that didnt help.
 
That link is confusing.

Where do I download the files? it re-directed back to main post. Seems like I only need the mtn.php?
 
Status
Not open for further replies.
Back
Top