Old 19th November 2001, 01:29   #1
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
Can't Connect to Ogg Vorbis Stream

I am trying to listen to an Ogg Vorbis stream that I am streaming from my home PC. After entering the location (http://x.x.x.x:8000/example1.ogg)
I just get "1. CONNECTING... (0:01)" on the WINAMP text screen. I am using a proxy server and can listen to any mp3 stream that I have tried. Also, if I change the name of the location to http://x.x.x.x:8000/example1 or http://x.x.x.x:8000/, WINAMP will connect to my machine, but then it can't find the stream (obviously because it is named example1.ogg on the server). It seems that the .ogg extension is causing the problem with initiating the connection to the server. Also the stream works fine on my Linux boxes running XMMS.

I am running WINAMP 2.77 on Win NT4 with the Nullsoft Vorbis Decoder v1.16c(x86) v1.16c. The server is running Icecast2 and ICES for the streaming.
jimshep is offline   Reply With Quote
Old 19th November 2001, 08:59   #2
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
make sure that you don't have any third-party MP3 plugins installed (MAD, mp3pro, etc).
peter is offline   Reply With Quote
Old 19th November 2001, 12:42   #3
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
Quote:
Originally posted by peter
make sure that you don't have any third-party MP3 plugins installed (MAD, mp3pro, etc).
I have not installed any third party plugins that I am aware of. Here is a list of the plugins directory:
06/12/01 03:34p 0 in_cdda.cdb
11/29/00 10:53a 361 vis_avs.dat
03/12/01 06:42p 29,696 in_cdda.dll
09/10/01 06:11p 189,440 in_mod.dll
10/01/01 09:10p 175,104 in_mp3.dll
11/13/01 09:55a 138,240 in_vorbis.dll
11/13/01 09:55a 3,893 in_vorbis.txt
09/12/01 05:49p 36,352 in_wave.dll
09/29/01 01:57a 15,360 out_disk.dll
12/04/00 01:34p 12,800 out_ds.dll
12/12/00 12:29p 13,824 out_wave.dll
03/04/01 03:52p 7,680 out_wm.dll
08/17/01 06:23p 139,264 read_file.dll
10/01/01 06:49p 405,504 vis_avs.dll
10/01/01 06:43p 28,160 vis_nsfs.dll

Any other things I can check?

-Jim
jimshep is offline   Reply With Quote
Old 20th November 2001, 08:48   #4
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
try various in_vorbis proxy config options (that's what they're for anyway). note that changing proxy in winamp config (not in plugin config) takes full effect after restarting.
peter is offline   Reply With Quote
Old 21st November 2001, 12:50   #5
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I thought I had replied to this yesterday, but it looks like it didn't go through...

I tried all three of the proxy settings for the in_vorbis plugin and even checked the winamp.ini file to make sure that they were being updated. After each change, I closed winamp, including the agent, then opened winamp and tried to connect. I also tried modifying all of the other in_vorbis plugin options in various permutations without any luck. Attached is my winamp.ini file.
Attached Files
File Type: zip winamp.zip (2.2 KB, 93 views)
jimshep is offline   Reply With Quote
Old 21st November 2001, 22:02   #6
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,821
Quote:
Originally posted by peter
note that changing proxy in winamp config (not in plugin config) takes full effect after restarting.
So, are the correct proxy details entered in Winamp Prefs -> Setup? (this is what Peter was referring to in the quote).
You need to restart Winamp for these global changes to take effect, but not for the individual plugins (changes are instant, or on next track in some cases).

The vorbis decoder should be set to use winamp's proxy settings -> always.

Also, can you provide a link to one of these OGG streams so we can try for ourselves? (assuming your Icecast server is always on & working/configured properly)
DJ Egg is offline   Reply With Quote
Old 26th November 2001, 13:56   #7
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
The global (Preferences->Setup) proxy settings seem to be correct since I can listen to any mp3 stream that I have tried over the internet (and through the firewall). The only stream I have not been able to connect to are ogg streams on the other side of the firewall.

Here is the location for my stream:
http://66.149.8.8:8000/example1.ogg

Here is a stream I found in the archives that does the same thing:
http://ra.voila.fr:8000/radiofg.ogg
jimshep is offline   Reply With Quote
Old 26th November 2001, 21:54   #8
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,821
Well, I managed to connect to both streams ok.
(INXS - I Send A Message & The Swing)
Though they were only about 2 seconds long each.
Is that the correct length?
If so, then all I can think of is that your firewall needs reconfiguring?

btw, I also got the "Connecting (0.01)" message, then "prebuffering *%"
then the streams played . . . but like I said, only for a couple of seconds.
DJ Egg is offline   Reply With Quote
Old 27th November 2001, 02:46   #9
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
All 10 of the tracks play fine here. There may be some issues since I encoded the tracks with the latest cvs version of the encoder, and I believe that the Winamp decoder is using the RC2 release (though I thought that the RC2 decoder is supposed to be compatible with all >RC1 encoded streams). I'll work on this issue when I can connect to the stream.

Are you accessing the stream via a firewall or direct connection to the net?

I am not sure how the firewall could allow me to access mp3 streams without problems (even using port 8000), but would not let me access my ogg stream. Additionally, if I remove the .ogg extension off of the location, it seems that winamp connects with my home machine, but can't find the stream (since it is named example1.ogg and not example1). If I have a stream with no extension, will winamp know to use the vorbis plugin? If so, I can try just renaming the stream and see if that works.

I have practically no experience with firewalls, but it just doesn't seem likely that the fiewall is the problem given these symptoms. Besides, there is nothing I can do to modify the firewall (all of our computers are on the GE internal network and we have little to no influence over their IS infrastructure, especially with non-essential services.)

Thanks for your help.
jimshep is offline   Reply With Quote
Old 27th November 2001, 11:51   #10
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I setup my server to have two identical streams:

http://66.149.8.8:8000/example1.ogg
http://66.149.8.8:8000/example1

Winamp can connect through the firewall to the stream that does not have an extension. But Winamp is not able to play the stream. My guess is that it is expecting an mp3 stream and chokes when trying to decode the ogg vorbis stream.

So it seems it is not a firewall problem, unless the firewall is somehow filtering out requests with an .ogg extension.

Thanks
jimshep is offline   Reply With Quote
Old 27th November 2001, 13:54   #11
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
One more behavior...

If the default extension is changed from mp3 to ogg (Preferences->options) and I try to play the stream without an extension, I get the same "1. Connecting..." behavior as using the .ogg stream. So it seems that the vorbis plugin is not working with this firewall properly.

Any ideas on what else I can try? Is there any debugging information tha I can extract while trying to connect that might be helpful?

-Jim
jimshep is offline   Reply With Quote
Old 27th November 2001, 18:38   #12
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,821
I think only peter can help you here, seeing he is the guy who writes the plugin.

In answer to some of your other questions:

1) Yes, you have to keep the OGG extension, otherwise in_mp3.dll will pick it up instead (and fail, naturally).
2) No, I'm not behind a corporate firewall and I don't use any proxy server.

Now, can you answer my question from above?
Were the two INXS streams meant to be only a couple of seconds long?

If they were meant to be longer, then the problem definitely lies at your end somewhere. Whether this is an encoder issue or not, we'll have to wait for peter to come back with confirmation.

If they were meant to be only 2 secs long, then everything's okay, I suppose, or at least it is at my end

btw, you do have the latest vorbis decoder, yes?
And you are using the Nullsoft plugin (peter's) & not some 3rd-party version?


Anyway, as I said, I'm not at all sure what the problem is . . .
best to wait for a reply from peter.
DJ Egg is offline   Reply With Quote
Old 27th November 2001, 18:52   #13
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
The INXS stream is the full album, so each track should be several mimute long. Using XMMS on PCs on my home network, the stream is decoded correctly and each track lasts several minutes. In order to get the streaming server software to compile correctly on my server, I had to use the cvs version of the ogg vorbis libraries. The files that are being streamed were encoded using these newer libraries. I thought any file encoded with ogg vorbis >RC1 could be decoded with any decoder >RC1, but maybe this isn't entirely true. Last night, I did notice that I had a mixture of libraries and utilities that were from both the RC2 release and the cvs version on the machine that I encoded the songs. So I removed all of the RC2 files and re-encoded the music. Do you still get just the ~2 second sound bits? If so, I will try encoding them again with the RC2 libraries and see what happens.

As mentioned in my original post, I am using Peter's Nullsoft Vorbis Decoder v1.16c(x86) v1.16c.

Thanks for your help. Should I contact Peter directly, or do you think he will re-visit this thread?
jimshep is offline   Reply With Quote
Old 27th November 2001, 19:57   #14
DJ Egg
Techorator
Winamp & SHOUTcast Team
 
Join Date: Jun 2000
Posts: 35,821
He'll definitely revisit this thread, I can guarantee that!
But recently, he's only been online at weekends, so you might have to wait until Friday evening . . . on all counts, I'm not rightly sure.

Peter is the vorbis specialist (and then some, hehe), so if anyone can get to the bottom of this, it's him.

So it looks like I've got a problem here too. I can connect, but only for a couple of seconds. Most weird!

Anyway, thankyou for being patient.
Egg out . . . over to Peter
DJ Egg is offline   Reply With Quote
Old 28th November 2001, 03:39   #15
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I just finished re-encoding the tracks with the RC2 version of ogg vorbis (the same as the vorbis plugin). Let me know if you still have the 2 second problem.

-Jim
jimshep is offline   Reply With Quote
Old 30th November 2001, 10:59   #16
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
[just came back home]
do not use vorbis libraries from CVS, use official RC2 binaries. you can use any RC1 or newer decoder for them.
you must use ogg extension, because otherwise there's no way my plugin can know that it's an ogg stream (and it will be handled by in_mp3 and will obviously mess up).
you might try streaming with winamp3 beta2 (should work better)
i'd love to see some working streams that cause this problem so i can try to debug it on my machines (none of links above work for me).
peter is offline   Reply With Quote
Old 30th November 2001, 12:32   #17
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
A couple of days ago I rmeoved all of the cvs libraries, installed the RC2 libraries, recompiled icecast2 and ices2 using the RC2 libraries, and encoded the music using oggenc with the RC2 libraries. The stream seems to be working correctly (I am only streaming the example1.ogg now) and I can listen to them on any computer on my home network using the RC2 libraries and XMMS. I don't have a windows machine, so I haven't been able to test winamp on the same network. I also checked the access log and it looks like you were able to connect to the icecast server twice this morning. Were you not able to decode the stream or was there another error / problem? I also noticed in the access log that you seemed to have tried to connect with IE6 using HTTP/1.1 while all successful connections in the past (such as winamp from DJEgg) were made with winamp using HTTP/1.0. Could you try connecting to the stream directly through winamp or does it really matter?

When you referenced winamp3 beta2, were you implying that I use it to de-code the stream or en-code? I would think encoding would not be posibble since I am not running windows on any of my home computers.

Thanks for your help.
jimshep is offline   Reply With Quote
Old 30th November 2001, 13:16   #18
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
Quote:
I also noticed in the access log that you seemed to have tried to connect with IE6 using HTTP/1.1 while all successful connections in the past (such as winamp from DJEgg) were made with winamp using HTTP/1.0. Could you try connecting to the stream directly through winamp or does it really matter?
yep, that was me. i tried if i can try saving that stream with IE (guess i should have tried something else; will try again tonight).

Quote:
When you referenced winamp3 beta2, were you implying that I use it to de-code the stream or en-code? I would think encoding would not be posibble since I am not running windows on any of my home computers.
i meant streaming with winamp3 ( = decoding); make sure that you have vorbis plugin for winamp3 and winamp3 beta2 before trying to do that.
peter is offline   Reply With Quote
Old 30th November 2001, 13:38   #19
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I downloaded the winamp3 beta2 and related vorbis plugin, but I cannot seem to find out how to set it up to go through a firewall (where are the proxy settings?).
jimshep is offline   Reply With Quote
Old 30th November 2001, 14:43   #20
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
oh well, probably wa3 doesn't support proxy yet..
peter is offline   Reply With Quote
Old 1st December 2001, 19:10   #21
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
Peter or DJEgg,

Have either of you been successful connecting to the ogg vorbis streams from my computer? Is there anything else I can do to help figure out why the vorbis plugin does not seem to work through a proxy?

Thanks again for your help.

-Jim
jimshep is offline   Reply With Quote
Old 1st December 2001, 19:16   #22
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
sorry, i think there's something broken on your side, i can connect (and get HTTP reply), but no data comes; not only in Winamp.
peter is offline   Reply With Quote
Old 2nd December 2001, 08:24   #23
uiop
Senior Member
 
Join Date: Mar 2001
Posts: 117
it works fine for me ... though i had to drag the link from IE to winamp in order to listen to it
uiop is offline   Reply With Quote
Old 2nd December 2001, 09:52   #24
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
seems that it works for some people, but for some reason it totally doesn't work for others, and it's not a fault of vorbis plugin because i can't get there with any http clients.
peter is offline   Reply With Quote
Old 2nd December 2001, 13:56   #25
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I am currently trying to figure out why some can connect and others can't. Hopefully I'll get it worked out soon.

I still think there is possibly something wrong with the vorbis plugin related to proxies. It seems that everyone that is not behind a firewall can connect to my server, even though the stream does not gothrough correctly. The access logs seem to show every attempt, successful or unsuccessful, except for the attempts I have made from my work computers which are behind a firewall. So it seems that there may still be a problem with initiating a connection through a firewall using the vorbis plugin. Just to check is there another ogg-vorbis stream that definitley works that I can try to access from my work machine?
jimshep is offline   Reply With Quote
Old 2nd December 2001, 14:05   #26
peter
ist death
 
peter's Avatar
 
Join Date: May 2000
Posts: 3,704
FYI, this is NOT a problem with vorbis plugin, because all http clients i've tried cause the same problem; this is something with your firewall (i think i've seen similar shit once while trying to connect to certain newly configured ftp).
peter is offline   Reply With Quote
Old 4th December 2001, 13:30   #27
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
I found an ogg stream that I know is working correctly (at least now it is). Here is the address:

http://scapa.dnsalias.net:8066/test.ogg

Now for the symptoms:

- Trying to open this stream in winamp results in just the "1. CONNECTING..." message, no music.
- The stream opens fine in Mozilla, can be saved to disk, and then the growing disk file can be played by winamp.
- Any mp3 stream that I have tried can be played directly from winamp.
- The access log for my stream shows connections from Mozilla from my work computer, but never from winamp.

From these symptoms it seems that the vorbis plugin is handling proxies differently than the standard mp3 portion of winamp and differently than mozilla. One other thing I have noticed is that when trying to connect to an mp3 stream, winamp seems to try to connect several times in a row before the connection is established. During these connection attempts (takes only a few seconds), there is a message about "HTTP PROXY AUTHENTICATION". I can't see the entire message becasue it starts to scroll and is then quickly refreshed with a "CONNECTING" message. Is there any way to log the messages that show up in winamp? Is it possible that the mp3 portion of winamp performs several quick retries to connect to a stream (which somehow allows it to get through the firewall), while the vorbis plugin tries only once. Also, the firewall has ben configured recently to want a userid and password. Maybe the multiple requests of the mp3 protion of winamp gets past this?

My stream should be working now. I was serving a 128kbs (actually ~133kbs) stream and didn't realize that my uplink was limited to 128kbs. I re-encoded my stream at 56kbs and allow a max of 2 connections (I just noticed that the stream was actually encoded at 64kbps so there may still be a problem if two simultaeous connections are made).

Thanks again for your help.

-Jim
jimshep is offline   Reply With Quote
Old 4th December 2001, 16:41   #28
jimshep
Junior Member
 
Join Date: Nov 2001
Posts: 16
Here are two more ogg streams that show the same symptoms and are more likely to be working:

http://ogg.bbc.co.uk:8001/radio1.ogg
http://ogg.bbc.co.uk:8001/radio4.ogg

-Jim
jimshep is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Bug Reports

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump