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 

Transmitir en directo

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

Joined: 13 Apr 2009
Posts: 5

PostPosted: Sun Apr 26, 2009 5:47 pm    Post subject: Transmitir en directo Reply with quote

Buenas, aca vengo con otra duda, y quisiera saber que necesito bien para configurar y transmitir en directo. porque no e encontrado manual alguno para hacerlo. Todo esto seria bajo linux.

Mi archivo de configuracion que tengo son.


<!-- run in background -->
<!-- where logs, etc go. -->
<!-- 1=error,2=warn,3=info,4=debug -->

set this to 1 to log to the console instead of to the file above
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/</pidfile> -->


metadata used for stream listing (not currently used)

<name>Radio online</name>
<genre>Un ejemplo de radio</genre>
<description>escuchanos onlinemente</description>

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.

<param name="rate">44100</param>
<param name="channels">2</param>
<!-- random play -->
<param name="random">0</param>

if the playlist get updated that start at the beginning
<param name="device">hw:0,0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="metadata">1</param>
<param name="metadatafilename">./metadata</param>

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
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.


Server details:
You define hostname and port for the server here, along with
the source password and mountpoint.

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.


<reconnectattempts>5</reconnectattempts> Cortado

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> cortado -->

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.



Datos de la velocidad de transmisión, calidad, y
nº de canales empleados.Habrá que modificarlos
según el ancho de banda al que podamos transmitir
contra icecast2. Es decir si emitimos a 64 kbs por segundo


Calidad de codificación del bitrate. Va de 0 a
10. Interesa tener un valor bajo para conexiones
Número de canales de la entrada

Codificando o recodificando, hay un punto donde se coge el audio y
se codifica a Ogg Vorbis. En algunas situaciones un stream puede requerir
que un samplerate bajo alcance un bitrate inferior. La nueva muestra
muestra va a modificar los datos de audio antes de que este entre en el
codificador, sin que afecte a otras instancias.Los valores más comunes usados son
48000, 44100, 22050 y 11025



TITLE=((Malaga-Gotica)) in live!!

para lanzarlo con el terminal

argen@argen-laptop:~$ sudo /etc/init.d/icecast2 start
Starting icecast2: argen@argen-laptop:~$
argen@argen-laptop:~$ sudo ices2 /etc/ices2/ices-directo.xml
[2009-04-26 19:43:34] INFO ices-core/main IceS 2.0.1 started...
[2009-04-26 19:43:34] WARN input-alsa/alsa_open_module Unknown parameter random for alsa module
[2009-04-26 19:43:34] INFO input-alsa/alsa_open_module Opened audio device hw:0,0
[2009-04-26 19:43:34] INFO input-alsa/alsa_open_module using 2 channel(s), 44100 Hz, buffer 371 ms
[2009-04-26 19:43:34] INFO input-alsa/alsa_open_module Starting metadata update thread
[2009-04-26 19:43:34] INFO audio/resample_initialise Initialised resampler for 2 channels, from 44100 Hz to 44100 Hz
[2009-04-26 19:43:34] INFO encode/encode_initialise Encoder initialising with bitrate management: 2 channels, 44100 Hz, minimum bitrate 48000, nominal 64000, maximum 64000
[2009-04-26 19:43:34] INFO signals/signal_usr1_handler Metadata update requested
[2009-04-26 19:43:34] DBUG metadata/metadata_thread_signal meta thread wakeup
[2009-04-26 19:43:34] WARN metadata/metadata_thread_signal Failed to open file "./metadata" for metadata update: No such file or directory
[2009-04-26 19:43:34] EROR stream/ices_instance_stream Failed initial connect to localhost:8000 (Login failed: Connection refused)
[2009-04-26 19:43:34] DBUG encode/encode_clear Clearing encoder engine
[2009-04-26 19:43:34] DBUG input/input_loop An instance died, removing it
[2009-04-26 19:43:34] DBUG input/input_flush_queue Input queue flush requested
[2009-04-26 19:43:34] INFO input/input_loop All instances removed, shutting down...
[2009-04-26 19:43:34] INFO metadata/metadata_thread_signal metadata thread shutting down
[2009-04-26 19:43:34] INFO ices-core/main Shutdown complete

¿Que necesito para que funcione? o como es el tema, porque asta aca llego.

Gracias por todo
Back to top
View user's profile Send private message Send e-mail
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