Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 23:40:06 -0400
From:      rpratt <bsd-unix@embarqmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: script or c prog to record live audio?
Message-ID:  <20130506234006.8e90976a1f4aa679e4f074bd@embarqmail.com>
In-Reply-To: <20130506231902.GA26387@ethic.thought.org>
References:  <20130506231902.GA26387@ethic.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 May 2013 16:19:02 -0700
Gary Kline <kline@thought.org> wrote:
> I've been meaning to ask one of the Nix lists if there is a script that
> will record something from kuow.org

To play audio stream:

    mplayer -playlist 'http://shoutcast.kuow.org:8002/listen.pls'

To dump the audio stream to file:

    mplayer -dumpstream -dumpfile foo.mp3 -playlist '... URL ...'

No need to reinvent wheels.  See man page for more description and many other
options.

Enjoy,
Randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130506234006.8e90976a1f4aa679e4f074bd>