LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 03-29-2008, 02:01 PM   #1
rabbit2345
Member
 
Registered: Apr 2007
Location: clover, sc
Distribution: Debian Lenny 64-bit
Posts: 238
Thanked: 3
HOw to capture streaming audio?


[Log in to get rid of this advertisement]
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?
rabbit2345 is offline     Reply With Quote
Old 03-29-2008, 02:43 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,434
Thanked: 24
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?
osor is offline     Reply With Quote
Old 03-30-2008, 05:09 AM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 2,278
Thanked: 88
It easy:

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

jlinkels
jlinkels is offline     Reply With Quote
Old 03-30-2008, 05:22 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu (x86), Debian (PPC)
Posts: 3,495
Thanked: 6
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.
matthewg42 is offline     Reply With Quote
Old 03-30-2008, 11:32 AM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 2,278
Thanked: 88
-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
jlinkels is offline     Reply With Quote
Old 03-30-2008, 01:14 PM   #6
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware12.1, Slamd64, Smoothwall
Posts: 134
Thanked: 0
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.
netcrawl is offline     Reply With Quote
Old 03-31-2008, 05:01 PM   #7
rabbit2345
Member
 
Registered: Apr 2007
Location: clover, sc
Distribution: Debian Lenny 64-bit
Posts: 238
Thanked: 3

Original Poster
what about something like music from youtube, which doesn't have an url? (or one that I know of)
rabbit2345 is offline     Reply With Quote
Old 03-31-2008, 05:07 PM   #8
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,434
Thanked: 24
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)
osor is offline     Reply With Quote
Old 04-01-2008, 06:58 AM   #9
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6/7/8/10 x64 / Fedora Core x64 / Ubuntu Fiesty x64
Posts: 88
Thanked: 0
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!!
LaughingBoy is offline     Reply With Quote
Old 04-01-2008, 09:14 PM   #10
brant.chen
LQ Newbie
 
Registered: Mar 2008
Posts: 9
Thanked: 0
Yes, of course!
brant.chen is offline     Reply With Quote
Old 09-27-2009, 05:46 AM   #11
sagiblelinda
LQ Newbie
 
Registered: Sep 2009
Posts: 1
Thanked: 0
Thumbs up Streaming Audio Recorder

I know a streaming audio recorder, which is good
windows_xp_2003 sagiblelinda is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:46 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration