Flash Audio command line player?
I am running Slackware 2.6.13 and I am looking for a command line audio player that will play streaming audio that uses Flash as the interface. I am familar with Sox, Audacity, Xine, XMMS and so on.. But I need to be able to play the audio strickly from the command line. Is it possible to pull the Flash audio stream and pipe it through /dev/dsp or /dev/audio so that I can use shoutcast or something else to rebroadcast it so I can listen to it from another workstation.
Hopefully I explained what I'm trying to do accurately... |
Frankly, I don't think thats possible without direct editing of the program thats pulling the stream. However, if it is you might want to look into Mplayer. I know that it runs from a terminal, but I don't know if it will work in text mode. I also don't know if it plays the flash audio format, although im sure you can look it up. Good luck
|
I figured it out. Using this script. Seems to work for wav files only
mplayer -playlist playlist.asx -ao pcm:file=mystream_`date +%b%d_%H%M_%Y`.wav -vc dummy -vo null ; the entire script is one line the playlist.asx is the name of the stream. I did a wget on the url and just used the filename it DL'ed as my playlist.asx. I also added variables to name the file with month/date/hour/minute/year. |
All times are GMT -5. The time now is 09:29 AM. |