On Wed, Feb 13, 2013 at 4:37 AM, Ralf Mardorf <[email protected]> wrote: > On Wed, 2013-02-13 at 02:33 -0800, Kelly Clowers wrote: >> > Linux consumer audio :D. I wonder what's the cause for "Device or >> > resource busy". It isn't. Linux pro-audio is easier to use. >> >> >> Nah, alsa just sucks by itself. That type of thing is why I use PA. >> Anyway, that doesn't have anything to do with the mms stream. Works >> fine on my system...if you can call that music "fine". Even if alsa >> is blocking, you could test wth stream with "-ao pcm" then it would >> dump to the file audiodump.wav > > Still nothing to hear and no signal to see when watching the hdspmixer > meters. However, it's not important for me. I just tried to learn > something more about entertainment software. > > Does it use hw:0 by default?
Oops, let me put this back on this list. Didn't check the address... You mean does -ao pcm use hw:0? No, it should not touch the sound card. It should only dump to a file. I am not sure if the same is true for the --dumpaudio option (which is what I usually use to create a file from a stream). That may dump to a file and touch the sound card (and thus fail if the card is held open). > $ hdspmixer > Card 0: RME AIO S/N 0x579bcc at 0xfddf0000, irq 18 > Card 1: USB Device 0x170b:0x11 at usb-0000:00:13.0-1, full speed > Card 2: TerraTec EWX24/96 at 0xbf00, irq 20 > Card 3: TerraTec EWX24/96 at 0xbb00, irq 21 Oh, wow, that is some fancy audio. With stuff like that, do you usually just run JACK? > $ mplayer -ao pcm > 'mms://a937.l211056936.c2110.g.lm.akamaistream.net/D/937/2110/v0001/reflector:56936' > [snip] > ASF file format detected. > [asfheader] Audio stream found, -aid 1 > Clip info: > title: GLOBAL LIVE ** LIVE ** B > author: Voice of America > copyright: Public Domain > ========================================================================== > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders > libavcodec version 53.35.0 (external) > Mismatching header version 53.32.2 > AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 3998->176400) > Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) > ========================================================================== > [AO PCM] File: audiodump.wav (WAVE) > PCM: Samplerate: 44100Hz Channels: Stereo Format s16le > [AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo > null -ao pcm:fast > [AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default). > AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample) > Video: no video > Starting playback... > A:4147409.2 (1152:03:29.2) of 0.0 (unknown) 0.4% 2% > Cache empty, consider increasing -cache and/or -cache-min. [performance > issue] > [snip] > A:4147445.2 (1152:04:05.2) of 0.0 (unknown) 93.5% 0% > Cache empty, consider increasing -cache and/or -cache-min. [performance > issue] > > > MPlayer interrupted by signal 2 in module: decode_audio > > > MPlayer interrupted by signal 2 in module: enable_cache > nop_streaming_read error : Interrupted system call > Error while reading network stream. > Stream not seekable! > A:4147445.5 (1152:04:05.6) of 0.0 (unknown) 95.1% 0% > > Exiting... (Quit) So for you the stream is failing, if not quite immediately. It gets the header at least... You could try increasing the -cache as it says. Not sure what else. My mplayer is mplayer2 from sid, btw Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAFoWM=852wrzrjjhojpr4dqowsfkj5bvxltdvmdpgzutcrj...@mail.gmail.com

