From: Nadav Har'El (nyh_at_nonexisting.hamakor.org.il)
Date: Mon 30 Jan 2006 - 10:49:17 IST
On Sun, Jan 22, 2006, Oded Shimon wrote about "Re: Mplayer boo-boo - how can I correct it?":
> On Sun, Jan 22, 2006 at 02:06:07PM +0200, Nadav Har'El wrote:
> > 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
>...
> > Does anybody have any idea how I can listen (and hopefully, convert to a
> > normal format like mp3) the result of mplayer's "-dumpaudio"?
>...
> 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
Thanks for the lead.
Unfortunately, while that "almost" works (mplayer shows sensible output),
I hear weird bursts of unintelligable sound instead of the radio program
I recorded.
The only difference I see see between the way mplayer plays the live stram
and the way it plays the file I saved is that in the live stream I see:
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4003->88200)
while in the recorded file (with the above options) I see
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->88200)
note the difference between "4000" and "4003". Does this mean anything?
Is it something I can change?
I also have to comment that I upgraded mplayer since saving that file, so
I don't know if that makes a difference. I created that file with
mplayer 1.0pre2, and now I have mplayer 1.0pre7-3.4.3. Could that have
made some difference? (pre2 didn't even had the options you suggested me
to try).
Thanks,
Nadav.
-- Nadav Har'El | Monday, Jan 30 2006, 1 Shevat 5766 nyh_at_math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |"I don't use drugs, my dreams are http://nadav.harel.org.il |frightening enough." -- M. C. Escher ================================================================= To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 30 Jan 2006 - 11:03:52 IST