LinuxQuestions.org
Visit the LQ Articles and Editorials 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
 
LinkBack Search this Thread
Old 01-13-2006, 05:29 PM   #1
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Rep: Reputation: 15
How do I capture/record streaming audio?


I'm using Ubuntu5.10 and have installed RealPlayer10.

I would like to save an audio stream playing through RealPlayer10 to a file.

I'm guessing I should be able to do it with aplay.

But I can't find any documentation that describes all the controls in alsamixer: PCM, LFE, IEC958, Aux, ... ??

Which do I switch on, and which do I switch off, and do I need to do something with 'external' or 'downmix'.

I don't understand any of these terms.
I've been searching for answers now for about two and a half hours.
No luck.

Anybody...?

Thanks
Al
 
Old 01-13-2006, 06:59 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: my own Debian creation :)
Posts: 876

Rep: Reputation: 40
vlc, but you'll need to set it up to do that... which is a learning curve that will take more than 2 hours possibly.

if your in a hurry-- (duh) output your speakers to the input on your soundcard, then pipe it: /dev/dsp > /home/user/Desktop/my-riaa-protest-song.mp3 lol
 
Old 01-15-2006, 09:10 AM   #3
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks, halvy

Quote:
vlc, but you'll need to set it up to do that... which is a learning curve that will take more than 2 hours possibly.
I'll take a look at it though.
[edit]
Just seen: http://www.videolan.org/vlc/features.html
"Input formats: Real: Linux: No"
[edit]

Quote:
if your in a hurry-- (duh) output your speakers to the input on your soundcard, then pipe it: /dev/dsp > /home/user/Desktop/my-riaa-protest-song.mp3 lol
I did think of doing that but was concerned about a possible impedance mis-match between the speaker and microphone sockets of my sound card (onboard).

So what you're saying is, take a sound cable, plug one end in the speaker socket of the sound card, and the other end in the microphone socket. Then do the pipe.

Is this just an idea or have you done it before?

Is there any chance I might fry my sound chip!?

Alan

Last edited by AlanQ; 01-15-2006 at 10:00 AM.
 
Old 01-15-2006, 01:42 PM   #4
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: my own Debian creation :)
Posts: 876

Rep: Reputation: 40
as far as vlc or any other mixer type program, it shouldn't make any difference if your taking raw sound (whether it's from real or not) and saving/converting it to mp3.

as far as the souncard trick, obviously you would want to not turn up the sound as if you were listening to 500 watt speakers.

i'd either double check my specs on what the soundcard can handle in terms of watts (power) or put a cheapo in there and just play with it.

lettuce know..
 
Old 01-15-2006, 01:47 PM   #5
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: my own Debian creation :)
Posts: 876

Rep: Reputation: 40
you may also want to pipe it directly from /dev/dsp > ... instead of the cable thingy.

if you do decide to use the cable trick, make sure your onboard card is disconnected either via bios or on your mobo.
 
Old 01-15-2006, 02:10 PM   #6
drigz
Member
 
Registered: Apr 2004
Distribution: Gentoo ~x86
Posts: 407

Rep: Reputation: 30
Can mplayer play it? If so, use|

mplayer -dumpaudio -dumpfile targetfile myrealstream

you might need to add -playlist there.
 
Old 01-15-2006, 03:33 PM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I'm doing it with audacity as you can read in this thread
 
Old 01-18-2006, 03:40 PM   #8
AlanQ
Member
 
Registered: Jul 2004
Posts: 41

Original Poster
Rep: Reputation: 15
Hi Everyone

Thanks for all your replies.

SOLVED!!

It was a problem with alsamixer:
Somehow I had changed 'Input Source Select' from 'Input 1' to 'Input 2'. Changing it back to 'Input 1' allowed me to record from RealPlayer10 (and from a microphone).

Still don't understand the alsamixer settings, but at least it works now

Audacity is brilliant. And, by making a symbolic link:

Code:
sudo ln -s /usr/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so
I am also able to 'Export as mp3...'.

Thanks again
Alan
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto record streaming audio to hdd mohapi Linux - General 1 04-14-2004 03:34 AM
Cannot capture streaming with cron jimbobboy Linux - Software 0 04-04-2004 07:09 PM
How to record streaming wmv/asf format? samxiao Linux - Software 0 03-13-2004 03:50 AM
Record Streaming Audio ddpicard Linux - Software 4 07-08-2003 09:11 AM
CD Record loss of streaming griv Linux - General 4 05-09-2002 12:43 PM


All times are GMT -5. The time now is 06:57 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration