Hi All,<br><br>Maybe I do something completely wrong and I make some trivial mistakes but the static streaming doesn't work for me.<br>I describe my setup.<br><br>Thanks,<br>Ivan<br><br>- I try to reach the following URLs but neither of them worked: 
<br><a href="http://my.server.hu/try.mp3">http://my.server.hu/try.mp3</a><br><a href="http://my.server.hu/try.mp3.m3u">http://my.server.hu/try.mp3.m3u</a><br><a href="http://my.server.hu/list.m3u">http://my.server.hu/list.m3u
</a><br><br>- The /usr/share/icecast2/web directory contains the following files:<br>try.mp3<br>list.m3u<br><br>- The list.m3u contains:<br>#EXTM3U<br>#EXTINF:-1,Try<br>try.mp3<br><br>- The /etc/icecast2/icecast.xml<br><icecast>
<br>    <limits><br>        <clients>100</clients><br>        <sources>2</sources><br>        <threadpool>5</threadpool><br>        <queue-size>102400</queue-size><br>
        <client-timeout>30</client-timeout><br>        <header-timeout>15</header-timeout><br>        <source-timeout>10</source-timeout><br>        <!-- If enabled, this will provide a burst of data when a client
<br>             first connects, thereby significantly reducing the startup<br>             time for listeners that do substantial buffering. However,<br>             it also significantly increases latency between the source
<br>             client and listening client.  For low-latency setups, you<br>             might want to disable this. --><br>        <burst-on-connect>1</burst-on-connect><br>        <!-- same as burst-on-connect, but this allows for being more
<br>             specific on how much to burst. Most people won't need to<br>             change from the default 64k. Applies to all mountpoints  --><br>        <burst-size>65535</burst-size><br>    </limits>
<br><br>    <authentication><br>        <!-- Sources log in with username 'source' --><br>        <source-password>pwd</source-password><br>        <!-- Relays log in username 'relay' --><br>
        <relay-password>pwd</relay-password><br><br>        <!-- Admin logs in with the username given below --><br>        <admin-user>admin</admin-user><br>        <admin-password>pwd</admin-password>
<br>    </authentication><br><br>    <!-- Uncomment this if you want directory listings --><br>    <!--<br>    <directory><br>        <yp-url-timeout>15</yp-url-timeout><br>        <yp-url>
<a href="http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a></yp-url><br>    </directory><br>    <directory><br>        <yp-url-timeout>15</yp-url-timeout><br>        <yp-url>
<a href="http://www.oddsock.org/cgi-bin/yp-cgi">http://www.oddsock.org/cgi-bin/yp-cgi</a></yp-url><br>    </directory><br>     --><br><br>    <!-- This is the hostname other people will use to connect to your server.
<br>    It affects mainly the urls generated by Icecast for playlists and yp<br>    listings. --><br>    <hostname><a href="http://my.server.hu">my.server.hu</a></hostname><br><br>    <!-- You can use these two if you only want a single listener -->
<br>    <!--<port>8000</port> --><br>    <!--<bind-address><a href="http://127.0.0.1">127.0.0.1</a></bind-address>--><br><br>    <!-- You may have multiple <listener> elements -->
<br>    <listen-socket><br>        <port>8000</port><br>        <!-- <bind-address><a href="http://127.0.0.1">127.0.0.1</a></bind-address> --><br>    </listen-socket><br>    <!--
<br>    <listen-socket><br>        <port>8001</port><br>    </listen-socket><br>    --><br><br>    <!--<master-server><a href="http://127.0.0.1">127.0.0.1</a></master-server>-->
<br>    <!--<master-server-port>8001</master-server-port>--><br>    <!--<master-update-interval>120</master-update-interval>--><br>    <!--<master-password>pwd</master-password>-->
<br>    <!--<br>    <relay><br>        <server><a href="http://127.0.0.1">127.0.0.1</a></server><br>        <port>8001</port><br>        <mount>/example.ogg</mount><br>        <local-mount>/different.ogg</local-mount>
<br><br>        <relay-shoutcast-metadata>0</relay-shoutcast-metadata><br>    </relay><br>    --><br><br>    <!-- Only define a <mount> section if you want to use advanced options,<br>         like alternative usernames or passwords
<br>    <mount><br>        <mount-name>/try.mp3</mount-name><br><br>        <username>othersource</username><br>        <password>hackmemore</password><br><br>        <max-listeners>1</max-listeners>
<br>        <dump-file>/tmp/dump-example1.ogg</dump-file><br>        <burst-size>65536</burst-size><br>        <fallback-mount>/example2.ogg</fallback-mount><br>        <fallback-override>1</fallback-override>
<br>        <hidden>1</hidden><br>        <no-yp>1</no-yp><br>        <authentication type="htpasswd"><br>                <option name="filename" value="myauth"/>
<br>                <option name="allow_duplicate_users" value="0"/><br>        </authentication><br>    </mount><br>    --><br><br>    <fileserve>1</fileserve><br><br>
    <!-- set the mountpoint for a shoutcast source to use, the default if not<br>         specified is /stream but you can change it here if an alternative is<br>         wanted or an extension is required<br>    <shoutcast-mount>/live.nsv</shoutcast-mount>
<br>    --><br><br>    <paths><br>                <!-- basedir is only used if chroot is enabled --><br>        <basedir>/usr/share/icecast2</basedir><br><br>        <!-- Note that if <chroot> is turned on below, these paths must both
<br>             be relative to the new root, not the original root --><br>        <logdir>/var/log/icecast2</logdir><br>        <webroot>/usr/share/icecast2/web</webroot><br>        <adminroot>/usr/share/icecast2/admin</adminroot>
<br>        <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> --><br><br>        <!-- Aliases: treat requests for 'source' path as being for 'dest' path<br>             May be made specific to a port or bound address using the "port"
<br>             and "bind-address" attributes.<br>          --><br>        <!--<br>        <alias source="/foo" dest="/bar"/><br>          --><br>        <!-- Aliases: can also be used for simple redirections as well,
<br>             this example will redirect all requests for <a href="http://server:port/">http://server:port/</a> to<br>             the status page<br>          --><br>        <alias source="/" dest="/status.xsl"/>
<br>    </paths><br><br>    <logging><br>        <accesslog>access.log</accesslog><br>        <errorlog>error.log</errorlog><br>        <!-- <playlistlog>playlist.log</playlistlog> -->
<br>        <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --><br>    </logging><br><br>    <security><br>        <chroot>0</chroot><br>        <!--<br>        <changeowner>
<br>            <user>nobody</user><br>            <group>nogroup</group><br>        </changeowner><br>        --><br>    </security><br></icecast><br><br><br><div><span class="gmail_quote">
On 3/25/06, <b class="gmail_sendername">Robert Muchnick
</b> <<a href="mailto:hostmaster@xenterra.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hostmaster@xenterra.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Icecast will try to fill a buffer before delivering the stream. Is your<br>file large enough to fill the buffer? In my recent test, a small file gets<br>downloaded (filling up the buffer) before the stream starts.<br><br>

On Thu, 23 Mar 2006, Ivan Zahoranszky wrote:<br><br>> Hi,<br>><br>> I have installed the Icecast2 on my Ubuntu Linux and I was not able to<br>> figure out how I could stream static mp3 files.<br>> Can anybody help me? What should I do to do this?
<br>><br>> I put the mp3 file in the webroot and I tried to retrieve it with the "<br>> <a href="http://host:port/try.mp3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://host:port/try.mp3
</a>" URL but I could only download it (as a whole)<br>
> but not as a streamed media.<br>><br>> Do I have to convert the mp3 to another streaming format? Or is my<br>> iceceast.xml wrong? Or do I need ices as well?<br>> Can anybody send me an example icecast.xml

 file that enables static file<br>> streaming?<br>><br>> Thank you very much,<br>> Ivan<br>><br><br>Robert Muchnick<br><a href="http://Xenterra.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Xenterra.net</a><br>720-276-7917<br><br>_______________________________________________
<br>Icecast mailing list<br><a href="mailto:Icecast@xiph.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Icecast@xiph.org</a><br><a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.xiph.org/mailman/listinfo/icecast</a><br><br><br>_______________________________________________
<br>Icecast mailing list<br><a href="mailto:Icecast@xiph.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Icecast@xiph.org</a><br><a href="http://lists.xiph.org/mailman/listinfo/icecast" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.xiph.org/mailman/listinfo/icecast</a><br><br><br></blockquote></div>
<br>