Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
server-administration:install-ffmpeg [2011-04-28 23:12:47]
garrett.plasky Approved
server-administration:install-ffmpeg [2011-09-06 21:26:37]
garrett.plasky Approved
Line 9: Line 9:
   - First start out by downloading the necessary sources. These versions are subject to change so you may want to browse each repo to find the latest version (again caveat emptor!). This also installs Ruby, which is a pre-requisite for installing Flvtool; if you already have Ruby, skip the second line in this step and the first three lines in step 7:\\ <sxh shell; auto-links: false>cd /usr/local/src; \   - First start out by downloading the necessary sources. These versions are subject to change so you may want to browse each repo to find the latest version (again caveat emptor!). This also installs Ruby, which is a pre-requisite for installing Flvtool; if you already have Ruby, skip the second line in this step and the first three lines in step 7:\\ <sxh shell; auto-links: false>cd /usr/local/src; \
 wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz; \ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p0.tar.gz; \
-wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2; \+wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2; \
 wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz; \ wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz; \
-wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.98.4.tar.gz</sxh>+wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz</sxh>
   - Extract the files you just downloaded. \\ <sxh shell>tar xjvf essential-20061022.tar.bz2; \   - Extract the files you just downloaded. \\ <sxh shell>tar xjvf essential-20061022.tar.bz2; \
 tar xzvf flvtool2_1.0.5_rc6.tgz; \ tar xzvf flvtool2_1.0.5_rc6.tgz; \
Line 22: Line 22:
     * You may encounter an error saying that <c>no suitable perl(URI) was found for subversion</c>. If so, run the following and then re-run the yum command above without subversion:\\ <sxh shell; auto-links: false>wget http://subversion.tigris.org/downloads/subversion-1.5.9.tar.bz2     * You may encounter an error saying that <c>no suitable perl(URI) was found for subversion</c>. If so, run the following and then re-run the yum command above without subversion:\\ <sxh shell; auto-links: false>wget http://subversion.tigris.org/downloads/subversion-1.5.9.tar.bz2
 tar xjvf subversion-1.5.9.tar.bz2 tar xjvf subversion-1.5.9.tar.bz2
-cd subversion-1.5.9 && ./configure --with-apr=/usr/local/apache/bin/ --with-apr-util=/usr/local/apache/bin/ --with-ssl+cd subversion-1.5.9 && ./configure --with-apr=/usr/local/apache/bin/ --with-apr-util=/usr/local/apache/bin/ --with-ssl --disable-mod-activation
 make && make install</sxh> make && make install</sxh>
     * **NOTE:** You may need to change the APR paths to reflect your own Apache installation (e.g. /etc/httpd/bin/).     * **NOTE:** You may need to change the APR paths to reflect your own Apache installation (e.g. /etc/httpd/bin/).
Line 68: Line 68:
 extension=ffmpeg.so</sxh> extension=ffmpeg.so</sxh>
   - Restart Apache:\\ <sxh shell>/etc/init.d/httpd restart</sxh>   - Restart Apache:\\ <sxh shell>/etc/init.d/httpd restart</sxh>
-    * If you get an error about mod_dav_svn.so being unable to load, you will need to comment out the following two lines from the top of your httpd.conf (place a # in front of them and save the file):\\ <sxh plain>LoadModule dav_svn_module modules/mod_dav_svn.so 
-LoadModule authz_svn_module modules/mod_authz_svn.so</sxh> 
   - Check to make sure it started okay:\\ <sxh shell>ps auxf|grep http   - Check to make sure it started okay:\\ <sxh shell>ps auxf|grep http
 root      5684  0.0  0.0  66064  5052 ?        Ss   Sep15   0:49 /usr/local/apache/bin/httpd -k start -DSSL root      5684  0.0  0.0  66064  5052 ?        Ss   Sep15   0:49 /usr/local/apache/bin/httpd -k start -DSSL