<?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: Using FFMpeg to Convert mpg or mov to flv</title> <atom:link href="http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/feed/" rel="self" type="application/rss+xml" /><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/</link> <description>AKA John Rockefeller</description> <lastBuildDate>Thu, 03 Nov 2011 17:32:06 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Mike</title><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/comment-page-1/#comment-10244</link> <dc:creator>Mike</dc:creator> <pubDate>Mon, 26 Sep 2011 03:24:41 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=202#comment-10244</guid> <description>&lt;b&gt;You are amazing!&lt;/b&gt; Thank you so much for being so generous with your knowledge. You have saved the day!</description> <content:encoded><![CDATA[<p><b>You are amazing!</b> Thank you so much for being so generous with your knowledge. You have saved the day!</p> ]]></content:encoded> </item> <item><title>By: sherif</title><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/comment-page-1/#comment-10171</link> <dc:creator>sherif</dc:creator> <pubDate>Thu, 19 May 2011 06:01:30 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=202#comment-10171</guid> <description>Hi,Can any1 please tell me, from where should i download ffmpeg and how should i put that in the server?</description> <content:encoded><![CDATA[<p>Hi,</p><p>Can any1 please tell me, from where should i download ffmpeg and how should i put that in the server?</p> ]]></content:encoded> </item> <item><title>By: billy</title><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/comment-page-1/#comment-10170</link> <dc:creator>billy</dc:creator> <pubDate>Sat, 14 May 2011 13:27:00 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=202#comment-10170</guid> <description>hello thank you for your script!i have finally gotten ffmpeg installed on my server but when i try to execute i get an error:-bash: syntax error near unexpected token `newline&#039;do you know why maybe this happens?thanks!</description> <content:encoded><![CDATA[<p>hello thank you for your script!</p><p>i have finally gotten ffmpeg installed on my server<br /> but when i try to execute i get an error:</p><p>-bash: syntax error near unexpected token `newline&#8217;</p><p>do you know why maybe this happens?</p><p>thanks!</p> ]]></content:encoded> </item> <item><title>By: Eduardo Baldan</title><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/comment-page-1/#comment-10132</link> <dc:creator>Eduardo Baldan</dc:creator> <pubDate>Wed, 21 Apr 2010 04:20:22 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=202#comment-10132</guid> <description>Duh!I forgot to tell why I had to add those stuff to the script. Without the metadata, FLV players, such as flowplayer, don&#039;t show de total time and controls for the video.Now I&#039;m gone! =]</description> <content:encoded><![CDATA[<p>Duh!</p><p>I forgot to tell why I had to add those stuff to the script.<br /> Without the metadata, FLV players, such as flowplayer, don&#8217;t show de total time and controls for the video.</p><p>Now I&#8217;m gone! =]</p> ]]></content:encoded> </item> <item><title>By: Eduardo Baldan</title><link>http://www.johnrockefeller.net/using-ffmpeg-to-convert-mpg-or-mov-to-flv/comment-page-1/#comment-10131</link> <dc:creator>Eduardo Baldan</dc:creator> <pubDate>Wed, 21 Apr 2010 04:08:55 +0000</pubDate> <guid isPermaLink="false">http://www.johnrockefeller.net/?p=202#comment-10131</guid> <description>Well, the code was not presented on my comment. Let me try again&lt;?php if ($handle = opendir(&#039;.&#039;))  { while (false !== ($file = readdir($handle))) { if ($file != &quot;.&quot; &amp;&amp; $file != &quot;..&quot; &amp;&amp; strpos($file, &quot;mpg&quot;) !== false) { $new_filename = str_replace(&quot;mpg&quot;, &quot;flv&quot;, $file); $file = str_replace(&quot; &quot;, &quot;\ &quot;, $file); $new_filename = str_replace(&quot; &quot;, &quot;\ &quot;, $new_filename); exec(&quot;ffmpeg -i $file -deinterlace -ar 44100 -r 25 -qmin 2 -qmax 4 temp.flv&quot;); exec(&quot;yamdi -i temp.flv -o $new_filename&quot;); exec(&quot;rm temp.flv&quot;); } } closedir($handle); } ?&gt;</description> <content:encoded><![CDATA[<p>Well, the code was not presented on my comment.<br /> Let me try again</p><p>&lt;?php<br /> if ($handle = opendir(&#8216;.&#8217;))  {<br /> while (false !== ($file = readdir($handle))) {</p><p> if ($file != &#8220;.&#8221; &amp;&amp; $file != &#8220;..&#8221; &amp;&amp; strpos($file, &#8220;mpg&#8221;) !== false) {<br /> $new_filename = str_replace(&#8220;mpg&#8221;, &#8220;flv&#8221;, $file);<br /> $file = str_replace(&#8221; &#8220;, &#8220;\ &#8220;, $file);<br /> $new_filename = str_replace(&#8221; &#8220;, &#8220;\ &#8220;, $new_filename);<br /> exec(&#8220;ffmpeg -i $file -deinterlace -ar 44100 -r 25 -qmin 2 -qmax 4 temp.flv&#8221;);<br /> exec(&#8220;yamdi -i temp.flv -o $new_filename&#8221;);<br /> exec(&#8220;rm temp.flv&#8221;);<br /> }<br /> }<br /> closedir($handle);<br /> }<br /> ?&gt;</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 5/17 queries in 0.028 seconds using disk: basic

Served from: www.johnrockefeller.net @ 2012-02-11 18:06:21 -->
