From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b30b6f0e37f8d2c6 X-Google-Attributes: gidfee84,public From: morris@voile.zko.dec.com (Tom Morris) Subject: Re: AlphaStation versus Multimedia Date: 1995/05/11 Message-ID: <3osbc0$8nq@jac.zko.dec.com>#1/1 X-Deja-AN: 102451553 distribution: world references: organization: Digital Equipment Corp. reply-to: morris@zko.dec.com newsgroups: comp.unix.osf.osf1 In article , 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