LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HOw to capture streaming audio? (https://www.linuxquestions.org/questions/linux-software-2/how-to-capture-streaming-audio-631536/)

rabbit2345 03-29-2008 01:01 PM

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?

osor 03-29-2008 01:43 PM

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?

jlinkels 03-30-2008 04:09 AM

It easy:

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

jlinkels

matthewg42 03-30-2008 04:22 AM

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.

jlinkels 03-30-2008 10:32 AM

-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

netcrawl 03-30-2008 12:14 PM

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.

rabbit2345 03-31-2008 04:01 PM

what about something like music from youtube, which doesn't have an url? (or one that I know of)

osor 03-31-2008 04:07 PM

Quote:

Originally Posted by rabbit2345 (Post 3106335)
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)

LaughingBoy 04-01-2008 05:58 AM

Nice clip suggestion.
 
Quote:

Originally Posted by osor (Post 3106339)
Code:

mplayer -dumpaudio $(youtube-dl -g http://www.youtube.com/watch?v=ZCrGnd3ljqA)

Lol @ Youtube video!!

brant.chen 04-01-2008 08:14 PM

Yes, of course!

sagiblelinda 09-27-2009 04:46 AM

Streaming Audio Recorder
 
I know a streaming audio recorder, which is good

Janbu 02-23-2010 08:20 PM

How to record streaming audio
 
Mod edit: Advertising Deleted

jlinkels 02-24-2010 02:24 AM

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

jlinkels

dive 02-24-2010 02:27 AM

Spam. And windows spam at that. Not very clever.

pixellany 02-24-2010 12:37 PM

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


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