<?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>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
	<atom:link href="http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/feed" rel="self" type="application/rss+xml" />
	<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html</link>
	<description>Tiny bits of bioinformatics, [web-]programming etc</description>
	<lastBuildDate>Sun, 14 Mar 2010 08:55:31 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-104291</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Sat, 20 Feb 2010 10:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-104291</guid>
		<description>There is a sample shell script at the end of the post to circumvent that problem. Disclaimer: I haven&#039;t tested if it actually helps, and it needs a little more work and adaptation for each case to be functional.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->There is a sample shell script at the end of the post to circumvent that problem. Disclaimer: I haven&#8217;t tested if it actually helps, and it needs a little more work and adaptation for each case to be functional.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-104289</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Sat, 20 Feb 2010 06:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-104289</guid>
		<description>Hi!

I&#039;m having the same problem as Bw, a blank page using godaddy shared hosting, could someone please give us a code example to workaround the LD_LIBRARY_PATH protected?

Thanks.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Hi!</p>
<p>I&#8217;m having the same problem as Bw, a blank page using godaddy shared hosting, could someone please give us a code example to workaround the LD_LIBRARY_PATH protected?</p>
<p>Thanks.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-79001</link>
		<dc:creator>bw</dc:creator>
		<pubDate>Wed, 20 Aug 2008 10:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-79001</guid>
		<description>Hi I&#039;ve followed the guide, but my ffmpeg.php file return a blank page. I aaded a line phpinfo() to the file, and it does appear that safe_mode_protected_env_vars is set.

In your guide you say....

If that doesn&#039;t work for you: LD_LIBRARY_PATH can be a protected variable in PHP (you can check for this by searching for the &quot;safe_mode_protected_env_vars&quot; value in phpinfo() output). The workaround here can be to write your commands to a file from php, then chmod that file with 0775 permissions (rwx-rx-rx), and run the file through exec(). 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.

Can you provide more details on this? Maybe a code example?

Thanks.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Hi I&#8217;ve followed the guide, but my ffmpeg.php file return a blank page. I aaded a line phpinfo() to the file, and it does appear that safe_mode_protected_env_vars is set.</p>
<p>In your guide you say&#8230;.</p>
<p>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 chmod that file with 0775 permissions (rwx-rx-rx), and run the file through exec(). 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.</p>
<p>Can you provide more details on this? Maybe a code example?</p>
<p>Thanks.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73984</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Tue, 08 Jul 2008 15:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73984</guid>
		<description>you don&#039;t need that test.php

just call ffmpegtest.php from your browser; only check that syntax is correct (you omitted opening brace and quote in your comment above):

exec(&quot;export LD_LIBRARY_PATH=/home/content/t/r/o/troxxxx/html/trozza/&quot;);
echo passthru(&quot;/home/content/t/r/o/troxxxx/html/trozza/ffmpeg -formats&quot;);

also, do not forget to set &quot;executable&quot; permission onto ffmpeg (if you have shell access, do &lt;strong&gt;chmod a+x ffmpeg&lt;/strong&gt; in the directory where ffmpeg is located; if you do not have shell access, use your FTP manager to set &quot;execute&quot; permission for user/group/others).</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->you don&#8217;t need that test.php</p>
<p>just call ffmpegtest.php from your browser; only check that syntax is correct (you omitted opening brace and quote in your comment above):</p>
<p>exec(&#8220;export LD_LIBRARY_PATH=/home/content/t/r/o/troxxxx/html/trozza/&#8221;);<br />
echo passthru(&#8220;/home/content/t/r/o/troxxxx/html/trozza/ffmpeg -formats&#8221;);</p>
<p>also, do not forget to set &#8220;executable&#8221; permission onto ffmpeg (if you have shell access, do <strong>chmod a+x ffmpeg</strong> in the directory where ffmpeg is located; if you do not have shell access, use your FTP manager to set &#8220;execute&#8221; permission for user/group/others).<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73904</link>
		<dc:creator>Trozza</dc:creator>
		<pubDate>Tue, 08 Jul 2008 00:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73904</guid>
		<description>K, thanks for the suggestion trying again :P

ffmpegtest.php looks like
exec(&quot;export LD_LIBRARY_PATH=/home/content/t/r/o/troxxxx/html/trozza/&quot;);
echo passthru/home/content/t/r/o/troxxxx/html/trozza/ffmpeg -formats&quot;);

and test.php looks like
exec(&quot;ffmpegtest.php&quot;);</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->K, thanks for the suggestion trying again <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>ffmpegtest.php looks like<br />
exec(&#8220;export LD_LIBRARY_PATH=/home/content/t/r/o/troxxxx/html/trozza/&#8221;);<br />
echo passthru/home/content/t/r/o/troxxxx/html/trozza/ffmpeg -formats&#8221;);</p>
<p>and test.php looks like<br />
exec(&#8220;ffmpegtest.php&#8221;);<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73837</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Mon, 07 Jul 2008 14:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73837</guid>
		<description>Any between-angle-brackets code is automatically discarded.
Avoid using angle brackets (as in PHP&#039;s start/end tags), and everything should be fine.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Any between-angle-brackets code is automatically discarded.<br />
Avoid using angle brackets (as in PHP&#8217;s start/end tags), and everything should be fine.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73835</link>
		<dc:creator>Trozza</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73835</guid>
		<description>crap! sorry for flooding the thread but just realized the code I had posted didn&#039;t show up

ffmpegtest.php looks like
&lt;code&gt;

&lt;/code&gt;

test.php looks like
&lt;code&gt;

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->crap! sorry for flooding the thread but just realized the code I had posted didn&#8217;t show up</p>
<p>ffmpegtest.php looks like<br />
<code></p>
<p></code></p>
<p>test.php looks like<br />
<code></p>
<p></code><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73834</link>
		<dc:creator>Trozza</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73834</guid>
		<description>Sorry for the second post but couldn&#039;t edit previous post and forgot to add that i&#039;m on a godaddy shared linux  host 

Troz</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Sorry for the second post but couldn&#8217;t edit previous post and forgot to add that i&#8217;m on a godaddy shared linux  host </p>
<p>Troz<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-73833</link>
		<dc:creator>Trozza</dc:creator>
		<pubDate>Mon, 07 Jul 2008 13:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-73833</guid>
		<description>Hay I&#039;m having troubles with testing :P

I managed to get to the second last bullet point, the page is blank when executed, so I had a look at the last bullet point and found LD_LIBRARY_PATH was a protected variable, so I tried the workaround exec(), however I&#039;m still getting a blank page, so thought I&#039;d check that I&#039;m doing it correctly, as i&#039;ve never used the exec() command before. 
ffmpegtest.php file is executable and looks like


and my test.php file looks like below


and I&#039;ve uploaded ffmpeg and libmp3lame.so to the trozza folder.

Thanks for any help you can provide, site is excellent!</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->Hay I&#8217;m having troubles with testing <img src='http://bogdan.org.ua/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I managed to get to the second last bullet point, the page is blank when executed, so I had a look at the last bullet point and found LD_LIBRARY_PATH was a protected variable, so I tried the workaround exec(), however I&#8217;m still getting a blank page, so thought I&#8217;d check that I&#8217;m doing it correctly, as i&#8217;ve never used the exec() command before.<br />
ffmpegtest.php file is executable and looks like</p>
<p>and my test.php file looks like below</p>
<p>and I&#8217;ve uploaded ffmpeg and libmp3lame.so to the trozza folder.</p>
<p>Thanks for any help you can provide, site is excellent!<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-67603</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Tue, 06 May 2008 18:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-67603</guid>
		<description>I updated the post to include information you need.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->I updated the post to include information you need.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Instructions on installing libmp3lame-enabled ffmpeg on shared linux hosting</title>
		<link>http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html/comment-page-1#comment-67505</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 05 May 2008 20:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://bogdan.org.ua/2008/03/12/instructions-on-installing-libmp3lame-enabled-ffmpeg-on-shared-linux-hosting.html#comment-67505</guid>
		<description>I&#039;ve created the file, running the command &quot;-formats&quot; and it is indeed all working great.

However, now I want to pass in a Parameter to my command-file but not being a huge linux guy, I&#039;m not certain of the commands (like in DOS it would be %1 %2 %3, etc).

Final help from anyone?

Thanks.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start -->I&#8217;ve created the file, running the command &#8220;-formats&#8221; and it is indeed all working great.</p>
<p>However, now I want to pass in a Parameter to my command-file but not being a huge linux guy, I&#8217;m not certain of the commands (like in DOS it would be %1 %2 %3, etc).</p>
<p>Final help from anyone?</p>
<p>Thanks.<!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
