LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-29-2008, 01:01 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Rep: Reputation: 39
HOw to capture streaming audio?


I know there is a way to capture streaming media off the internet, if it goes through my processer and sound card, isn't there some way to capture it and put it in a file?
 
Old 03-29-2008, 01:43 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
Yes, you can use arecord on your pcm device (assuming the pcm device is the one getting the streaming audio).

PS.
Who would say that they donít care about the earth?
 
Old 03-30-2008, 04:09 AM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
It easy:

mplayer -dumpstream <your_url> -novideo -dumpfile <your_file_name>

jlinkels
 
1 members found this post helpful.
Old 03-30-2008, 04:22 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 62
Just make sure capture device in the mixer is not muted, and has a good level. I find a level of about 60% is good. Then any ALSA-driver-using recording program can record output from any ALSA apps. When I want to record stuff, I just use the ALSA command line arecord program, but anything which uses the ALSA drivers will do.

See this link for a description.
 
Old 03-30-2008, 10:32 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
-uhm- IMHO the OP talks about capturing a live stream off the internet and put it in a file. Not to record something which gets in or out the sound card.

jlinkels
 
Old 03-30-2008, 12:14 PM   #6
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64 14, m0n0wall
Posts: 142

Rep: Reputation: 20
With Audacious you can stream to file using the "Disk Writer plugin" as the output plugin, in Amarok you can use the Output plugin "file", and IIRC, XMMS has a similar option.
 
Old 03-31-2008, 04:01 PM   #7
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: openSUSE 11.3
Posts: 358

Original Poster
Rep: Reputation: 39
what about something like music from youtube, which doesn't have an url? (or one that I know of)
 
Old 03-31-2008, 04:07 PM   #8
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
Quote:
Originally Posted by rabbit2345 View Post
what about something like music from youtube, which doesn't have an url? (or one that I know of)
For anything that doesnít have a url, you can use the method posted by mathewg42 and me.

Btw, youtube videos do have a url (you can use many scripts such as youtube-dl to find it). E.g.,
Code:
mplayer -dumpaudio $(youtube-dl -g http://www.youtube.com/watch?v=ZCrGnd3ljqA)
 
Old 04-01-2008, 05:58 AM   #9
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Talking Nice clip suggestion.

Quote:
Originally Posted by osor View Post
Code:
mplayer -dumpaudio $(youtube-dl -g http://www.youtube.com/watch?v=ZCrGnd3ljqA)
Lol @ Youtube video!!
 
Old 04-01-2008, 08:14 PM   #10
brant.chen
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Rep: Reputation: 0
Yes, of course!
 
Old 09-27-2009, 04:46 AM   #11
sagiblelinda
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Thumbs up Streaming Audio Recorder

I know a streaming audio recorder, which is good
 
Old 02-23-2010, 08:20 PM   #12
Janbu
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
How to record streaming audio

Mod edit: Advertising Deleted

Last edited by pixellany; 02-24-2010 at 12:36 PM.
 
Old 02-24-2010, 02:24 AM   #13
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Looks nice with GUI and all that. Any idea whether a Linux version is available?

jlinkels
 
Old 02-24-2010, 02:27 AM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,199

Rep: Reputation: 290Reputation: 290Reputation: 290
Spam. And windows spam at that. Not very clever.
 
Old 02-24-2010, 12:37 PM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Advertising deleted---If you want to advertise here, please see the link at the bottom of the page.
 
  


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 MooseMagnet Linux - Newbie 21 05-02-2008 11:38 PM
How can I capture streaming videos from the net? WHat software can I use? neolithic_psyche Fedora 1 05-26-2007 12:34 AM
audio cd works - mp3's, streaming audio, flash sound don't spoody_goon Linux - Software 7 07-08-2006 03:11 PM
How do I capture/record streaming audio? AlanQ Linux - Software 7 01-18-2006 03:40 PM
Cannot capture streaming with cron jimbobboy Linux - Software 0 04-04-2004 07:09 PM


All times are GMT -5. The time now is 05:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration