<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; ffmpeg</title> <atom:link href="https://bogdan.org.ua/tags/ffmpeg/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>How to use ffmpeg if libmp3lame support is not present</title><link>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html</link> <comments>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html#comments</comments> <pubDate>Sat, 12 Apr 2008 20:41:07 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[direct stream copy]]></category> <category><![CDATA[example]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[libmp3lame]]></category> <category><![CDATA[sample command]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=291</guid> <description><![CDATA[I&#8217;m providing regularly updated compiled linux and freebsd ffmpeg binaries, and also described how to use ffmpeg on shared hostings if not all the required libraries (like libmp3lame) are present. However, the solution recommended might not &#8220;fit all&#8221;, so here is another one &#8211; simpler and even more portable/universal than setting LD_LIBRARY_PATH. The solution is [&#8230;]]]></description> <content:encoded><![CDATA[<p>I&#8217;m providing <a
href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html">regularly updated compiled linux and freebsd ffmpeg binaries</a>, and also <a
href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html">described how to use ffmpeg on shared hostings if not all the required libraries (like libmp3lame) are present</a>. However, the solution recommended might not &#8220;fit all&#8221;, so here is another one &#8211; simpler and even more portable/universal than setting LD_LIBRARY_PATH.<br
/> <span
id="more-291"></span><br
/> The solution is simple &#8211; I first proposed it in the <a
href="http://drupal.org/node/137203#comment-802272" class="broken_link" rel="nofollow">Getting ffmpeg working with flashvideo on various platforms</a> issue page on <a
href="http://drupal.org/" class="broken_link" rel="nofollow">Drupal.org</a>.</p><p>The idea is: if the original audio stream in the file is already compressed (most of the time it is), then you do not need to recompress it &#8211; and do not need libmp3lame or any other audio codec! To achieve the &#8220;ffmpeg direct stream copy&#8221; functionality, you can add one of the two options:<br
/> <strong>-vcodec copy</strong> will direct-stream-copy video (no re-compression),<br
/> <strong>-acodec copy</strong> will direct-stream-copy audio (no re-compression).</p><p>In other words, ffmpeg option <strong>-acodec copy</strong> should just copy the original audio from input file to output file without alteration, and will not require any audio codecs support.</p><p>Sample command line could be (in the example, a 1-minute fragment of the input file is just copied into the output file):</p><p><strong>ffmpeg -t 00:01:00 -i movie.avi -vcodec copy -acodec copy preview.avi</strong></p><p>This tip is based on the information initially obtained from the ffmpeg-user mailing list archive for June of 2005.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&amp;linkname=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&amp;linkname=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&amp;linkname=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&amp;linkname=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&amp;linkname=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F04%2F12%2Fhow-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html&#038;title=How%20to%20use%20ffmpeg%20if%20libmp3lame%20support%20is%20not%20present" data-a2a-url="https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html" data-a2a-title="How to use ffmpeg if libmp3lame support is not present"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/04/12/how-to-use-ffmpeg-if-libmp3lame-support-is-not-present.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title><link>https://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html</link> <comments>https://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comments</comments> <pubDate>Wed, 12 Mar 2008 06:25:54 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[install]]></category> <category><![CDATA[libmp3lame]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[shared hosting]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html</guid> <description><![CDATA[Note: this post is based on the comment by Simon, who generously shared his experience. Step-by-step: Download the compiled ffmpeg with libmp3lame support (direct download links: older version ffmpeg.with.lame and newer version ffmpeg.2007-10-28.with-libmp3lame-support). Rename the downloaded executable file to &#8220;ffmpeg&#8221; (no extension), upload it to the directory on your server (in this example /home/myusername/). Download [&#8230;]]]></description> <content:encoded><![CDATA[<p><em>Note:</em> this post is based on the <a
href="http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html#comment-59670">comment by Simon</a>, who generously shared his experience.</p><p>Step-by-step:</p><ul><li>Download the <a
title="this page will be irregularly updated with new compiled binaries of ffmpeg" href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html">compiled ffmpeg with libmp3lame support</a> (direct download links: older version <a
href="http://bogdan.org.ua/wp-content/uploads/2007/06/ffmpeg.with.lame">ffmpeg.with.lame</a> and newer version <a
href="http://bogdan.org.ua/wp-content/uploads/2007/10/ffmpeg.2007-10-28.with-libmp3lame-support">ffmpeg.2007-10-28.with-libmp3lame-support</a>).</li><li>Rename the downloaded executable file to &#8220;ffmpeg&#8221; (no extension), upload it to the directory on your server (in this example /home/myusername/).</li><li>Download <a
href="http://bogdan.org.ua/wp-content/uploads/2008/03/libmp3lame.so.0">libmp3lame.so.0</a>.</li><li>Upload libmp3lame.so.0 to the same directory where you placed ffmpeg in.</li><li>Create a php file with the following code (remember to change the paths to your own, where you actually uploaded binaries in previous steps):<div
id="ig-sh-1" class="syntax_hilite"><div
class="code"><ol
class="php" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span
style="color: #000000; font-weight: bold;">&lt;?php</span></div></li><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span
style="color: #990000;">exec</span><span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">&quot;export LD_LIBRARY_PATH=/home/myusername/&quot;</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span></div></li><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span
style="color: #b1b100;">echo</span> <span
style="color: #990000;">passthru</span><span
style="color: #009900;">&#40;</span><span
style="color: #0000ff;">&quot;/home/myusername/ffmpeg -formats&quot;</span><span
style="color: #009900;">&#41;</span><span
style="color: #339933;">;</span></div></li><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span
style="color: #000000; font-weight: bold;">?&gt;</span></div></li></ol></div></div></li><li>If you access that PHP file with your browser, you should be able to see a list of formats which are supported by ffmpeg, and if you find &#8220;EA libmp3lame&#8221; somewhere in the output, then it means you now can Encode Audio in libmp3lame!</li><li>If that doesn&#8217;t work for you: LD_LIBRARY_PATH can be a protected variable in PHP (you can check for this by searching for the &#8220;safe_mode_protected_env_vars&#8221; value in phpinfo() output). The workaround here can be to write your commands to a file from php, then <strong>chmod</strong> that file with 0755 permissions (rwx-rx-rx), and run the file through <strong>exec()</strong>. In this way, PHP is not changing the LD_LIBRARY_PATH, but telling the server to run a file, which tells the server to change it. This method worked for the original author of these instructions.</li></ul><p>For passing arguments to the PHP wrapper script &#8211; check out PHP&#8217;s $argv variable (more on this <a
href="http://www.php.net/features.commandline">here</a>). If you decided to use shell-script as a wrapper for &#8220;export LD_LIBRARY_PATH&#8221;, then using $1, $2 etc will allow you to pass parameters to the shell script, e.g. in the example below</p><div
id="ig-sh-2" class="syntax_hilite"><div
class="code"><ol
class="code" style="font-family:monospace;"><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">#!/bin/bash</div></li><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">export LD_LIBRARY_PATH=/home/myusername/</div></li><li
style="font-weight: normal; vertical-align:top;"><div
style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">/home/myusername/ffmpeg -i /home/myusername/$1 $2 /home/myusername/$3</div></li></ol></div></div><p>you could pass &#8220;input file&#8221; as first argument, &#8220;parameters&#8221; as second and &#8220;output file&#8221; as third to make such a wrapper script work.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;linkname=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;linkname=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;linkname=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;linkname=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&amp;linkname=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F03%2F12%2Finstructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html&#038;title=Instructions%20on%20installing%20libmp3lame-enabled%20ffmpeg%20on%20shared%20linux%20hosting" data-a2a-url="https://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html" data-a2a-title="Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/feed</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>Using libmp3lame-enabled ffmpeg on shared hosting</title><link>https://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html</link> <comments>https://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html#comments</comments> <pubDate>Thu, 25 Oct 2007 21:09:27 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[lame]]></category> <category><![CDATA[libmp3lame]]></category> <category><![CDATA[shared hosting]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html</guid> <description><![CDATA[Update: there&#8217;s now a much more recent post on how to install libmp3lame-enabled ffmpeg on shared linux hosting. As Gabe pointed out in my post with compiled ffmpeg Linux binaries, there is a relatively simple method of adding libmp3lame.so.0 file to your shared hosting so that ffmpeg executable will see the library: You can upload [&#8230;]]]></description> <content:encoded><![CDATA[<p><ins
datetime="2008-03-12T06:35:24+00:00">Update:</ins> there&#8217;s now a much more recent post on <a
href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html">how to install libmp3lame-enabled ffmpeg on shared linux hosting</a>.</p><p>As Gabe <a
href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html#comment-31359">pointed out</a> in my post with <a
href="http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html">compiled ffmpeg Linux binaries</a>, there is a relatively simple method of adding libmp3lame.so.0 file to your shared hosting so that ffmpeg executable will see the library:</p><blockquote><p>You can upload libmp4lame.so as well to the shared hosting site and when you call ffmpeg, call something to set an environment variable right before the call to ffmpeg i.e. in php Iâ€™d do exec(â€export LD_LIBRARY_PATH=/path/to/lib/with/lame; /path/to/ffmpeg [ffmpegargs]â€); That way you can use the uploaded lame. I hope that helps someone as I have been unable to find any info on how to use an uploaded lame. Iâ€™ve tried it and it works on godaddy.</p></blockquote><p>Hope this helps.</p><p><ins
datetime="2008-03-11T06:35:03+00:00">Update:</ins> here&#8217;s <a
href="http://bogdan.org.ua/wp-content/uploads/2008/03/libmp3lame.so.0" title="libmp3lame.so.0 (from slackware 2.4.x, lame-3.97)">libmp3lame.so.0.0.0 (from slackware 2.4.x, lame-3.97)</a>. I have no idea if it&#8217;ll work in your (shared hosting) environment; it is provided AS IS, use at your own risk etc. I can only state that the archived binary file at the moment of upload was indeed libmp3lame.so.0.0.0 from my elderly Slackware with 2.4.x kernel.</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;linkname=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;linkname=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;linkname=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;linkname=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&amp;linkname=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2007%2F10%2F25%2Fusing-libmp3lame-enabled-ffmpeg-on-shared-hosting.html&#038;title=Using%20libmp3lame-enabled%20ffmpeg%20on%20shared%20hosting" data-a2a-url="https://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html" data-a2a-title="Using libmp3lame-enabled ffmpeg on shared hosting"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2007/10/25/using-libmp3lame-enabled-ffmpeg-on-shared-hosting.html/feed</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>Compiled linux ffmpeg binary for Gallery2: download</title><link>https://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html</link> <comments>https://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html#comments</comments> <pubDate>Thu, 28 Jun 2007 21:40:05 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[CMS]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[binary]]></category> <category><![CDATA[compiled]]></category> <category><![CDATA[download]]></category> <category><![CDATA[ffmpeg]]></category> <category><![CDATA[g2]]></category> <category><![CDATA[gallery2]]></category> <category><![CDATA[linux]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html</guid> <description><![CDATA[Updated on Apr 8, 2008. Stimulated by the post of Eric Daniel (who used to have a blog at termitenshort.com), I compiled the most recent ffmpeg SVN source into Linux binary, which runs fine on my shared hosting (note: I&#8217;m using older ffmpeg binaries, which are at the end of the post). mini-FAQ: Q: Why [&#8230;]]]></description> <content:encoded><![CDATA[<p><ins
datetime="2007-10-28T21:43:07+00:00">Updated on Apr 8, 2008.</ins></p><p>Stimulated by the post of Eric Daniel (who used to have a blog at termitenshort.com), I compiled the <strong>most recent</strong> ffmpeg SVN source into <strong>Linux binary</strong>, which runs fine on my shared hosting (<em>note: I&#8217;m using older ffmpeg binaries, which are at the end of the post</em>).</p><p><strong>mini-FAQ:</strong><br
/> <em>Q: Why the title has &#8220;for Gallery2&#8243;?</em><br
/> A: Just because I avoided the inclusion of libraries, which were not found on my shared hosting server. I hope this will work for other shared hosting environments.</p><p>Configuration, version and date can be found in the output of ffmpeg.</p><p>Versions built on <strong>April, 8, 2008</strong>:<br
/> <a
href="/wp-content/uploads/2008/04/ffmpeg.no-lame">ffmpeg (no lame)</a> (checked: can be executed on godaddy shared hosting)</p><blockquote><p>FFmpeg version SVN-r12769, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-pthreads &#8211;disable-debug &#8211;enable-gray &#8211;disable-ffserver &#8211;disable-ffplay &#8211;enable-avfilter &#8211;disable-network &#8211;disable-ipv6<br
/> libavutil version: 49.6.0<br
/> libavcodec version: 51.54.0<br
/> libavformat version: 52.13.0<br
/> libavdevice version: 52.0.0<br
/> libavfilter version: 0.0.0<br
/> built on Apr  8 2008 15:13:14, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)<br
/> usage: ffmpeg [[infile options] -i infile]&#8230; {[outfile options] outfile}&#8230;</p></blockquote><p><a
href="/wp-content/uploads/2008/04/ffmpeg.lame">ffmpeg (with lame)</a>. For this one, grab <a
href="/wp-content/uploads/2008/04/libmp3lame.so">libmp3lame.so</a>.</p><blockquote><p>FFmpeg version SVN-r12769, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-pthreads &#8211;disable-debug &#8211;enable-gray &#8211;disable-ffserver &#8211;disable-ffplay &#8211;enable-avfilter &#8211;disable-network &#8211;disable-ipv6 &#8211;enable-libmp3lame<br
/> libavutil version: 49.6.0<br
/> libavcodec version: 51.54.0<br
/> libavformat version: 52.13.0<br
/> libavdevice version: 52.0.0<br
/> libavfilter version: 0.0.0<br
/> built on Apr  8 2008 15:44:31, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)</p></blockquote><p>Based on single request: <a
href="/wp-content/uploads/2008/04/ffmpeg.faad">ffmpeg (with lame <strong>and</strong> libfaac <strong>and</strong> libfaad)</a>. For this one, grab <a
href="/wp-content/uploads/2008/04/libfaac.so">libfaac.so</a> and <a
href="/wp-content/uploads/2008/04/libfaad.so">libfaad.so</a>.</p><blockquote><p>FFmpeg version SVN-r12769, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-pthreads &#8211;disable-debug &#8211;enable-gray &#8211;disable-ffserver &#8211;disable-ffplay &#8211;enable-avfilter &#8211;disable-network &#8211;disable-ipv6 &#8211;enable-libmp3lame &#8211;enable-libfaac &#8211;enable-libfaad<br
/> libavutil version: 49.6.0<br
/> libavcodec version: 51.54.0<br
/> libavformat version: 52.13.0<br
/> libavdevice version: 52.0.0<br
/> libavfilter version: 0.0.0<br
/> built on Apr  8 2008 23:53:57, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)</p></blockquote><p>As an experiment, here&#8217;s <a
href="/wp-content/uploads/2008/04/ffmpeg.freebsd.no-lame">ffmpeg freebsd binary without lame support</a>. Did ran on some FreeBSD 6.3 hosting.</p><blockquote><p>FFmpeg version SVN-r12769, Copyright (c) 2000-2008 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-postproc &#8211;enable-swscale &#8211;enable-pthreads &#8211;disable-debug &#8211;enable-gray &#8211;disable-ffserver &#8211;disable-ffplay &#8211;enable-avfilter &#8211;disable-network &#8211;disable-ipv6 &#8211;target-os=freebsd<br
/> libavutil version: 49.6.0<br
/> libavcodec version: 51.54.0<br
/> libavformat version: 52.13.0<br
/> libavdevice version: 52.0.0<br
/> libavfilter version: 0.0.0<br
/> built on Apr  8 2008 16:15:38, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)</p></blockquote><p>Versions built on <strong>Ocotber, 28, 2007</strong>:<br
/> <a
href="http://bogdan.org.ua/wp-content/uploads/2007/10/ffmpeg.2007-10-28.no-libmp3lame-support">download ffmpeg <strong>without</strong> libmp3lame support</a></p><blockquote><p>FFmpeg version SVN-r10867, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-pp &#8211;enable-swscaler &#8211;enable-pthreads</p><p>&#8211;enable-libogg &#8211;enable-libvorbis &#8211;disable-debug<br
/> libavutil version: 49.5.0<br
/> libavcodec version: 51.47.1<br
/> libavformat version: 51.17.0<br
/> built on Oct 28 2007 22:46:10, gcc: 3.4.6</p></blockquote><p><a
href="http://bogdan.org.ua/wp-content/uploads/2007/10/ffmpeg.2007-10-28.with-libmp3lame-support">download ffmpeg <strong>with</strong> libmp3lame support</a></p><blockquote><p>FFmpeg version SVN-r10867, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-pp &#8211;enable-swscaler &#8211;enable-libmp3lame</p><p>&#8211;enable-pthreads &#8211;enable-libogg &#8211;enable-libvorbis &#8211;disable-debug<br
/> libavutil version: 49.5.0<br
/> libavcodec version: 51.47.1<br
/> libavformat version: 51.17.0<br
/> built on Oct 28 2007 23:04:59, gcc: 3.4.6</p></blockquote><p>Shared hosting testing reports are welcome.</p><p>Below you can find <strong>even older versions of ffmpeg</strong>, which were tested and found functional on GoDaddy shared hosting.<br
/> <span
id="more-193"></span></p><p>Again, two versions are available &#8211; with libmp3lame support and without. Learn more about <a
href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html">using ffmpeg with libmp3lame support in shared hosting environment</a>.</p><p><a
href="http://bogdan.org.ua/wp-content/uploads/2007/06/ffmpeg">download ffmpeg without lame</a></p><blockquote><p>FFmpeg version SVN-r9447, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-pp &#8211;enable-swscaler &#8211;enable-pthreads &#8211;enable-libvorbis &#8211;disable-v4l &#8211;disable-v4l2 &#8211;disable-bktr &#8211;disable-dv1394 &#8211;disable-debug<br
/> libavutil version: 49.4.1<br
/> libavcodec version: 51.40.4<br
/> libavformat version: 51.12.1<br
/> built on Jun 28 2007 12:32:29, gcc: 3.4.6</p></blockquote><p>The second binary DID NOT work on my shared hosting due to the absence of libmp3lame.so.0 (see comments and <a
href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html">this post</a> on how to enable libmp3lame support).<br
/> It was built two days later, and has the following config:</p><p><a
href="http://bogdan.org.ua/wp-content/uploads/2007/06/ffmpeg.with.lame">download ffmpeg with lame</a></p><blockquote><p> FFmpeg version SVN-r9451, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br
/> configuration: &#8211;enable-gpl &#8211;enable-pp &#8211;enable-swscaler &#8211;enable-libmp3lame &#8211;enable-pthreads &#8211;enable-libvorbis &#8211;disable-v4l &#8211;disable-v4l2 &#8211;disable-bktr &#8211;disable-dv1394 &#8211;disable-debug<br
/> libavutil version: 49.4.1<br
/> libavcodec version: 51.40.4<br
/> libavformat version: 51.12.1<br
/> built on Jun 30 2007 11:51:23, gcc: 3.4.6</p></blockquote><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&amp;linkname=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&amp;linkname=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&amp;linkname=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&amp;linkname=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&amp;linkname=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2007%2F06%2F28%2Fcompiled-linux-ffmpeg-binary-for-gallery2-download.html&#038;title=Compiled%20linux%20ffmpeg%20binary%20for%20Gallery2%3A%20download" data-a2a-url="https://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html" data-a2a-title="Compiled linux ffmpeg binary for Gallery2: download"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2007/06/28/compiled-linux-ffmpeg-binary-for-gallery2-download.html/feed</wfw:commentRss> <slash:comments>49</slash:comments> </item> </channel> </rss>