[MPlayer-users] -ao pcm:file broken

Corey Hickey bugfood-ml at fatooh.org
Mon Sep 25 22:23:16 CEST 2006


Martin Stabenfeldt wrote:
> Hi,
> 
> I have been downloading a radioshow in realmedia for a while, but it
> suddenly broke.
> 
> I´m still able to listen do it, but when I use -ao
> pcm:file=$outputdir/$episode.wav, it dies as you can see here:
> 
> $ mplayer -vc null -vo null -ao pcm:file=$outputdir/$episode.wav $url
> This used to write the whole show to a .wav file.
> But now I get this error message:
> 
> $ mplayer -vc null -vo null -ao
> pcm:file=/Users/martin/P3Soul/SoulB-060925.wav
> rtsp://lyssna.sr.se/p3/Soul/SoulB-060925.rm
>  & MPlayer dev-CVS-060408-22:02-4.0.1 (C) 2000-2006 MPlayer Team
> AltiVec found
> CPU: PowerPC
> 
> Playing rtsp://lyssna.sr.se/p3/Soul/SoulB-060925.rm.
> STREAM_RTSP, URL: rtsp://lyssna.sr.se/p3/Soul/SoulB-060925.rm
> Resolving lyssna.sr.se for AF_INET6...
> Couldn't resolve name for AF_INET6: lyssna.sr.se
> Resolving lyssna.sr.se for AF_INET...
> Connecting to server lyssna.sr.se[192.121.194.83]: 554...
> Cache size set to 640 KBytes
> Cache fill: 18.75% (122880 bytes)
> REAL file format detected.
> Stream description: audio/x-pn-multirate-realaudio logical stream
> Stream mimetype: audio/x-pn-realaudio
> Clip info:
> name: Soul - 2006-09-25 23:07
>  author: Sveriges Radio P3
>  copyright: Sveriges Radio 2006
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 22050 Hz, 1 ch, s16be, 32.1 kbit/9.10% (ratio: 4014->44100)
> Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
> ==========================================================================
> Could not parse arguments at the position indicated below:
> file=
>     ^

I can reproduce this error when I don't specify a file to write to. Are 
you sure you have a file specified (and there isn't a space right after 
the '=')?

> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
> 
> .laying
> 'ile not found: '
> Failed to open

This doesn't look right at all. Does mplayer's output really look like 
this, or is it a copy-n-paste problem?

> Exiting... (End of file)
> 
> I´m running OSX 10.4.7 and MPlayer dev-CVS-060408-22:02-4.0.1

That's kind of old. You should consider upgrading, though, in this case, 
I don't think the problem is actually mplayer's fault.

> All suggestions are highly appreciated!

Try this command instead:
$ mplayer rtsp://lyssna.sr.se/p3/Soul/SoulB-060925.rm -dumpstream 
-dumpfile SoulB-060925.rm -bandwidth 1000000

That will:
* download faster
* save disk space


-Corey



More information about the MPlayer-users mailing list