[mythtv-users] Mythweb Flash Stream has no sound on ATSC

Nick Rout nick.rout at gmail.com
Sat Jul 12 23:22:59 UTC 2008


On Sun, Jul 13, 2008 at 9:53 AM, Paul Kendall <paul at kcbbs.gen.nz> wrote:
> On Sunday 13 July 2008 09:43:04 Matt Emmott wrote:
>> 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. :-)
>
> I think you'll find theres a missing ' on the end of that -acodec line :-)

I just put it just before  /dev/stdout , so the final line now reads:

 .' -acodec mp3 /dev/stdout 2>/dev/null |'


Sorry I should have been more explicit in the first place.


More information about the mythtv-users mailing list