On Sun, Jan 22, 2006 at 02:06:07PM +0200, Nadav Har'El wrote:
> Hi,
> 
> A few days ago, I wanted to record some live audio from Galaz. So I
> used the following command:
> 
>       mplayer -cache 256 -dumpaudio http://213.8.143.165:80/glz-stream
> 
> Only later did I realize that "-dumpaudio" wasn't the appropriate option,
> and I should have used "-dumpstream"... Apparently "-dumpaudio" is something
> different, and instead of getting the stream's original "ASF" format, I got
> a file containing audio in some format that no program can read...
> Microsoft's player doesn't this file as having ASF, and mplayer tells me
> it's a "TiVo file format" but "No audio stream found" and doesn't play
> anything.
> 
> Does anybody have any idea how I can listen (and hopefully, convert to a
> normal format like mp3) the result of mplayer's "-dumpaudio"?

-dumpaudio is almost eclusively a debugging tool, it is the raw audio 
packets from the file with no container. (it's not an asf or anything else, 
it's raw compressed data with no container)

If you can, just download it again, this time with -dumpstream ...

If you can't:
I checked what compression format is this stream, it is "DivX audio v2", 
which uses format number 0x161 . If you're lucky, you'll be able to play 
the file with this command:

mplayer -rawaudio on:format=0x161:rate=22050:channels=2:bitrate=32 stream.dump

Or, if you are using MPlayer CVS:

mplayer -demuxer rawaudio -rawaudio 
format=0x160:rate=22050:channels=2:bitrate=32 stream.dump


- ods15 (MPlayer developer)

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to