View previous topic :: View next topic |
Author |
Message |
tronchoman
Joined: 02 Feb 2009 Posts: 10
|
Posted: Sun Feb 15, 2009 9:12 pm Post subject: No consigo ejecutar ices2 |
|
|
Hola a todos,
Estoy configurando ices2 y me sale el siguiente error:
Code: |
[2009-02-15 22:03:30] INFO ices-core/main IceS 2.0.1 started...
[2009-02-15 22:03:30] EROR stream/ices_instance_stream libshout error: Out of memory
[2009-02-15 22:03:30] INFO signals/signal_usr1_handler Metadata update requested
[2009-02-15 22:03:30] DBUG input/input_loop An instance died, removing it
[2009-02-15 22:03:30] DBUG input/input_flush_queue Input queue flush requested
[2009-02-15 22:03:30] INFO input/input_loop All instances removed, shutting down...
[2009-02-15 22:03:30] INFO ices-core/main Shutdown complete |
He investigado un poco por ahí y no consigo saber porqué me pasa esto.
Mi ices-playlist.xml
Code: |
<?xml version="1.0"?>
<ices>
<!-- run in background -->
<background>0</background>
<!-- where logs, etc go. -->
<logpath>/var/log/ices</logpath>
<logfile>ices.log</logfile>
<!-- 1=error,2=warn,3=info,4=debug -->
<loglevel>4</loglevel>
<!-- set this to 1 to log to the console instead of to the file above -->
<consolelog>0</consolelog>
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/ices.pid</pidfile> -->
<stream>
<!-- metadata used for stream listing (not currently used) -->
<metadata>
<name>Example stream name</name>
<genre>Example genre</genre>
<description>A short description of your stream</description>
</metadata>
<!-- input module
The module used here is the playlist module - it has
'submodules' for different types of playlist. There are
two currently implemented, 'basic', which is a simple
file-based playlist, and 'script' which invokes a command
to returns a filename to start playing. -->
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">/etc/icecast2/playlist.txt</param>
<!-- random play -->
<param name="random">0</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input>
<!-- Stream instance
You may have one or more instances here. This allows you to
send the same input data to one or more servers (or to different
mountpoints on the same server). Each of them can have different
parameters. This is primarily useful for a) relaying to multiple
independent servers, and b) encoding/reencoding to multiple
bitrates.
If one instance fails (for example, the associated server goes
down, etc), the others will continue to function correctly.
This example defines two instances as two mountpoints on the
same server. -->
<instance>
<!-- Server details:
You define hostname and port for the server here, along with
the source password and mountpoint. -->
<hostname>127.0.0.1</hostname>
<port>8000</port>
<password></password>
<mount>/track1.ogg</mount>
<!-- Reconnect parameters:
When something goes wrong (e.g. the server crashes, or the
network drops) and ices disconnects from the server, these
control how often it tries to reconnect, and how many times
it tries to reconnect. Delay is in seconds.
If you set reconnectattempts to -1, it will continue
indefinately. Suggest setting reconnectdelay to a large value
if you do this.
-->
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<!-- maxqueuelength:
This describes how long the internal data queues may be. This
basically lets you control how much data gets buffered before
ices decides it can't send to the server fast enough, and
either shuts down or flushes the queue (dropping the data)
and continues.
For advanced users only.
-->
<maxqueuelength>80</maxqueuelength>
<!-- Live encoding/reencoding:
Currrently, the parameters given here for encoding MUST
match the input data for channels and sample rate. That
restriction will be relaxed in the future.
-->
<encode>
<nominal-bitrate>64000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps -->
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
</stream>
</ices> |
Si alguien me puede echar una mano...
Un saludo y gracias de antemano. |
|
Back to top |
|
|
tronchoman
Joined: 02 Feb 2009 Posts: 10
|
Posted: Sun Feb 15, 2009 9:31 pm Post subject: |
|
|
Hola a todos,
He conseguido eliminar este error poniendo el mismo password en icecast.xml
Code: |
<source-password>password</source-password> |
y en ices-playlist.xml
Code: |
<password>password</password> |
Ahora ya no me sale ese error, sino que ha evolucionado
Code: |
[2009-02-15 22:24:19] INFO ices-core/main IceS 2.0.1 started...
[2009-02-15 22:24:19] EROR stream/ices_instance_stream Failed initial connect to 127.0.0.1:8000 (Couldn't connect: Connection refused)
[2009-02-15 22:24:19] DBUG reencode/reencode_clear Clearing reencoder
[2009-02-15 22:24:19] INFO signals/signal_usr1_handler Metadata update requested
[2009-02-15 22:24:19] DBUG input/input_loop An instance died, removing it
[2009-02-15 22:24:19] DBUG input/input_flush_queue Input queue flush requested
[2009-02-15 22:24:19] INFO input/input_loop All instances removed, shutting down...
[2009-02-15 22:24:20] INFO ices-core/main Shutdown complete |
Agradezco cualquier ayuda.
Un saludo. |
|
Back to top |
|
|
_Nikobelli_
Joined: 13 Apr 2009 Posts: 5
|
Posted: Sun Apr 26, 2009 9:19 pm Post subject: |
|
|
lo unico que tienes que hacer con el ices2
es configurar. La ruta de la lista a reproducir, y que adentro del archivo.txt tenga las ruta de las canciones.
configurar el password que le pusiste al icecast.xml, ponerle el puerto tambien y el localhost en hostname y te tendria que ir de una!.
ya mas configuracion secundaria dependeria de ti mismo nomas. Pero esto seria lo principal. |
|
Back to top |
|
|
|
|
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
|