LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2011, 06:47 PM   #1
rmcellig
Member
 
Registered: Sep 2009
Posts: 252
Blog Entries: 1

Rep: Reputation: 24
Using the CLI tool arecord to capture streaming audio


Is it possible to use arecord to capture streaming audio? I use this tool to capture audio from a radio i have plugged into the input jack on my computer and it works great! I was thinking of using arecord to record shows from the following site:

http://www.cfra.com

If this is not possible, are there any other cli tools to record streaming audio?
 
Old 12-20-2011, 07:39 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,325

Rep: Reputation: 508Reputation: 508Reputation: 508Reputation: 508Reputation: 508Reputation: 508
The recorded shows you can simply download
http://devel.autopod.ca/chum/9/podcasts/

The live stream seams to be at
mms://a1881.l7935335880.c79353.g.lm.akamaistream.net/D/1881/79353/v0001/reflector:35880
But it's down at the moment.

Code:
mplayer mms://a1881.l7935335880.c79353.g.lm.akamaistream.net/D/1881/79353/v0001/reflector:35880 -dumpstream -dumpfile out.wmv
Will dump the stream
You can also use mencoder to just get the audio.

You can also use ffmpeg to capture the output of your sound card.
Code:
ffmpeg -f oss -i /dev/dsp0.0 -vn -acodec libmp3lame -ab 128k capture.mp3
That was for oss, if you use alsa then use your own parameters.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOw to capture streaming audio? rabbit2345 Linux - Software 21 02-26-2012 09:22 PM
How to Capture Streaming Audio MooseMagnet Linux - Newbie 21 05-02-2008 11:38 PM
How do I capture/record streaming audio? AlanQ Linux - Software 7 01-18-2006 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration