[mythtv-users] Mythweb Flash Stream has no sound on ATSC
Allen Edwards
allen.edwards at oldpaloalto.com
Sat Jul 12 16:17:10 UTC 2008
> installed the medibuntu version of ffmpeg, which says its compiled
> with mp3 support, but still doesn't seem to create an audio stream.
>
> but after also installing libavcodec1d from medibuntu AND adding
> -acodec mp3 to the command line in
> /usr/share/mythtv/mythweb/modules/stream/handler.pl it works.
>
>
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.
Allen
More information about the mythtv-users
mailing list