Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Streaming OGG with Oddcast, Icecast 2 & Winamp (Read 7978 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Streaming OGG with Oddcast, Icecast 2 & Winamp

I've been trying for days to get this setup to work.  I can get winamp via oddcast to connect and send information to the icecast 2 server.  I have the mountpoint setup as "/32.ogg" and it shows up in the stats window just fine.  At this point everything is going as planned.  Now it's time to connect a client.  This is where I get no action.  On another machine in the winamp player I go to play location and type in "http://xxx.xxx.xxx.xxx:8000/32.ogg" this should open the stream and start playing it, but it doesn't.  I'm not sure if anyone is able to stream ogg with Icecast.  I haven't found anyone who has done this succesfully yet.  If you have done this successfully please tell me how.

My setup is as follows;
Windows XP Pro
WinAmp 2.80
Oddcast RC1
Icecast 2

Thanks,

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #1
1. Oddcast RC5 is available but thats not the point! Are u using the MAD plugin ?

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #2
Quote
1. Oddcast RC5 is available but thats not the point! Are u using the MAD plugin ?


MAD?  I'm not familiar with it.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #3
what plugin do you use for decoding your mp3s ? The standard one ? Then my idea doesn't help you

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #4
I researched this MAD plug-in and it's not something I'm using now.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #5
thanx anyway

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #6
Have you tried the stream on the same machine?

http://127.0.0.1:8000
She is waiting in the air

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #7
Quote
Have you tried the stream on the same machine?


Quote
http://127.0.0.1:8000


Since I can't have 2 instances of WinAmp 2.80 open I have tried this using WinAmp 3 RC and it doesn't work.




MINz

 

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #8
You can have more than 1 winamp running; you just need to change the property in Winamp Preferences, Options, Allow Multiple Instances.

Then you can happily run lots and lots of winamps; hell, if you are using directsound you can even play a bunch of them at once. Just what everybody needs =)

gnoshi
happiness comes in brown paper bags.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #9
Quote
Originally posted by MINz
Since I can't have 2 instances of WinAmp 2.80 open 


Ctrl+Alt+N

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #10
Thanks for the help.  Now I'm to the point where I can stream ogg from one instance of winamp 2.80 to the other using "127.0.0.1:8000/32.ogg".  When I go and use my DSL IP address I keep getting repeated prebuffering.  But it seems to work other than the constant buffering.  I shouldn't be buffering it's only a 64kbps stream.

Any ideas?

Thanks for the info that has got me this far!

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #11
Ya got DSL, are you behind a firewall?
The sky is blue.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #12
Quote
Ya got DSL, are you behind a firewall?


Yes, I'm using a firewall, but it still keeps prebuffering even if I disable it.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #13
Trying to stream from yourself via your real ip address might not work in DSL, especially if you use a router or anything similar.

I haven't tried to run the server, but I have a 3Com 812 DSL modem-router (allows up to 4 machines connected to it) and I have to open and redirect ports when I have to put servers on my side.
You will know if you need to, if you cannot open DCC chats/filesends in IRC or if you had to reconfigure those ports.
This might not be your case, since using firewalls in this type of configuration is useless, since the router already works as such. (with more or less effectively)

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #14
Quote
Trying to stream from yourself via your real ip address might not work in DSL, especially if you use a router or anything similar.


I'm not using a router.  Though I may in the near future so thanks for the heads up.

I'm getting ready to test my stream with a friend.  I think trying to be the server and client is a bit too much for Icecast.  I'll post my results when I'm done.

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #15
It all works great now!

Basically it was trouble with trying to be both the server & client.  It's just not really reliable.  So I had some people test my stream and all is working great.  Thanks to everyone that helped.

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #16
Oooo!  I'm really interested in doing this (streaming OGG), but I need some help myself.

I can't find any real detailed explanations of the workings of IceCast... so how does it?  =p

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #17
Quote
Originally posted by Moguta
Oooo!  I'm really interested in doing this (streaming OGG), but I need some help myself.

I can't find any real detailed explanations of the workings of IceCast... so how does it?  =p


All the tools you need are here

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #18
What does Adv Rec button do in Oddcast DSP?

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #19
Quote
What does Adv Rec button do in Oddcast DSP?


I believe it has to do with DJ'ing.  You play your songs and when you want to talk on the mic you hit the 'Adv Rec' button.

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #20
I have everything working great!  Let me share what I learned.

First you need the proper programs.  Grab these if you don't already have them.

WinAMP 2.80
Oddcast RC5<----uses the 1.0 release of the vorbis libraries
Icecast 2 Beta 5 

Now for the Setup:

WinAMP 2.80 Setup:
Go to preferences then to DSP/Effect.  Select Oddcast as your DSP effect.

Oddcast Setup:
Click Config Button ;-)
Choose Use Ogg Vorbis!
Use the Quality Settings as they are much better than the bitrate management option.
Quality = -1 ~ 32kbps, 0 ~64kbps, 1 ~ 80kbps....ect.
Server (Host name or IP) = your IP address
Port = Any unused Port Number eg. 6969
Password = Whatever you want
Mountpoint = /StreamName.ogg <----don't forget the"/".

If you are going to use "-1" quality setting they you should make the stream mono or reduce the sample rate to 22khz.

IceCast 2 Setup:
<icecast>
   <location>MINz Radio</location>
   <admin>MINz</admin>
   <limits>
      <clients>SET TO YOUR BANDWIDTH USUALLY UNDER '5' </clients>
      <sources>USUALLY ONLY '1' SOURCE </sources>
      <threadpool>5</threadpool>
      <client-timeout>15</client-timeout>
   </limits>
   <source-password>CHOOSE THE SAME AS IN ODDCAST</source-password>
   <directory>
      <touch-freq>5</touch-freq>
      <server>
         <host>yp.icecast.org</host>
         <touch-freq>15</touch-freq>
      </server>
   </directory>
   <bind-address>YOUR IP ADDRESS </bind-address>
   <port>] ANY UNUSED PORT </port>
        <paths>
                <basedir>./</basedir>
                <logdir>./</logdir>
        </paths>
   <logging>
      <accesslog>access.log</accesslog>
      <errorlog>error.log</errorlog>
   </logging>
</icecast>


Then give out the ip of your stream (eg. http://yourip:6969/oggstream.ogg) and see if it works.

I really made this whole experience harder than it was by trying to test the stream from my computer.  Remember it doesn't work or won't work well if you try to stream and listen to the stream with the same computer.

Have fun!

MINz

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #21
Quote
Originally posted by MINz

IceCast 2 Setup:
<icecast>
  <location>MINz Radio</location>
   <admin>MINz</admin>


Sorry for lame question

Anyone knows where can I get linux sources for Icecast2? Those avialable at http://www.icecast.org/ seems to be for icecast1 only (at least there's no such fancy XML config file).

I found some article at linux.oreilynet.com pointing out to BitKeeper  (www.bkbits.net) as the only source for Icecast2, but couldn't find it on their list either...

???

Thanks in advance,
Messer

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #22
You can get the latest out of CVS from xiph.org. 
you'll need the modules icecast, net, httpp,avl,libshout,log,thread,timing (IIRC)

ices also seems to be working better now, am still waiting for clarifying an issue with live input which I mentioned to Michael.

Streaming OGG with Oddcast, Icecast 2 & Winamp

Reply #23
Quote
Originally posted by gloval
You can get the latest out of CVS from xiph.org.   
you'll need the modules icecast, net, httpp,avl,libshout,log,thread,timing (IIRC)


Thanks Gloval, that works!

Marvellous, at last reasonable quality for streaming music at  low bitrates. Even -q -1, mono sounds good!