Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open source listening client?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Oct 02, 2007 2:11 pm    Post subject: Open source listening client? Reply with quote

Are there any simple, small open source clients available which outputs MP3 frames?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 02, 2007 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Oct 03, 2007 4:05 am    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Oct 03, 2007 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Thu Mar 27, 2008 8:47 am    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Mar 27, 2008 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Mar 28, 2008 1:05 am    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Mar 28, 2008 1:11 am    Post subject: Reply with quote

yes, both are able to capable of reading from icecast2 and decoding mp3.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Mar 28, 2008 10:47 am    Post subject: Reply with quote

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

PostPosted: Mon Mar 31, 2008 10:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anonymous
Guest





PostPosted: Thu Apr 03, 2008 5:25 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber