<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How to use ffmpeg if libmp3lame support is not present</title> <atom:link href="https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Mon, 01 Jan 2024 17:12:20 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>By: Mohammad Abbas</title><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html#comment-83885</link> <dc:creator><![CDATA[Mohammad Abbas]]></dc:creator> <pubDate>Mon, 13 Oct 2008 16:28:58 +0000</pubDate> <guid
isPermaLink="false">http://bogdan.org.ua/?p=291#comment-83885</guid> <description><![CDATA[Hi,
Your tutorial was just perfect, I&#039;ve done all the steps and all exept:
./configure â€“enable-libmp3lame â€“enable-libogg â€“enable-libvorbis â€“disable-mmx â€“enable-shared
did not work as I had to change the command to:
./configure -â€“enable-libmp3lame â€“-enable-libvorbis â€“-disable-mmx â€“-enable-shared
And also remobed the â€“enable-libogg from the list as the new ffmpeg dose not include the â€“enable-libogg on the ./configure
Thank you very much]]></description> <content:encoded><![CDATA[<p>Hi,</p><p>Your tutorial was just perfect, I&#8217;ve done all the steps and all exept:<br
/> ./configure â€“enable-libmp3lame â€“enable-libogg â€“enable-libvorbis â€“disable-mmx â€“enable-shared<br
/> did not work as I had to change the command to:<br
/> ./configure -â€“enable-libmp3lame â€“-enable-libvorbis â€“-disable-mmx â€“-enable-shared<br
/> And also remobed the â€“enable-libogg from the list as the new ffmpeg dose not include the â€“enable-libogg on the ./configure</p><p>Thank you very much</p> ]]></content:encoded> </item> <item><title>By: Inder Singh</title><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html#comment-74160</link> <dc:creator><![CDATA[Inder Singh]]></dc:creator> <pubDate>Wed, 09 Jul 2008 20:20:33 +0000</pubDate> <guid
isPermaLink="false">http://bogdan.org.ua/?p=291#comment-74160</guid> <description><![CDATA[hi,
nice tutorial.]]></description> <content:encoded><![CDATA[<p>hi,</p><p>nice tutorial.</p> ]]></content:encoded> </item> <item><title>By: Bogdan</title><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html#comment-69119</link> <dc:creator><![CDATA[Bogdan]]></dc:creator> <pubDate>Thu, 22 May 2008 07:07:23 +0000</pubDate> <guid
isPermaLink="false">http://bogdan.org.ua/?p=291#comment-69119</guid> <description><![CDATA[Thanks for extended information! I wonder who would be the initial author of this short manual - little search gives too many results to figure it out :)
One notice, though: this &quot;manual&quot; assumes that the person has full access to the Linux PC; my advice in this and linked posts is targeted at shared hosting users, who do not have sufficient access rights, but still (after some tweaking) can use ffmpeg/libmp3lame/etc for the multimedia purposes on their websites.]]></description> <content:encoded><![CDATA[<p>Thanks for extended information! I wonder who would be the initial author of this short manual &#8211; little search gives too many results to figure it out <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p><p>One notice, though: this &#8220;manual&#8221; assumes that the person has full access to the Linux PC; my advice in this and linked posts is targeted at shared hosting users, who do not have sufficient access rights, but still (after some tweaking) can use ffmpeg/libmp3lame/etc for the multimedia purposes on their websites.</p> ]]></content:encoded> </item> <item><title>By: octalsystems</title><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html#comment-69115</link> <dc:creator><![CDATA[octalsystems]]></dc:creator> <pubDate>Thu, 22 May 2008 01:43:50 +0000</pubDate> <guid
isPermaLink="false">http://bogdan.org.ua/?p=291#comment-69115</guid> <description><![CDATA[This article shows how to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source. It should work on most systems, however may need some tweaking from system to sytem.
cd /usr/local/src
Download source tarballs:
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
Extract the tarballs:
tar zxvf lame-3.97.tar.gz
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
tar zxvf flvtool2_1.0.5_rc6.tgz
tar jxvf essential-20061022.tar.bz2
tar jxvf ffmpeg-php-0.5.0.tbz2
tar zxvf flvtool2_1.0.5_rc6.tgz
Make a directory to store all the codecs:
mkdir /usr/local/lib/codecs/
Install any necessary packages:
yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran
yum install subversion ruby ncurses-devel
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd /usr/local/src/mplayer
svn update
cd /usr/local/src
Copy codecs for mplayer:
mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
If you are using secure tmp:
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
Installing Lame:
cd /usr/local/src/lame-3.97
./configure
make &amp;&amp; make install
Installing Libogg:
cd /usr/local/src/libogg-1.1.3
./configure &amp;&amp; make &amp;&amp; make install
Installing libvorbis:
cd /usr/local/src/libvorbis-1.1.2
./configure &amp;&amp; make &amp;&amp; make install
Installing flvtool2:
cd /usr/local/src/flvtool2_1.0.5_rc6/
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd /usr/local/src/mplayer
./configure &amp;&amp; make &amp;&amp; make install
Installing ffmpeg:
cd /usr/local/src/ffmpeg/
./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
make &amp;&amp; make install
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
Installing ffmpeg-php:
cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install
Note: Make sure this is the correct php.ini for this server.
echo &#039;extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so&#039; &gt;&gt; /usr/local/Zend/etc/php.ini
Restart apache:
service httpd restart]]></description> <content:encoded><![CDATA[<p>This article shows how to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source. It should work on most systems, however may need some tweaking from system to sytem.</p><p>cd /usr/local/src</p><p>Download source tarballs:</p><p>wget <a
href="http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz" rel="nofollow">http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz</a><br
/> wget <a
href="http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz" rel="nofollow">http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz</a><br
/> wget <a
href="http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2" rel="nofollow">http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2</a><br
/> wget <a
href="http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz" rel="nofollow">http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz</a><br
/> wget <a
href="http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz" rel="nofollow">http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz</a><br
/> wget <a
href="http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2" rel="nofollow">http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2</a></p><p>Extract the tarballs:</p><p>tar zxvf lame-3.97.tar.gz<br
/> tar zxvf libogg-1.1.3.tar.gz<br
/> tar zxvf libvorbis-1.1.2.tar.gz<br
/> tar zxvf flvtool2_1.0.5_rc6.tgz<br
/> tar jxvf essential-20061022.tar.bz2<br
/> tar jxvf ffmpeg-php-0.5.0.tbz2<br
/> tar zxvf flvtool2_1.0.5_rc6.tgz</p><p>Make a directory to store all the codecs:</p><p>mkdir /usr/local/lib/codecs/</p><p>Install any necessary packages:</p><p>yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran<br
/> yum install subversion ruby ncurses-devel</p><p>svn checkout <a
href="svn://svn.mplayerhq.hu/ffmpeg/trunk" rel="nofollow">svn://svn.mplayerhq.hu/ffmpeg/trunk</a> ffmpeg<br
/> svn checkout <a
href="svn://svn.mplayerhq.hu/mplayer/trunk" rel="nofollow">svn://svn.mplayerhq.hu/mplayer/trunk</a> mplayer<br
/> cd /usr/local/src/mplayer<br
/> svn update<br
/> cd /usr/local/src</p><p>Copy codecs for mplayer:</p><p>mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/<br
/> chmod -R 755 /usr/local/lib/codecs/</p><p>If you are using secure tmp:</p><p>mkdir /usr/local/src/tmp<br
/> chmod 777 /usr/local/src/tmp<br
/> export TMPDIR=/usr/local/src/tmp</p><p>Installing Lame:</p><p>cd /usr/local/src/lame-3.97<br
/> ./configure<br
/> make &amp;&amp; make install</p><p>Installing Libogg:</p><p>cd /usr/local/src/libogg-1.1.3<br
/> ./configure &amp;&amp; make &amp;&amp; make install</p><p>Installing libvorbis:</p><p>cd /usr/local/src/libvorbis-1.1.2<br
/> ./configure &amp;&amp; make &amp;&amp; make install</p><p>Installing flvtool2:</p><p>cd /usr/local/src/flvtool2_1.0.5_rc6/<br
/> ruby setup.rb config<br
/> ruby setup.rb setup<br
/> ruby setup.rb install</p><p>cd /usr/local/src/mplayer<br
/> ./configure &amp;&amp; make &amp;&amp; make install</p><p>Installing ffmpeg:</p><p>cd /usr/local/src/ffmpeg/<br
/> ./configure &#8211;enable-libmp3lame &#8211;enable-libogg &#8211;enable-libvorbis &#8211;disable-mmx &#8211;enable-shared<br
/> make &amp;&amp; make install</p><p>ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50<br
/> ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51<br
/> ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49<br
/> ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0<br
/> ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51</p><p>Installing ffmpeg-php:</p><p>cd /usr/local/src/ffmpeg-php-0.5.0/<br
/> phpize<br
/> ./configure<br
/> make<br
/> make install</p><p>Note: Make sure this is the correct php.ini for this server.</p><p>echo &#8216;extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so&#8217; &gt;&gt; /usr/local/Zend/etc/php.ini</p><p>Restart apache:</p><p>service httpd restart</p> ]]></content:encoded> </item> </channel> </rss>