LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Capturing digital audio on the way to my speakers (https://www.linuxquestions.org/questions/linux-desktop-74/capturing-digital-audio-on-the-way-to-my-speakers-627965/)

josephj 03-14-2008 02:17 AM

Capturing digital audio on the way to my speakers
 
Solved!

Solved!I'm using kubuntu gutsy. When I click on the speaker icon in my panel, it brings up kmix. Everything works fine.

When I play (for example) a flash audio from a website, the audio shows up and is controlled by kmix (the pcm slider).

An example of what I am trying to record is at

http://www.phmiracleliving.com/flash.../mp3ss296d.swf

While I am playing this, at the same time, I run

arecord -c 2 -f dat -v -v fubar.wav

I get a very large wav file with nothing but crosstalk background noise on it.

I also tried mp3record and got the same result.

Is there a way to get arecord (or something similar) to capture this or other audio streams from the web? Or, more generally, anything that is on it's way to my speakers?

I saw another post that suggested:

mplayer -playlist www.your-radio.com -ao pcm:file=mymusic.wav -vc dummy -vo null

but I don't know how to use this with a flash audio.

TIA

Joe

hansalfredche 03-14-2008 08:50 AM

There are various ways to record the audio. You could try Audacity, but it requires some trial and error until you find the correct settings. Another possibility would be to dump the stream, if possible at all.

google01103 03-14-2008 01:58 PM

I found audacity quite easy to use but (iirc) it only captures in wav format so you might want to see if other alternatives can save in mp3 or other compressed formats.

this is an old roundup of applicable sw http://www.linuxjournal.com/article/7274

and this might be a newer list http://www.hitsquad.com/smm/linux/AUDIO_EDITORS/

josephj 07-22-2008 05:55 PM

I read up a bit on jack which seems like it would do the job, but what I read looked pretty complicated (and not entirely working yet) and could possibly break other applications' sound, so I guess I'll just wait until it gets easier to do.

josephj 11-24-2008 03:35 PM

Solved!
 
I use Flashgot. A few releases ago, Giorgio added Flashgot Media to it. In Firefox, whenever I play an audio/video/flash stream it recognizes, an icon appears in my Firefox status bar. Clicking on it brings up my download manager (currently DownThemAll) and lets me download the entire stream as fast as my connection will support. It's wonderful! There are still some streams it doesn't support/detect, but it gets almost everything I want.


All times are GMT -5. The time now is 08:34 AM.