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 

Ices se corta

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Espaņol
View previous topic :: View next topic  
Author Message
Pedro M



Joined: 14 Sep 2009
Posts: 5

PostPosted: Mon Feb 15, 2010 10:51 pm    Post subject: Ices se corta Reply with quote

Hola a todos.

Tengo instalado icecast corriendo bien bajo centos 5 y en otro lugar como fuente quiero que este trabajando ices , tambien bajo centos, el problema es que cuando arranco el equipo "source" osea ices, la primera conexion no se realiza por que el archivo dsp de la tarjeta de sonido no tiene permisos , entonces ices pasa a shutdown.Cuando le doy permisos y vuelvo a iniciar ices , se conecta y empieza el streamer pero a los 7-8 minutos aproximadamente se cae de nuevo y en el log me dice que no puede abrir /dev/dsp
En el tiempo que esta haciendo streamer no se escucha nada, es decir en blanco. adjunto un log del error y la conf. de Ices .

[2010-02-14 22:49:26] INFO ices-core/main IceS 2.0.1 started...
[2010-02-14 22:49:26] INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2 channel(s), 44100 Hz
[2010-02-14 22:49:26] INFO signals/signal_usr1_handler Metadata update requested
[2010-02-14 22:49:26] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
[2010-02-14 22:49:27] INFO stream/ices_instance_stream Connected to server: 84.xxx.232.xxx:8000/ices.ogg
[2010-02-14 22:49:36] EROR input-oss/oss_read Error reading from audio device: Input/output error
[2010-02-14 22:49:36] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2010-02-14 22:49:36] DBUG encode/encode_clear Clearing encoder engine
[2010-02-14 22:49:36] DBUG input/input_loop An instance died, removing it
[2010-02-14 22:49:36] DBUG input/input_flush_queue Input queue flush requested
[2010-02-14 22:49:36] INFO input/input_loop All instances removed, shutting down...
[2010-02-14 22:49:36] INFO ices-core/main Shutdown complete
[2010-02-14 22:55:49] INFO ices-core/main IceS 2.0.1 started...
[2010-02-14 22:55:49] INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2 channel(s), 44100 Hz
[2010-02-14 22:55:49] INFO signals/signal_usr1_handler Metadata update requested
[2010-02-14 22:55:49] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 44100 Hz, nominal 64000
[2010-02-14 22:55:50] INFO stream/ices_instance_stream Connected to server: 84.xxx.121.1xx:8000/ices.ogg
[2010-02-14 22:55:59] EROR input-oss/oss_read Error reading from audio device: Input/output error
[2010-02-14 22:55:59] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down
[2010-02-14 22:55:59] DBUG encode/encode_clear Clearing encoder engine
[2010-02-14 22:56:00] DBUG input/input_loop An instance died, removing it
[2010-02-14 22:56:00] DBUG input/input_flush_queue Input queue flush requested
[2010-02-14 22:56:00] INFO input/input_loop All instances removed, shutting down...
[2010-02-14 22:56:00] INFO ices-core/main Shutdown complete
[2010-02-15 23:01:03] INFO ices-core/main IceS 2.0.1 started...
[2010-02-15 23:01:03] EROR input-oss/oss_open_module Failed to open audio device /dev/dsp: Permission denied
[2010-02-15 23:01:03] EROR input/input_loop Couldn't initialise input module "oss"
[2010-02-15 23:01:03] INFO ices-core/main Shutdown complete




ICES:CONF


<?xml version="1.0"?>
<ices>
<!-- run in background -->
<background>1</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>
<url>http://mysite.org</url>
</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>oss</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">/dev/dsp</param>
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<param name="metadata">0</param>
<param name="metadatafilename">metadata_info</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>84.xxx.212.xx</hostname>
<port>8000</port>
<password>pasword</password>
<mount>/ices.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>-1</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>


Alguno de Vosotros me daria una pista de por donde tengo que buscar.

La tarjeta de sonido funciona por que captura y reproduce sonido.

Gracias de antemano
Back to top
View user's profile Send private message
Pedro M



Joined: 14 Sep 2009
Posts: 5

PostPosted: Thu Apr 08, 2010 9:48 pm    Post subject: SOLUCIONADO Reply with quote

Bueno pues ya esta solucionado, el problema residia en que en la configuracion no estaba bien escrita la ruta de la tarjeta de sonido por lo que se conectaba al servidor pero no podia reproducir sonido.

Saludos a todos.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Foro Espaņol 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