hasfacebook.blogg.se

How to install ffmpeg-php on ubuntu 16.04 lts
How to install ffmpeg-php on ubuntu 16.04 lts







how to install ffmpeg-php on ubuntu 16.04 lts

HOW TO INSTALL FFMPEG PHP ON UBUNTU 16.04 LTS DOWNLOAD

$this->xit( sprintf( "Cannot download lame-%s from default mirror, try the default 3.9.7", LAME_VERSION ) ) If( !$this->download( sprintf(" ", LAME_VERSION ), "" ) ): $this->toConsole( "We'll start by downloading lame sources") If( MAIN_BASE ) and MAIN_BASE ) ) $this->xit( sprintf( "Cannot change toor create %s", MAIN_BASE ) ) Stop editing this file now, upload it to your server and execute it as rootįunction main( sprintf( "rm -rf %s", MAIN_BASE ), $return ) # Location to do all the building and downloading toĭefine("MAIN_BASE", "/usr/src/ffmpeg-installer") If you have any problem, please report it to įfmpeg-installer is a php script intended for server administrators ( root ) toĭownload, configure, and install lame, ffmpeg, and ffmpeg-php Then and press enter, if all goes to plan your done, you'llīe told where the library is - you should probably copy it to somewhere simpler Hover over putty with your mouse and press the right mouse key to paste all the NOTE : You should now have vi open with -INSERT- written at the bottom of the Login to your shell, with putty, carry out the following steps for execution Press cTRL + A to select all the text, then press CTRL + C to copy the text Open install.php on your personal computer, with notepad or your php editor. FFMPEG, FFMPEG-PHP, MPlayer, MEncoder, flv2tool, LAME MP3 encoder & libOGG.Īnything that I want you to type in shell will be written inbetween Then everything is installed and working. Restart Apache to load FFMPEG-PHP (Depends on OS, this is for RHEL/CentOS) Install FFMPEG-PHP (make sure the php.ini path is correct.)Įcho 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' > /usr/local/Zend/etc/php.iniġ6. Ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51ġ5. Ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0 Ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49 Ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51 Ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50 configure -enable-mp3lame -enable-libogg -enable-vorbis -disable-mmx -enable-shared Svn checkout svn:///mplayer/trunk mplayer Get the latest FFMPEG/MPlayer from the subversion Mv /essential-20061022/* /usr/local/lib/codecs/ĥ. Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS)Ħ. Create the codecs directory & import them You should have root access & basic Linux knowledge to the server to follow these instructions.īunzip2 2 tar xvf essential-20061022.tarīunzip2 ffmpeg-php-0.5.0.tbz2 tar xvf ffmpeg-php-0.5.0.tarĤ. A lot of people are getting hiring people to install FFMPEG as they think it’s a difficult task, but it’s much easier than you think if you follow these instructions.









How to install ffmpeg-php on ubuntu 16.04 lts