Old 29th November 2001, 14:43   #1
Wax0r
Junior Member
 
Join Date: Nov 2001
Posts: 7
Error syncing to MPEG

Hey,

I am running shoutcast 1.8.3 on my Linux install, using MP3 on demand, and ive edited the config file to make sure content=./content/
and the standard mp3 file (scpromo.mp3) is in there.. its running on port 8000

as soon as I try to connect to it, e.g. http://192.168.0.3:8000/content/scpromo.pls I get the following error:

1. [error syncing to MPEG]

does anybody have any idea whats causing this and/or how to solve it?

thanks a lot in advance,
Wax0r is offline   Reply With Quote
Old 29th November 2001, 19:07   #2
Daryl
Junior Member
 
Join Date: Nov 2001
Posts: 34
From the IP address that you are using, it appears that either the server is behind a firewall or you are trying to attach to the server via a local LAN. The IP address 192.168.0.3 is not a "globally routable IP". Try using the public IP address of the server or something like this: http://yourdomainname:8000/content/scpromo.pls

Hope that works.
Daryl is offline   Reply With Quote
Old 29th November 2001, 19:55   #3
Wax0r
Junior Member
 
Join Date: Nov 2001
Posts: 7
Quote:
From the IP address that you are using, it appears that either the server is behind a firewall or you are trying to attach to the server via a local LAN. The IP address 192.168.0.3 is not a "globally routable IP". Try using the public IP address of the server or something like this: http://yourdomainname:8000/content/scpromo.pls

Hope that works.
Its the ipaddress of the machine, since its in my LAN @ home, my windows box is my gateway, so the IP stuff cant be the problem.


Ive read your other replies, and the server=running just fine..
Quote:
<11/29/01@21:46:29> [SHOUTcast] DNAS/Linux v1.8.3 (Aug 7 2001) starting up...
<11/29/01@21:46:29> [main] pid: 480
<11/29/01@21:46:29> [main] loaded config from sc_serv.conf
<11/29/01@21:46:29> [main] initializing (usermax:4 portbase:8000)...
<11/29/01@21:46:29> [main] introfile: ./content/tetris.mp3
<11/29/01@21:46:29> [main] No ban file found (sc_serv.ban)
<11/29/01@21:46:29> [main] No rip file found (sc_serv.rip)
<11/29/01@21:46:29> [main] opening source socket
<11/29/01@21:46:29> [main] source thread starting
<11/29/01@21:46:29> [main] opening client socket
<11/29/01@21:46:29> [main] Client Stream thread [0] starting
<11/29/01@21:46:29> [source] listening for connection on port 8001
<11/29/01@21:46:29> [main] client main thread starting
<11/29/01@21:49:44> [sleeping] 0 listeners (0 unique)

and from the processlist:
480 pts/0 S 0:00 ./sc_serv
481 pts/0 S 0:00 ./sc_serv
482 pts/0 S 0:00 ./sc_serv
483 pts/0 S 0:00 ./sc_serv
484 pts/0 S 0:00 ./sc_serv
my content dir contains the following 2 files:
tetris.mp3 scpromo.mp3

trying..
http://192.168.0.3:8000/content/tetris.mp3 --> ERROR SYNCING TO MPEG
http://192.168.0.3:8000/content/tetris.pls --> ICY 404 RESOURCE NOT FOUND

the last one reports a error on the server:

[dest: 192.168.0.1] Invalid resource request(/content/tetris.pls)

thanks for any help in advance..
Wax0r is offline   Reply With Quote
Old 29th November 2001, 20:17   #4
Daryl
Junior Member
 
Join Date: Nov 2001
Posts: 34
Is Winamp the default mp3 player on your workstation?
Daryl is offline   Reply With Quote
Old 29th November 2001, 22:40   #5
Wax0r
Junior Member
 
Join Date: Nov 2001
Posts: 7
Yes
Wax0r is offline   Reply With Quote
Old 29th November 2001, 23:17   #6
Daryl
Junior Member
 
Join Date: Nov 2001
Posts: 34
Wow... the plot thinkens.

Try going to the msdos prompt (assuming you're on a windows machine) and do this:

ping 192.168.0.3

What happens? Are you getting any packet loss?
It should return 100% on a LAN connection.
Daryl is offline   Reply With Quote
Old 30th November 2001, 06:02   #7
Tom
Moderator
 
Join Date: Apr 2000
Posts: 4,491
If you are typing the address into Winamp then use .mp3. If you are typing the address into a browser then use .pls.
As far as the error syncing this means that Winamp did not receive a series of 1's that are used to sync. Perhaps a firewall issue on that port?

Tom

Tom is offline   Reply With Quote
Old 30th November 2001, 08:03   #8
Wax0r
Junior Member
 
Join Date: Nov 2001
Posts: 7
As for the packetloss, nah, theres nothing wrong with my network, but if you must;
Quote:
Pinging 192.168.0.3 with 32 bytes of data:

Reply from 192.168.0.3: bytes=32 time<10ms TTL=255
Reply from 192.168.0.3: bytes=32 time<10ms TTL=255
Reply from 192.168.0.3: bytes=32 time<10ms TTL=255
Reply from 192.168.0.3: bytes=32 time<10ms TTL=255

Ping statistics for 192.168.0.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Tom:
I know about the first part (winamp->mp3, browser->pls).. and at the winamp part, that where I get the Error Syncing to MPEG.. which is not caused by a firewall cause I am not runnin one.. I really am stuck.. For the sake of testing, I've also ran the shoutcast service on port 4930, which results in the exact same error.

thanks for your time.. but would u happen to have any other ideas that could be the problem ?

thnx again,
Wax0r
Wax0r is offline   Reply With Quote
Old 30th November 2001, 09:50   #9
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,941
I am not trying to bash you for your choice in servers but you really could have bypassed alot of problems just by setting up a webserver like apache to do on demand. You just can simply do more with it. Including password protecting directories and making your own frontend menu for each and every mp3 directory.

I think that the on demand feature was really something built to go along side the streaming part of it, not really to replace it.

I think that the SHOUTcast team has done a great job working out the details of OnDemand but at this point it is extremely difficult to figure out exactly how SHOUTcast wants to be setup.

Maybe at some point in the future it will be a better system, but for now I would just stick with a regular webserver.
Jay is offline   Reply With Quote
Old 30th November 2001, 13:10   #10
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,941
put this together in about an hour
http://www.shoutclub.com/mp3man/

it does everything that shoutcast on demand does, it just does it better and with a front end.

The mp3's that are sourced to that script are not available to the web, so you would come across the same problem that you would with SHOUTcast when trying to download the original mp3. Not saying it isn't possible to copy, but it gives you the same protection SHOUTcast does with a whole lot less hassle.
Jay is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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