| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Wed Dec 27, 2006 8:54 pm Post subject: I can't run ices 0.4 |
|
|
Hi,
I have a problem with you hoist 0,4 I have created palylist but it does not work:
ices -c /etc/icecast/ice_conf.conf
XML Parser: Document of invalid type, no ices namespace found
Logfile opened
Could not find a valid playlist file.
Ices Exiting...
| Code: |
<?xml version='1.0'?>
<ices>
<logpath>/var/log/icecast</logpath>
<!-- Directorio del archivo log -->
<logfile>ices.log</logfile>
<!-- Nombre del archivo log -->
<loglevel>3</loglevel>
<!-- Tipo de log 4 Debug, 3 Info, 2 Warn, 1 Error -->
<consolelog>0</consolelog>
<!-- Si prefiere ver los errores en consola poner 1 sino dejarlo en 0-->
<stream>
<metadata>
<name>ACMhUnTeR Stream Audio Server</name>
<!-- Nombre del Servidor -->
<genre>Variado</genre>
<!-- Genero de musica -->
<description>Ogg</description>
<!-- Descripcion del Servidor -->
</metadata>
<input>
<module>playlist</module>
<!-- Modulo de fuente de audio-->
<param name='type'>basic</param>
<!-- Tipo de fuente de audio -->
<param name='file'>/stream/test.txt</param>
<!-- Ubicacion del la lista de canciones -->
<param name='random'>1</param>
<!-- Seleccion al azar de la lista de canciones si es 1 -->
<param name='once'>0</param>
<!-- 1 Repite lista indeterminadamente, 0 solo una vez -->
</input>
<instance>
<hostname>localhost</hostname>
<!-- Nombre o ip del hostname -->
<port>8000</port>
<!-- Puerto donde enviara las fuentes de audio al icecast -->
<password>hackme</password>
<!-- Password para conectar al icecast -->
<mount>/fm</mount>
<!-- Nombre de archivo de transmision -->
<reconnectdelay>2</reconnectdelay>
<!-- Tiempo de espera para reconectar -->
<reconnectattempts>5</reconnectattempts>
<!-- Tiempo de espera para reconectar si hay error, si es -1 seguira indefinidamente -->
<maxqueuelength>80</maxqueuelength>
<!-- Tiempo de espera interna de las fuentes -->
<savefile>salida.ogg</savefile>
<!-- Copia del audio que se envia para el streaming -->
<encode>
<samplerate>32000</samplerate>
<!-- Samplerate de codificacion -->
<channels>2</channels>
<!-- Numero de canales de codificacion -->
<quality>0</quality>
<!-- Calidad de codificacion si es 0 toma la mas aceptable-->
<minimum-bitrate>32000</minimum-bitrate>
<!-- Minimo bitrate de audio -->
<maximum-bitrate>48000</maximum-bitrate>
<!-- Maximo bitrate de audio -->
</encode>
</instance>
</stream>
</ices>
|
Any idea.
txs a lot. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Dec 27, 2006 9:24 pm Post subject: |
|
|
Don't be suprised if an ices2 config file won't work with ices 0.4
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Dec 27, 2006 9:28 pm Post subject: |
|
|
| karlH wrote: |
Don't be suprised if an ices2 config file won't work with ices 0.4
karl. |
And:
any tutorial ?
plz?
| Code: |
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>apan.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
<Crossfade>0;<Crossfade>
</Playlist>
<Server>
<Hostname>localhost</Hostname>
<Port>8000</Port>
<Password>mp3</Password>
<Protocol>mp3</Protocol>
</Server>
<Execution>
<Background>0</Background>
<Verbose>1</Verbose>
<Base_Directory>/tmp</Base_Directory>
</Execution>
<Stream>
<Name>Cool ices default name from XML</Name>
<Genre>Cool ices genre from XML</Genre>
<Description>Cool ices description from XML</Description>
<URL>Cool ices URL from XML</URL>
<Bitrate>128</Bitrate>
<Public>1</Public>
<Reencode>0</Reencode>
<Samplerate>-1</Samplerate>
<Channels>-1</Channels>
</Stream>
</ices:Configuration> |
| Code: |
ices -c /etc/icecast/ices.conf
/etc/icecast/ices.conf:9: parser error : Opening and ending tag mismatch: Crossfade line 8 and Playlist
</Playlist>
^
/etc/icecast/ices.conf:32: parser error : Opening and ending tag mismatch: Crossfade line 8 and ices:Configuration
</ices:Configuration>
^
/etc/icecast/ices.conf:33: parser error : Premature end of data in tag Playlist line 3
^
/etc/icecast/ices.conf:33: parser error : Premature end of data in tag Configuration line 2
^
XML Parser: Error while parsing /etc/icecast/ices.conf
Logfile opened
Could not find a valid playlist file.
Ices Exiting...
|
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Dec 28, 2006 2:00 am Post subject: |
|
|
Have a read through
http://gnuware.com/icecast/
I don't use ices 0.x personally, but that document should give you everything you need.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Dec 28, 2006 2:08 am Post subject: |
|
|
| karlH wrote: |
Have a read through
http://gnuware.com/icecast/
I don't use ices 0.x personally, but that document should give you everything you need.
karl. |
Txs, Krl.
I'd run with:
ices -v -F /home/icecast/music/playlist.txt -m music -h 209.85.8.2 -P hackme
But i don't understand why my XML don't works.... :/ |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Dec 29, 2006 12:53 pm Post subject: |
|
|
| karlH wrote: |
Have a read through
http://gnuware.com/icecast/
I don't use ices 0.x personally, but that document should give you everything you need.
karl. |
Hi Karl,
You could comment to me as he is the one that your you use to send stream to icecast? Thanks.
pd: still I have the problem of file XML, some option? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Dec 29, 2006 2:07 pm Post subject: |
|
|
just from an XML point of view, it looks like you are missing the end tag for crossfade within playlist.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri Dec 29, 2006 5:33 pm Post subject: |
|
|
| karlH wrote: |
just from an XML point of view, it looks like you are missing the end tag for crossfade within playlist.
karl. |
Okay
I put it well and this is my result:
| Code: |
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/home/icecast/playlist.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
<Crossfade>2</Crossfade>
</Playlist>
<Server>
<Hostname>209.85.8.2</Hostname>
<Port>8001</Port>
<Password>hackme</Password>
<Protocol>mp3</Protocol>
</Server>
<Execution>
<Background>0</Background>
<Verbose>1</Verbose>
<Base_Directory>/tmp</Base_Directory>
</Execution>
<Stream>
<Name>Cool ices default name from XML</Name>
<Genre>Cool ices genre from XML</Genre>
<Description>Cool ices description from XML</Description>
<URL>Cool ices URL from XML</URL>
<Bitrate>128</Bitrate>
<Public>1</Public>
<Reencode>0</Reencode>
<Samplerate>-1</Samplerate>
<Channels>-1</Channels>
</Stream>
</ices:Configuration>
|
And:
ices -c /etc/icecast/ices.conf
Unknown Node: Server
Unknown Execution keyword: Base_Directory
Logfile opened
DEBUG: Sending following information to libshout:
DEBUG: Stream: 0
DEBUG: Host: 127.0.0.1:8000 (protocol: http)
DEBUG: Mount: /ices, Password: letmein
DEBUG: Name: Cool ices default name from XML URL: Cool ices URL from XML
DEBUG: Genre: Cool ices genre from XML Desc: Cool ices description from XML
DEBUG: Bitrate: 128 Public: 1
DEBUG: Dump file: (null)
DEBUG: Initializing playlist handler...
DEBUG: Initializing builting playlist handler...
DEBUG: Randomizing playlist...
DEBUG: Startup complete
DEBUG: Builtin playlist handler serving: /home/icecast/music/beach.mp3
DEBUG: Filename cleaned up from [/home/icecast/music/beach.mp3] to [beach]
DEBUG: MPEG-1 layer III, 112 kbps, 44100 Hz, j-stereo
DEBUG: Ext: 0 Mode_Ext: 0 Copyright: 0 Original: 1
DEBUG: Error Protection: 1 Emphasis: 0 Padding: 0
Playing /home/icecast/music/beach.mp3
DEBUG: Updated metadata on /ices to: beach
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Error during send: Mount failed on http://127.0.0.1:8000/ices, error: Login failed
Too many stream errors, giving up
Ices Exiting...
But i put mount point etcetc ... ?
TXS |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Dec 29, 2006 7:41 pm Post subject: |
|
|
You haven't specified a mountpoint so /ices is assumed, you haven't specified a password so letmein is assumed and the stream is rejected by your icecast. I can only guess that the missing password is the reason why it's not running.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Dec 30, 2006 12:55 am Post subject: |
|
|
| karlH wrote: |
You haven't specified a mountpoint so /ices is assumed, you haven't specified a password so letmein is assumed and the stream is rejected by your icecast. I can only guess that the missing password is the reason why it's not running.
karl. |
Hi Karl,
I think that the mount point is not configured, but.... passwd?
| Code: |
<Server>
<Hostname>209.85.8.2</Hostname>
<Port>8001</Port>
<Password>hackme</Password>
<Protocol>mp3</Protocol>
</Server> |
hackme is the passwd, is it?
Have you a good xml conf. (with mountpoint, etc ) for ices 0.4 ?
thanks a lot. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Dec 30, 2006 2:15 am Post subject: |
|
|
You really should look at the samples shipped with the apps. Your config has <Server> and <Stream> as seperate blocks when one really wants to be within the other. Your protocol is incorrect, it should be http as shown in the samples in the conf directory.
The key thing to see from your output is the following
Unknown Node: Server
Which means that anything within <server> is going to be ignored because it's not meant to be there. The <Stream> is taken and various details are shown like the name, genre etc but there is no server details within it, so defaults are used.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Dec 30, 2006 6:28 pm Post subject: |
|
|
| karlH wrote: |
Which means that anything within <server> is going to be ignored because it's not meant to be there. The <Stream> is taken and various details are shown like the name, genre etc but there is no server details within it, so defaults are used.
karl. |
Hello Karl,
I must to say you that in the documentation that came in tar.gz came since I have put, which confuses very much…
At the moment this thus and it works:
| Code: |
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/home/icecast/music/playlist.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
<Crossfade>2</Crossfade>
</Playlist>
<Execution>
<Background>0</Background>
<Verbose>1</Verbose>
<directory>/tmp</directory>
</Execution>
<Stream>
<Name>A.I. Tunes</Name>
<Genre>Variado</Genre>
<Description>Prueba Piloto de A.I Tunes</Description>
<URL>Cool ices URL from XML</URL>
<Bitrate>128</Bitrate>
<Public>1</Public>
<Reencode>0</Reencode>
<Samplerate>-1</Samplerate>
<Channels>-1</Channels>
<Server>
<Hostname>234.24.56.21</Hostname>
<Port>8000</Port>
<Password>hackme</Password>
<Protocol>http</Protocol>
</Server>
<Mountpoint>/music</Mountpoint>
</Stream>
</ices:Configuration> |
And i have a question:
Can I send the image embeded in the mp3 file?
Thank you very much  |
|
| Back to top |
|
 |
|