| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Jun 12, 2008 7:45 pm Post subject: Where is the ogg file? |
|
|
Hello,
i have install Icecast on a Windows 2003 Server.
My configs:
| 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>comuse.org</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>/comusetv.ogg</mount-name>
<password>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>/comusetv.ogg</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>
</icecast> |
Then I have start icecast and have open the following URL:
http://comuse.org:8000/comusetv.ogg
and
http://comuse.org:8001/comusetv.ogg
but there I can't download the stream file.
Where can I find the file?
Thanks for help! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jun 12, 2008 8:52 pm Post subject: |
|
|
listeners would not use port 8001 as that is a shoutcast compatible port.
If /comusetv.ogg refers to a file then it would be in webroot, but you haven't said whether you are streaming from a source client or not.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 9:25 am Post subject: |
|
|
Hello,
i stream with a NSV-Tool (NSVCAP) to Icecast on port 8000.
In shoutcast i can download the .pls file but where is the icecast file where i can see the stream?
On the listmounts.xsl is no active mountpoint.
Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 1:34 pm Post subject: |
|
|
the m3u and xspf playlists are automatically generated, pls is not, but you can place one in webroot if you wish.
karl.
Last edited by karlH on Fri Jun 13, 2008 2:24 pm; edited 1 time in total |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 1:49 pm Post subject: |
|
|
and where i can find the stream file?
In Shoutcast it is the listen.pls
but what for a file have icecast?
My <mount> ogg file dont work, also i cant download it
... or how can i create it?
I only search for the file to hear and watch the stream.
Thanks. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 2:28 pm Post subject: |
|
|
what is a stream file?, in icecast you have a streaming mountpoint and a playlist. If you mean a playlist then it is http://...../mountpoint.m3u as an example. There is no playlist file unless you create one yourself, although you only need to create one if you want something specific in there.
If you look on the status page the links are plain to see.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 3:34 pm Post subject: |
|
|
ah, thanks!
I mean the playlist.
I remember that the playlist is the file: comusetv.ogg
but with m3u it works.
edit: When I connect with NSVCAP and capture to the icecast server then the VLC player show: Unable to open 'http://comuse.org:8000/comusetv'
Do I set other "Header" settings in NSVCAP? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 4:43 pm Post subject: |
|
|
from here it looks like 'http://comuse.org:8000/comusetv' doesn't exist, it is not even an icecast server.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 5:17 pm Post subject: |
|
|
ok, now Icecast is on but it don't work:
http://comuse.org:8000/comusetv
When I start a stream with NSVCAP then it don't work too. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 7:46 pm Post subject: |
|
|
you are right, it says 404 not found, but I don't have access to the error log to see why it's not available.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 8:37 pm Post subject: |
|
|
Lets see, from the log it says
| Quote: |
[2008-06-12 21:29:54] INFO fserve/fserve.c checking for file /comusetv.nsv (./web/comusetv.nsv)
[2008-06-12 21:29:54] WARN fserve/fserve.c req for file "./web/comusetv.nsv" No such file or directory
|
so there is no active stream or file using that mountpoint. I#m guessing it has something to do with the source client being rejected based on failure authentication
[2008-06-12 21:29:49] INFO connection/connection.c password does not match ......
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 9:08 pm Post subject: |
|
|
So, i have set all passwords to "password"
| Code: |
<icecast>
<limits>
<clients>20</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>comuse.org</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>/comusetv</mount-name>
<password>password</password>
<max-listeners>30</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>/comusetv</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>
</icecast> |
hm i don't know what to do ... |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 9:14 pm Post subject: |
|
|
based on the log you referred to, the password sent by the nsv source client is nothing like "password"
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Jun 13, 2008 9:25 pm Post subject: |
|
|
ok, thanks!
Now it works!
...
When I create another mountpoint:
---First---
<mount>
<mount-name>/comusetv</mount-name>
<password>password</password>
<max-listeners>30</max-listeners>
<burst-size>65536</burst-size>
</mount>
---Second---
<mount>
<mount-name>/comuseRadio</mount-name>
<password>password</password>
<max-listeners>30</max-listeners>
<burst-size>65536</burst-size>
</mount>
... how can I create then a second shoutcast-mount?
In my configs there is one:
<shoutcast-mount>/comusetv</shoutcast-mount>
Did I even need a second shoutcast-mount?
Also:
<shoutcast-mount>/comuseRadio</shoutcast-mount>
Thanks! |
|
| Back to top |
|
 |
|