<br><br><div class="gmail_quote">On Sat, Jul 12, 2008 at 12:17 PM, Allen Edwards <<a href="mailto:allen.edwards@oldpaloalto.com">allen.edwards@oldpaloalto.com</a>> 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... having looked over the entire file,<br>
where are you suggesting the change?<br>
<br>
By adding a line in this?<br>
<br>
$ffmpeg_pid = open(DATA,<br>
"$ffmpeg -y -i ".shell_escape($filename)<br>
.' -s '.shell_escape("${width}x$height")<br>
.' -r 24 -f flv -ac 2 -ar 11025'<br>
.' -ab '.shell_escape("${abitrate}k")<br>
.' -b '.shell_escape("${vbitrate}k")<br>
.' /dev/stdout 2>/dev/null |'<br>
);<br>
<br>
<br>
Like this:<br>
<br>
$ffmpeg_pid = open(DATA,<br>
"$ffmpeg -y -i ".shell_escape($filename)<br>
.' -s '.shell_escape("${width}x$height")<br>
.' -r 24 -f flv -ac 2 -ar 11025'<br>
.' -acodec mp3<br>
.' -ab '.shell_escape("${abitrate}k")<br>
.' -b '.shell_escape("${vbitrate}k")<br>
.' /dev/stdout 2>/dev/null |'<br>
);<br>
<br>
???<br>
<br>
Please excuse me if I have the wrong place.<br>
<font color="#888888"><br>
</font></blockquote><div><br>That's why I subscribe to this list, for gems like this. I'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's example but when I put the new line in place Mythweb won'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's nothing in mythbackend.log so I'm not sure where the line is supposed to go, but I'm eagerly awaiting a response. :-)<br>
</div></div><br>