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: mcgrant@wheezer.Stanford.EDU (Michael C. Grant) Subject: Re: AlphaStation versus Multimedia Date: 1995/05/11 Message-ID: #1/1 X-Deja-AN: 102451599 distribution: world references: <3osbc0$8nq@jac.zko.dec.com> organization: Stanford University newsgroups: comp.unix.osf.osf1 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 ------------------------------------------------------------------------------ "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)