From: morris@voile.zko.dec.com (Tom Morris)
Subject: Re: AlphaStation versus Multimedia
Date: 1995/05/11 [thread overview]
Message-ID: <3osbc0$8nq@jac.zko.dec.com> (raw)
In-Reply-To: MCGRANT.95May2175505@wheezer.Stanford.EDU
In article <MCGRANT.95May2175505@wheezer.Stanford.EDU>, mcgrant@wheezer.Stanford.EDU (Michael C. Grant) writes:
|>Configuration: AlphaStation 200 4/166, 64MB Ram, OSF/1 3.2,
|>Microsoft (Jensen) sound board.
|>
|>Challenge: Configure the system, using AF, the mmeserver supplied with
|>OSF/1 3.2, or any othe
r method (I don't give a damn) to reliably play
|>sound files commonly found on the Web, including (but not limited to)
|>.au files and MPEG audio.
|>
|>The test: http://www.iuma.com---if you can fly through THAT site
|>without problems, then MAN you've set things up well, which is more
|>than I can say for myself.
Well, I can almost consider surfing IUMA work related, so here are my
mailcap entries for listening to audio:
audio/x-mpeg; maplay -s %s | audioplay -e pcm -b 16 -c 2 -r 44100 -file -
audio/basic; decsound -file %s
If you wanted to listen to the mono versions of the MPEG audio (which
includes the MPEG audio excerpts as well):
audio/x-mpeg; maplay -s %s | audioplay -e pcm -b 16 -c 1 -r 44100 -file -
Unfortunately, because this is set up as a pipe, there's no good way
to communicate the sample rate & number of channels that the MPEG decoder
gets from the bitstream to the actual audio play. This problem will go
away when we release our native MPEG Audio decoder. It's also about
30-40% more CPU efficient.
This uses maplay 1.2 from ftp://ftp.cs.tu-berlin.de/pub/incoming/maplay/
and the audioplay example from the Multimedia Services for Digital UNIX
kit which can be found in /usr/examples/mme/audio. I just ran a quick
test here on the same system you have (200 4/166) and found that at steady
state, maplay 1.2 takes 26% of your CPU to do real-time 44.1 KHz
stereo MPEG-1 decoding. Actually playing the resulting stream takes about
another 3%, so you are "limited" to listening 3 streams simultaneously.
When I actually tried decoding and play three 44.1 KHZ stereo streams
simultaneously on that configuration I had about 6% idle CPU and I wasn't
able to notice any dropouts (of course, listening to jazz brass, rock, &
a female solo vocalist at the same time made it a little hard to tell!).
|>Bonus points: an MPEG or QuickTime video player that handles sound,
|>and doesn't crash the X server.
For MPEG-1 Video or Systems (audio & video), use AlphaVCR which is included
with Multimedia Services (bundled with your system). For QuickTime or
MPEG movies with separate .WAV files, use XAnim. The version with audio
support was just released. It supports AF today and I'm just about to
send the author the support for Multimedia Services audio. It supports
just about all the animation formats you could ever want.
video/mpeg; alphavcr -play %s
video/quicktime; xanim %s > /dev/null 2>&1
video/x-msvideo; xanim %s > /dev/null 2>&1
What can I redeem my bonus points for? :-)
---------------------------------------------------------------------------
Tom Morris Digital Equipment Corporation
morris@zko.dec.com 110 Spit Brook Road ZKO1-1/E37
+1 603 881 0894 Nashua, NH, 03062 USA
next prev parent reply other threads:[~1995-05-11 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-03 4:00 AlphaStation versus Multimedia Michael C. Grant
1995-05-11 4:00 ` Tom Morris [this message]
1995-05-11 4:00 ` Michael C. Grant
1995-05-12 4:00 ` Dirk Grunwald
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox