View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue Oct 02, 2007 2:11 pm Post subject: Open source listening client? |
|
|
Are there any simple, small open source clients available which outputs MP3 frames? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 02, 2007 3:44 pm Post subject: |
|
|
The question is vague, to get a listening client to output mp3 then you just don't do the decoding that most of them do. A simple http client would do like curl/wget etc
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Wed Oct 03, 2007 4:05 am Post subject: |
|
|
yea an http client is sufficient. msot important features i want are small size and open source (for cross platform capability).
is Icecast protocol identical or just very similar to http? how would an http client encode a request from an icecast server? would this have to done manually? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 03, 2007 11:37 am Post subject: |
|
|
The request/response is very similar to http. We don't follow all aspects as some don't apply, like content-length, but the general format of GET and HTTP return codes are the same.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Mar 27, 2008 8:47 am Post subject: |
|
|
what are some simple command line icecast client that does decode the incoming streaming Mp3 into its frames?
Would the client program just simply use "get requests" to get the mp3 frames then call Mad decoder to decode it? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 27, 2008 2:51 pm Post subject: |
|
|
Obviously you'll have to acquire the mp3 decoder yourself but yes you would simply just pass the data stream straight into the decoder engine.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Mar 28, 2008 1:05 am Post subject: |
|
|
I was looking into some icecast clients and these came to my attention, xmms and mpg123.
Do these clients obtain mp3 frames from a network server then decodes it?
thanks in advance |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Mar 28, 2008 1:11 am Post subject: |
|
|
yes, both are able to capable of reading from icecast2 and decoding mp3.
karl. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Mar 28, 2008 10:47 am Post subject: |
|
|
ok thanks alot
I have one more question. Does anyone know any icecast client such as xmms or mpg123 that has been cross compiled for a different processor?
Im not sure if client such as mpg123 can be cross compiled for a different processor, does it have codes which are hardware specific?
thank you in advance |
|
Back to top |
|
|
kozlov
Joined: 26 Sep 2006 Posts: 41 Location: Poland, Gdansk
|
Posted: Mon Mar 31, 2008 10:45 pm Post subject: |
|
|
Quote: |
does it have codes which are hardware specific? |
Not sure, but I don't think so, because a lot of these are open source so you can compile it on every processor architecture in the world, if you've got a compiler. Maybe HE-AAC, but I don't know if mpg123 works with it. _________________ polska dokumentacja serwera Icecast2 / polish documentation of Icecast2 |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Thu Apr 03, 2008 5:25 am Post subject: |
|
|
So something like mpg123 is capable of connecting to an icecast server, grabbing the mp3 frames then decoding it. where as for MAD to this, you would first need to run wget request to grab the mp3 frames and then pipe it into the MAD decoder? |
|
Back to top |
|
|
|