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 

Streaming NSVCap-Icecast-Winamp v5.05 -error syncing to mpeg

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





PostPosted: Sun Aug 26, 2007 10:15 am    Post subject: Streaming NSVCap-Icecast-Winamp v5.05 -error syncing to mpeg Reply with quote

Hi,

Have problems playing my own NSV live video stream with Winamp. It says always "error syncing to mpeg".

NSVCap is connecting properly (I think) to Icecast. But I'm unable to watch the stream in Winamp. Icecast is configured to Mountpoint "mytv.nsv", what seemingly is the mountpoint which is been delivered by NSVCap. But if I try to connect to it, Winamp says either "error syncing to mpeg" or "file not found" and stops.

The url's I've tried are

http://my-icecast-address:8000
http://my-icecast-address:8000/mytv
http://my-icecast-address:8000/mytv.nsv
http://my-icecast-address:8000/;mytv.nsv
http://my-icecast-address:8001
http://my-icecast-address:8001/mytv
http://my-icecast-address:8001/mytv.nsv

It seems, that everything is going fine in Icecast, but I am not quite sure about that.

Icecast settings are the following:
Code:

<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <!-- If enabled, this will provide a burst of data when a client
             first connects, thereby significantly reducing the startup
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <burst-on-connect>1</burst-on-connect>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>password</source-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>password</admin-password>
    </authentication>


    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>192.168.178.7</hostname>

    <!-- You may have multiple <listener> elements -->
    <listen-socket>
        <port>8000</port>
    </listen-socket>
   
    <listen-socket>
        <port>8001</port>
   <shoutcast-compat>1</shoutcast-compat>
    </listen-socket>

    <!-- Only define a <mount> section if you want to use advanced options,
         like alternative usernames or passwords -->

   <!--
    <mount>
        <mount-name>/mytv.nsv</mount-name>
   <password></password>
        <max-listeners>1</max-listeners>
        <burst-size>65536</burst-size>
    </mount>
   -->

    <fileserve>1</fileserve>

    <!-- set the mountpoint for a shoutcast source to use, the default if not
         specified is /stream but you can change it here if an alternative is
         wanted or an extension is required -->
    <shoutcast-mount>/mytv.nsv</shoutcast-mount>
    <!-- -->

    <paths>
      <!-- basedir is only used if chroot is enabled -->
        <basedir>./</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <!-- <pidfile>./icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
         <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
         <logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
    </security>
</icecast>


Any help appreciated

Zoli[/code]
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Aug 26, 2007 1:55 pm    Post subject: Reply with quote

The xml looks ok, and if the stream appears on the status page then that would indicate the source client connection is good. The url would be http://my-icecast-address:8000/mytv.nsv, port 8000 is the port for listeners and /mytv.nsv is the mountpoint which should be shown on the status page.

The message from winamp indicates the wrong codec be used, it uses extensions to select the codec falling back to mp3 if not found. So either the .nsv is missing or winamp does not have the codec installed.

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





PostPosted: Sun Aug 26, 2007 2:04 pm    Post subject: Reply with quote

@KarlH

Quote:
winamp does not have the codec installed.


I doubt that, because the same Winamp on the same machine can play files, which are been recorded by nsvcap using the same encoder settings. It would be quite strage if it would only be unable to find the right codec, if it was a stream and not a recorded file in the same format.

My Winamp is definitely capable of playing streams in that particular format, because I used to watch webtv on it.

Oh, and I tested the stream on my laptop. same issue there. Latest Winamp installed.

Zoli
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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