Icecast Video Problem

C0dR

New Member
Hallo!
Und zwar hab ich ein problem mit Icecast in verbindung mit nsv-Videos.
Ich wollte Videos per icecast streamen und hab deswegen auch schon die nsv-tools und die richtige config in icecast dazu gemacht.

So sieht meine config aus:
Code:
<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>102400</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>ZENSIERT</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>ZENSIERT</relay-password>

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

    <hostname>meinhost.de</hostname>

    <!-- You may have multiple <listener> elements -->
     <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
        <!-- <shoutcast-mount>/stream</shoutcast-mount> -->
     </listen-socket>
  
    <listen-socket>
        <port>8001</port>
    <shoutcast-compat>1</shoutcast-compat>
	<shoutcast-mount>/stream.nsv</shoutcast-mount>
    </listen-socket>
  
	
	<mount> 
		<source-password>testing</source-password>
		<mount-name>/stream.nsv</mount-name> 
		<max-listeners>5</max-listeners> 
		<username>source</username> 
		<password>testing</password>
		<burst-size>65536</burst-size> 
	</mount> 

    <!-- setting this makes all relays on-demand unless overridden, this is
         useful for master relays which do not have <relay> definitions here.
         The default is 0 -->
    <!--<relays-on-demand>1</relays-on-demand>-->
   
    

    <fileserve>1</fileserve>

    <paths>
		<!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/share/icecast2</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/log</logdir>
        <webroot>web</webroot>
        <adminroot>admin</adminroot>
        <!--
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        -->
        <!-- <pidfile>/usr/share/icecast2/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>3</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>1</chroot>
        
        <changeowner>
            <user>icecast2</user>
            <group>icecast</group>
        </changeowner>
        
    </security>
</icecast>

Mein problem ist jetzt, dass das ganze einfach nicht funktionieren will. Ich kann einfach keine Videos streamen. Weder zum Server streamen, noch abrufen.
Ich habe es mit audio dateien getestet und da hat es funktioniert (nur bei port 8000).
Mit videos will es gar nicht. Wenn ich in die Settings gucke (über meinhost.de:8000) steht aber auch beim mountpunkt port 8000 und nicht 8001. Zum port 8001 kann ich einfach nicht verbinden.

Weis einer woran das liegen könnte? Oder hab ich was falsch eingestellt?

Ich weis einfach nicht mehr weiter. Es funktioniert einfach nur port 8000 und videos funktionieren gar nicht. Ich weis nicht mehr weiter :(

lg
C0dR
 
Back
Top