[mythtv-users] Mythweb Flash Stream has no sound on ATSC
Matt Emmott
memmott at gmail.com
Sat Jul 12 21:43:04 UTC 2008
On Sat, Jul 12, 2008 at 12:17 PM, Allen Edwards <
allen.edwards at oldpaloalto.com> wrote:
>
> Looks like your last step is the easiest to do so perhaps I will try and
> get lucky and start there but... having looked over the entire file,
> where are you suggesting the change?
>
> By adding a line in this?
>
> $ffmpeg_pid = open(DATA,
> "$ffmpeg -y -i ".shell_escape($filename)
> .' -s '.shell_escape("${width}x$height")
> .' -r 24 -f flv -ac 2 -ar 11025'
> .' -ab '.shell_escape("${abitrate}k")
> .' -b '.shell_escape("${vbitrate}k")
> .' /dev/stdout 2>/dev/null |'
> );
>
>
> Like this:
>
> $ffmpeg_pid = open(DATA,
> "$ffmpeg -y -i ".shell_escape($filename)
> .' -s '.shell_escape("${width}x$height")
> .' -r 24 -f flv -ac 2 -ar 11025'
> .' -acodec mp3
> .' -ab '.shell_escape("${abitrate}k")
> .' -b '.shell_escape("${vbitrate}k")
> .' /dev/stdout 2>/dev/null |'
> );
>
> ???
>
> Please excuse me if I have the wrong place.
>
>
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. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080712/ab51cb3d/attachment.htm
More information about the mythtv-users
mailing list