LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Software dor capturing streaming audio (https://www.linuxquestions.org/questions/linux-software-2/software-dor-capturing-streaming-audio-94095/)

gonniff 09-18-2003 05:22 AM

Software dor capturing streaming audio
 
Can anyone recommend a proggie for capturing streaming audio programs from the web?

I have done a bit of searching and the best thing I've found so far is this:

http://www.mail-archive.com/freevo-d.../msg01796.html

"I solved the problem with sox and lame:

sox -t ossdsp -w -s -r 44100 -c 2 /dev/dsp -t raw - | /usr/local/freevo/runtime/apps/lame -x -m s - ./test.mp3

Now for the fun python bits :)"

If this is workable, can someone give me some tips on making this work on SuSE 8.2?

Many thanks,

Gonniff

footfrisbee 09-18-2003 10:09 AM

Mplayer is good for that. It's documented well on the site.

natma 09-18-2003 11:41 AM

vsound

gonniff 09-19-2003 02:07 AM

footfrisbee,

Do you mean the section:
3.3 Streaming from network or pipes
MPlayer can play files from network, using the HTTP, FTP, MMS or RTSP/RTP protocol.

Playing goes by simply using adding the URL to the command line. MPlayer also honors the http_proxy environment variable, and uses proxy if available. Proxy usage can also be forced:

mplayer http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf

MPlayer can read from stdin (NOT named pipes). This can be for example used to play from FTP:

wget ftp://micorsops.com/something.avi -O - | mplayer -

Note: it's also recommended to enable CACHE when playback from network:

wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -

I'm not much on this technology, so don't see how this allows me to save the file to HD and then burn to CD-ROM if I want later.

Please let me know if I've missed what you meant.

Natma,

Thanks for that. I'll have a look at that now.

footfrisbee 09-19-2003 04:01 AM

To use the above example:

mplayer -dumpstream -dumpfile mycapture.wmv http_proxy://proxy.micorsops.com:3128/http://micorsops.com:80/stream.asf

This command will dump the stream to the file "mycapture.wmv".

Check out the stream options in the manpage for mplayer.

gonniff 09-19-2003 05:19 AM

Thanks, footfrisbee.

Sorry about not getting that the first time.

I'll have a go when I get home from work. Looks very promising!


All times are GMT -5. The time now is 02:42 PM.