Announcement

Collapse
No announcement yet.

Error syncing to MPEG

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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,

  • #2
    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.

    Comment


    • #3
      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..
      <11/29/[email protected]:46:29> [SHOUTcast] DNAS/Linux v1.8.3 (Aug 7 2001) starting up...
      <11/29/[email protected]:46:29> [main] pid: 480
      <11/29/[email protected]:46:29> [main] loaded config from sc_serv.conf
      <11/29/[email protected]:46:29> [main] initializing (usermax:4 portbase:8000)...
      <11/29/[email protected]:46:29> [main] introfile: ./content/tetris.mp3
      <11/29/[email protected]:46:29> [main] No ban file found (sc_serv.ban)
      <11/29/[email protected]:46:29> [main] No rip file found (sc_serv.rip)
      <11/29/[email protected]:46:29> [main] opening source socket
      <11/29/[email protected]:46:29> [main] source thread starting
      <11/29/[email protected]:46:29> [main] opening client socket
      <11/29/[email protected]:46:29> [main] Client Stream thread [0] starting
      <11/29/[email protected]:46:29> [source] listening for connection on port 8001
      <11/29/[email protected]:46:29> [main] client main thread starting
      <11/29/[email protected]: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..

      Comment


      • #4
        Is Winamp the default mp3 player on your workstation?

        Comment


        • #5
          Yes

          Comment


          • #6
            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.

            Comment


            • #7
              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

              Comment


              • #8
                As for the packetloss, nah, theres nothing wrong with my network, but if you must;
                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

                Comment


                • #9
                  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 | Radio Toolbox.com

                  Comment


                  • #10
                    put this together in about an hour


                    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 | Radio Toolbox.com

                    Comment

                    Working...
                    X