* AlphaStation versus Multimedia
@ 1995-05-03 4:00 Michael C. Grant
1995-05-11 4:00 ` Tom Morris
0 siblings, 1 reply; 4+ messages in thread
From: Michael C. Grant @ 1995-05-03 4:00 UTC (permalink / raw)
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 other 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.
So how do you do it? I managed to get AF working, until I needed to
crank the sampling rate below 8kHz. I was even less successful with
mmeserver. Once the right programs are determined, configuring
Netscape or Mosaic is a piece of cake.
Bonus points: an MPEG or QuickTime video player that handles sound,
and doesn't crash the X server.
Many thanks!
Mike
--
Michael C. Grant Information Systems Laboratory, Stanford University
mcgrant@isl.stanford.edu <A HREF="http://www-isl.stanford.edu/~mcgrant">
------------------------------------------------------------------------------
"When you get right down to it, your "Long hair, short hair---what's
average pervert is really quite the difference once the head's
thoughtful." (David Letterman) blowed off?" (Nat'l Lampoon)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AlphaStation versus Multimedia
1995-05-03 4:00 AlphaStation versus Multimedia Michael C. Grant
@ 1995-05-11 4:00 ` Tom Morris
1995-05-11 4:00 ` Michael C. Grant
1995-05-12 4:00 ` Dirk Grunwald
0 siblings, 2 replies; 4+ messages in thread
From: Tom Morris @ 1995-05-11 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AlphaStation versus Multimedia
1995-05-11 4:00 ` Tom Morris
@ 1995-05-11 4:00 ` Michael C. Grant
1995-05-12 4:00 ` Dirk Grunwald
1 sibling, 0 replies; 4+ messages in thread
From: Michael C. Grant @ 1995-05-11 4:00 UTC (permalink / raw)
Wow, by far the most completely comprehensive answer to any question
I've ever posted! Your bonus points are redeemable for free non-bonus
points.
Here are my revised experiences:
In article <3osbc0$8nq@jac.zko.dec.com>
morris@voile.zko.dec.com (Tom Morris) writes:
audio/x-mpeg; maplay -s %s | audioplay -e pcm -b 16 -c 2 -r 44100 -file -
audio/basic; decsound -file %s
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.
My experience suggests that it's definitely appropriate that these
programs stay in 'examples'. But it does sound like things are changing!
For MPEG-1 Video or Systems (audio & video), use AlphaVCR which is included
with Multimedia Services (bundled with your system).
Yow, do I hate that thing! Oh well I'll get used to it.
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.
Indeed, I have managed to get xanim working great with AF.
video/mpeg; alphavcr -play %s
video/quicktime; xanim %s > /dev/null 2>&1
video/x-msvideo; xanim %s > /dev/null 2>&1
Here are my mailcap entries using xanim, mpeg_play (which doesn't
crash my system like the DEC-supplied program does), and AudioFile 3R1.
You might want to consider some of these settings for xanim, which
allow for (among other things) better color management, double-size
play windows, etc. etc.
video/*; /usr/local/bin/X11/xanim +Sr +Ss2 +Ca +CF4 -Cn %s >/dev/null 2>&1
audio/basic; /usr/local/bin/AF/aplay -d 1 -e au %s
(as you can tell, I still couldn't get MPEG audio working.)
Thanks a lot for submitting work for MMS support to XAnim!
Mike
--
Michael C. Grant Information Systems Laboratory, Stanford University
mcgrant@isl.stanford.edu <A HREF="http://www-isl.stanford.edu/~mcgrant">
------------------------------------------------------------------------------
"When you get right down to it, your "Long hair, short hair---what's
average pervert is really quite the difference once the head's
thoughtful." (David Letterman) blowed off?" (Nat'l Lampoon)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: AlphaStation versus Multimedia
1995-05-11 4:00 ` Tom Morris
1995-05-11 4:00 ` Michael C. Grant
@ 1995-05-12 4:00 ` Dirk Grunwald
1 sibling, 0 replies; 4+ messages in thread
From: Dirk Grunwald @ 1995-05-12 4:00 UTC (permalink / raw)
Btw, it would be most useful to collect all this lore into a FAQ.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-05-12 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-03 4:00 AlphaStation versus Multimedia Michael C. Grant
1995-05-11 4:00 ` Tom Morris
1995-05-11 4:00 ` Michael C. Grant
1995-05-12 4:00 ` Dirk Grunwald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox