<?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: An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output</title>
	<atom:link href="/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/feed/" rel="self" type="application/rss+xml" />
	<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: Dima Maykov</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-382603</link>
		<dc:creator><![CDATA[Dima Maykov]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 17:52:01 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-382603</guid>
		<description><![CDATA[Cool. Your site are helping a lot of programmer of world. 

Thanks.]]></description>
		<content:encoded><![CDATA[<p>Cool. Your site are helping a lot of programmer of world. </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-257872</link>
		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Wed, 28 Jan 2015 14:37:09 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-257872</guid>
		<description><![CDATA[Yes, very helpful.
I would also like to know what the &quot;2&#062;&#038;1&quot; means / does? Will it also work for other commands?]]></description>
		<content:encoded><![CDATA[<p>Yes, very helpful.<br />
I would also like to know what the &#8220;2&gt;&amp;1&#8221; means / does? Will it also work for other commands?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-18738</link>
		<dc:creator><![CDATA[Ryan]]></dc:creator>
		<pubDate>Thu, 06 Jun 2013 15:53:46 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-18738</guid>
		<description><![CDATA[Thanks for this! Works perfectly for me]]></description>
		<content:encoded><![CDATA[<p>Thanks for this! Works perfectly for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabrizio</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-18462</link>
		<dc:creator><![CDATA[fabrizio]]></dc:creator>
		<pubDate>Sun, 03 Feb 2013 17:25:35 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-18462</guid>
		<description><![CDATA[I&#039;m sorry, I have the same problem even if more severe. my code worked, then I do not know why they have stopped doing it overnight. the code is:
          
  exec(&quot;ffmpeg -i video/howtodo.flv 2&#062;&#038;1&quot;,$duration,$return);          
           var_dump($return);
          var_dump($duration); 
and the result on the screen is:
int 1

array
  empty

what is the problem in your opinion??? thanks in advance]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, I have the same problem even if more severe. my code worked, then I do not know why they have stopped doing it overnight. the code is:</p>
<p>  exec(&#8220;ffmpeg -i video/howtodo.flv 2&gt;&amp;1&#8221;,$duration,$return);<br />
           var_dump($return);<br />
          var_dump($duration);<br />
and the result on the screen is:<br />
int 1</p>
<p>array<br />
  empty</p>
<p>what is the problem in your opinion??? thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Engels Antonio</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-16710</link>
		<dc:creator><![CDATA[Engels Antonio]]></dc:creator>
		<pubDate>Thu, 04 Oct 2012 16:09:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-16710</guid>
		<description><![CDATA[This saved me a lot of time, thanks!]]></description>
		<content:encoded><![CDATA[<p>This saved me a lot of time, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoimen</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-15032</link>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
		<pubDate>Mon, 23 Jan 2012 08:12:21 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-15032</guid>
		<description><![CDATA[@John Anderson - $output is a string containing the command&#039;s output, i.e. what you normally see in the terminal.]]></description>
		<content:encoded><![CDATA[<p>@John Anderson &#8211; $output is a string containing the command&#8217;s output, i.e. what you normally see in the terminal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Anderson</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-15030</link>
		<dc:creator><![CDATA[John Anderson]]></dc:creator>
		<pubDate>Sun, 22 Jan 2012 20:51:35 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-15030</guid>
		<description><![CDATA[What is $output? A file path?]]></description>
		<content:encoded><![CDATA[<p>What is $output? A file path?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Web Help</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-15018</link>
		<dc:creator><![CDATA[The Web Help]]></dc:creator>
		<pubDate>Wed, 18 Jan 2012 00:49:03 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-15018</guid>
		<description><![CDATA[Yes, the 2&#062;&#038;1 at the end helped me get the output too, the command looks like this now:
&lt;pre lang=&quot;bash&quot;&gt;
system(&quot;ffmpeg -i sample.flv 2&gt;&amp;1&quot;);
&lt;/pre&gt;
Thank you.]]></description>
		<content:encoded><![CDATA[<p>Yes, the 2&gt;&amp;1 at the end helped me get the output too, the command looks like this now:</p>
<pre lang="bash">
system("ffmpeg -i sample.flv 2>&#038;1");
</pre>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-14573</link>
		<dc:creator><![CDATA[Felix]]></dc:creator>
		<pubDate>Thu, 10 Nov 2011 11:02:02 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-14573</guid>
		<description><![CDATA[Hey Stoimen,

that little &quot;2&#062;&#038;1&quot; helped me out.. Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hey Stoimen,</p>
<p>that little &#8220;2&gt;&amp;1&#8221; helped me out.. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ahmet bardiz</title>
		<link>/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/comment-page-1/#comment-14343</link>
		<dc:creator><![CDATA[ahmet bardiz]]></dc:creator>
		<pubDate>Wed, 22 Jun 2011 03:11:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=2293#comment-14343</guid>
		<description><![CDATA[I have a problem like you have said in use of the exec() method with a parameter of the ffmpeg command.
But I did not understand what you mean with the

&quot;The solution is quite simple. You’ve to redirect the output of the FFMPEG command to the standard output.

/usr/local/bin/ffmpeg -i /var/www/android/test.mp4 2&#062;&#038;1&quot;
What the &quot;2&#062;&#038;1&quot; means?
Thanks ;)]]></description>
		<content:encoded><![CDATA[<p>I have a problem like you have said in use of the exec() method with a parameter of the ffmpeg command.<br />
But I did not understand what you mean with the</p>
<p>&#8220;The solution is quite simple. You’ve to redirect the output of the FFMPEG command to the standard output.</p>
<p>/usr/local/bin/ffmpeg -i /var/www/android/test.mp4 2&gt;&amp;1&#8221;<br />
What the &#8220;2&gt;&amp;1&#8221; means?<br />
Thanks 😉</p>
]]></content:encoded>
	</item>
</channel>
</rss>
