LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
Search this Thread
Old 07-19-2006, 01:48 AM   #1
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
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...
 
Old 07-19-2006, 07:14 PM   #2
Mirag3
Member
 
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
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
 
Old 07-20-2006, 03:23 AM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 42
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.

Last edited by ncsuapex; 07-20-2006 at 03:28 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash player audio sync problem.. mykrob Linux - Software 9 09-03-2006 10:10 AM
flash player audio lag marioV Linux - Software 2 07-22-2006 02:19 AM
command line or console Audio Cd Player perfect_circle Slackware 4 02-15-2005 12:50 PM
Audio problem in Flash player stonehurstX11 Linux - Software 0 05-10-2004 09:53 PM
What is the best command-line MP3 player? fatman Linux - Software 4 03-17-2004 04:18 PM


All times are GMT -5. The time now is 10:47 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