Tryin to install FFmpeg
I have been tryin to install ffmpeg but it doesnt seem to work when i type the whereis command i get this ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz
so ok that means its installed but every time i try to install the extension it doesn't show i recently installed uploadprogress and added the extension to the .php.ini file and its there http://i51.tinypic.com/2iqi9hl.png extensions here what am i doing wrong http://i51.tinypic.com/e1avqh.png |
Is it under the "Dynamic Extensions" section of your php.ini file? There should be a line saying "extension=ffmpeg.so", like you had in your screenshot (btw, if you're just posting text, it's better to do it AS text rather than in a screenshot :) )
Also, have you restarted your httpd server (or rebooted)? |
What distro are you trying to install it in?
|
yes i rebooted the whole server even to make sure its here
its below every thing in my php.ini file ---------- Post added 06-29-11 at 07:52 AM ---------- OS: CentOS 5 w/ Plesk |
Did you compile FFmpeg from source or did you install it as an RPM package? And if you used a package, was it one specific to another distro?
|
i used yum to install it
|
Wait, sorry, just re-read your original post - you've install ffmpeg, have you installed ffmpeg-php ?
|
i think yes
Code:
[root@~]# yum install ffmpeg ffmpeg-devel php-devel |
Reading this article, you need to compile and install ffmpeg-php manually having installed some of the packages you just installed.
|
would this be the issue because thats the same site i followed to install it
Code:
Reducing CentOS-5 Testing to included packages only |
Then what about the section:
Quote:
|
yes i get these errors
Code:
config.status: creating config.h |
Okay, run these commands:
Code:
cp /root/ffmpeg-php-0.6.0/ffmpeg_frame.c{,.bak} EDIT: Also, can you replace your [PHP] tags with [CODE] tags please? Currently, it distorts the page :D |
ok i done that now what
|
Try to compile it again :) ./configure, make, make install.
|
i installed ffmpeg correctly when i run the php -m | grep ffmpeg i get a blank response why?
|
Because it's not compiled in (see 'man php'). Check your phpinfo() to see if the module is being correctly loaded dynamically
|
im looking in my phpinfo and see ffmpeg install correctly ffmpeg
ffmpeg-php version 0.6.0-svn ffmpeg-php built on Jun 29 2011 07:14:47 ffmpeg-php gd support enabled ffmpeg libavcodec version Lavc52.72.2 ffmpeg libavformat version Lavf52.64.2 ffmpeg swscaler version SwS0.11.0 ffmpeg.allow_persistent 0 0 ffmpeg.show_warnings 0 0 |
So has your problem been solved? If so, can you mark it as [SOLVED] using the thread tools please.
|
no its not solved because it still wont convert videos at all maybe its my script
|
In that case, could you make this thread as SOLVED (as you have managed to install ffmpeg-php), open a new thread in the programming forum called "ffmpeg-php won't convert videos", and post the link here? That way I will be able to continue to help you, and other people who might be more experienced with the package / problem will be able to help you as well :)
Thanks, |
Attachment 35730
simply download the debian .deb packages unzip extract the debian file by dpkg-deb -x file.deb . ./command don't forget . and / command example ./ffmpeg -i input.mp3 -aq 0.3 out.m4a |
I executable ./ffmpeg on 18.04.x
./ffmpeg -i file1.mp3 -i file2.mp3 output1.mp3 ./ffmpeg -i file1.mp3,file2.mp3 output2.mp3 above commands error invalid. Can join 2 or more mp3 sound file(s) ? |
Please, PLEASE, open your own thread.
This one has been closed for more than ten years and it is not likely that you will get an answer that is specific to YOUR problem here. |
All times are GMT -5. The time now is 02:33 PM. |