<br><br><div class="gmail_quote">On Sat, Jul 12, 2008 at 12:17 PM, Allen Edwards &lt;<a href="mailto:allen.edwards@oldpaloalto.com">allen.edwards@oldpaloalto.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
</div>Looks like your last step is the easiest to do so perhaps I will try and<br>
get lucky and start there but... &nbsp;having looked over the entire file,<br>
where are you suggesting the change?<br>
<br>
By adding a line in this?<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; $ffmpeg_pid = open(DATA,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;$ffmpeg -y -i &quot;.shell_escape($filename)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -s &#39;.shell_escape(&quot;${width}x$height&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -r 24 -f flv -ac 2 -ar 11025&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -ab &#39;.shell_escape(&quot;${abitrate}k&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -b &#39;.shell_escape(&quot;${vbitrate}k&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; /dev/stdout 2&gt;/dev/null |&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );<br>
<br>
<br>
Like this:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; $ffmpeg_pid = open(DATA,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;$ffmpeg -y -i &quot;.shell_escape($filename)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -s &#39;.shell_escape(&quot;${width}x$height&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -r 24 -f flv -ac 2 -ar 11025&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -acodec mp3<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -ab &#39;.shell_escape(&quot;${abitrate}k&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; -b &#39;.shell_escape(&quot;${vbitrate}k&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .&#39; /dev/stdout 2&gt;/dev/null |&#39;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );<br>
<br>
???<br>
<br>
Please excuse me if I have the wrong place.<br>
<font color="#888888"><br>
</font></blockquote><div><br>That&#39;s why I subscribe to this list, for gems like this. I&#39;ve wanted to get audio working in mythweb forever but just never got around to researching it. Now that this thread came along it lit a fire under me.  I installed the Medibuntu repositories and updated ffmpeg and libavcodec1d as Nick had mentioned, then I tried modifying the code using Allen&#39;s example but when I put the new line in place Mythweb won&#39;t play videos... I just get a blank screen. Taking the line out gets it working again. The command must belong somewhere else but I have no idea where - There&#39;s nothing in mythbackend.log so I&#39;m not sure where the line is supposed to go, but I&#39;m eagerly awaiting a response. :-)<br>
</div></div><br>