![]() Restart Apache to load FFMPEG-PHP (Depends on OS, this is for RHEL/CentOS) service httpd restartġ7. Install FFMPEG-PHP (make sure the php.ini path is correct.) echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' > /usr/local/Zend/etc/php.iniġ6. Compile FFMPEG-PHP cd ~/ffmpeg/ ffmpeg-php-0.5.0ġ5. Ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51ġ4. 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 Finalize the codec setups ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50 configure -enable-libmp3lame -enable-libogg -enable-libvorbis -disable-mmx -enable-sharedġ3. Compile flvtool2 cd ~/ffmpeg/flvtool2_1.0.5_rc6 Compile libVorbis cd ~/ffmpeg/libvorbis-1.1.2ġ0. Compile libOGG cd ~/ffmpeg/libogg-1.1.3ĩ. Svn checkout svn:///mplayer/trunk mplayerĨ. ![]() Get the latest FFMPEG/MPlayer from the subversion svn checkout svn:///ffmpeg/trunk ffmpeg Install SVN/Ruby (Depends on OS, this is for RHEL/CentOS) yum install subversionĦ. ![]() Create the codecs directory & import them mkdir /usr/local/lib/codecs/ Extract all the source files bunzip2 2 tar xvf essential-20061022.tarīunzip2 ffmpeg-php-0.5.0.tbz2 tar xvf ffmpeg-php-0.5.0.tarĤ. Create a directory to do our work in mkdir ~/ffmpegĢ. You should have root access & basic Linux knowledge to the server to follow these instructions.ġ. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |