View previous topic :: View next topic |
Author |
Message |
njscan
Joined: 15 Jan 2009 Posts: 4
|
Posted: Thu Jan 15, 2009 3:15 am Post subject: Icecast under Linux (Debian 4.0) |
|
|
I'm attempting to install Icecast2 (and Icecast-Server) on an HP Thin Client running Debian Linux 4.0 I am definitely a Linux Newbie. While the programs are installed, I've yet to figure out how to start the program. The Thin Client also runs gNome desktop. I'm wondering if Icecast2 (or Icecast-Server) can have a desktop icon to run the program like it would in Windows?
Any assistancee anyone can provide would be appreciated. _________________ The only dumb questions are those we don't ask. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jan 15, 2009 4:04 am Post subject: |
|
|
icecast2 is not a source client. A list of source clients has already been provided.
karl. |
|
Back to top |
|
|
njscan
Joined: 15 Jan 2009 Posts: 4
|
Posted: Thu Jan 15, 2009 3:11 pm Post subject: OK, now I'm confused |
|
|
Thank you for your replies.
Under Windows I needed to run an Icecast server and a host. As I recall, one program was Icecast2 and a second program.
Now, under Debian, I've installed Icecast Server. What would the second program that's needed to run be? The switch to Linux has been both educational anf most humbling. I REALLY appreciate your willingness to reply.
Thank you! _________________ The only dumb questions are those we don't ask. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jan 15, 2009 3:28 pm Post subject: |
|
|
It seems strange that you are asking what other program you need when you are posting this in the source client forum. It seems that you already know what sort of application you need, but you have not made it clear on the requirements to decide which one to use.
karl. |
|
Back to top |
|
|
njscan
Joined: 15 Jan 2009 Posts: 4
|
Posted: Thu Jan 15, 2009 9:51 pm Post subject: I can't assume anything |
|
|
I'm familiar with what Icecast needs under Windows. Under Linux, I have no idea. I'd rather ask many questions, and be sure, rather than waste time assuming it's the same. Honestly, I"m flying blind. _________________ The only dumb questions are those we don't ask. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jan 16, 2009 12:49 am Post subject: |
|
|
If the list of clients that is posted on the forum is not enough for you then you should ask, but generally speaking, whenever you ask questions you usually have to provide some information about what your requirements are. I could say ices2 but I have no idea if that is suitable for you.
karl. |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Fri Jan 23, 2009 3:59 pm Post subject: |
|
|
If you really need a good GUI source, have a look to IDJC, which I use on a regular basis.
I don't know if it has a debian package, as my primary station for radio is an opensuse 11.1 box _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
Will
Joined: 15 Nov 2007 Posts: 15
|
Posted: Sat Jan 24, 2009 11:58 am Post subject: |
|
|
It's in the ubuntu repos for sure, thumbs up for IDJC! _________________ willwh @ irc.freenode.net, #icecast
Come stop by if you need any help! |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Sat Jan 24, 2009 12:12 pm Post subject: |
|
|
Sure thumbs up. IDJC is a really powerful and intuitive real time DJ tool, with some bells & whistles usually only available with very expensive commercial software. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
maksymov
Joined: 03 Feb 2010 Posts: 5
|
Posted: Wed Feb 03, 2010 3:46 pm Post subject: |
|
|
to jcr:
Hi! I can't connect idjc to icecast2. How did you do that?!
idjc says:
Code: |
encoder_start: resampler will not be used
live_ogg_encoder_main: first pass of the encoder
live_ogg_build_metadata: metadata for encoder 0
artist=(null)
title=(null)
encoder_start: successfully started the encoder
streamer_connect: shout_get_error reports: Socket error
encoder_unregister_client called
encoder_unregister_client finished
command failed for command: server_connect
streamer_disconnect: disconnection_request is set
streamer_disconnect: disconnection complete
encoder_plugin_terminate: waiting for encoder to finish
live_ogg_encoder_main: cycle restart
live_ogg_encoder_main: writing final packet
live_ogg_encoder_main: last pass of the encoder, freeing libvorbis structures
live_ogg_encoder_main: libvorbis structures freed
live_ogg_encoder_main: performing cleanup
live_ogg_encoder_main: finished cleanup
encoder_stop: encoder is stopped |
I can connect with ices, I can see web-tool, but I can't connect with idjc
Can you help me? |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Wed Feb 03, 2010 4:15 pm Post subject: |
|
|
In IDJC, use the Server button (botto left of main window). Then fill at least 1 of the 6 simultaneaous possible stream sources, with all parameters you need. Then add this configuration.
Finally use the server Connect button in this radio Server window to connect 1 stream.
This is a very simple setup. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
maksymov
Joined: 03 Feb 2010 Posts: 5
|
Posted: Wed Feb 03, 2010 4:36 pm Post subject: |
|
|
IDJC can't connect. I think I need to configure icecast.xml.
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>***********</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>***********</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>***********</admin-password>
</authentication>
<!-- 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>/live.nsv</shoutcast-mount>
-->
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<!-- 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>localhost</hostname>
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
<!-- <shoutcast-mount>/stream</shoutcast-mount> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<!--<relays-on-demand>1</relays-on-demand>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/live.ogg</mount-name>
<username>otheruser</username>
<password>hackme</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>/example_intro.ogg</intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>
<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/share/icecast2</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/var/log/icecast2</logdir>
<webroot>/usr/share/icecast2/web</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<!-- <pidfile>/usr/share/icecast2/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>3</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>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>
|
maybe, i need to setup <mount> or somthing else... |
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Wed Feb 03, 2010 4:41 pm Post subject: |
|
|
Yes, you should at least provide 1 mount point.
ie:
Code: |
<mount>
<mount-name>/robot.mp3</mount-name>
<max-listeners>1000</max-listeners>
</mount>
|
or with a fallback:
Code: |
<mount>
<mount-name>/live.mp3</mount-name>
<max-listeners>1000</max-listeners>
<fallback-mount>/robot.mp3</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
|
with whatever names you like for mounts. I suggest you always give encoding, says mp3 or ogg in mount name, as some listening clients are somewhat stupid when it comes to determining encoding. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
maksymov
Joined: 03 Feb 2010 Posts: 5
|
Posted: Wed Feb 03, 2010 5:11 pm Post subject: |
|
|
I add
Code: |
<mount>
<mount-name>/live.ogg</mount-name>
<max-listeners>100</max-listeners>
</mount> |
and restart icecast
not work
Code: |
avex@avex-server:~$ idjc
Xlib: extension "Generic Event Extension" missing on display ":1019.0".
Xlib: extension "Generic Event Extension" missing on display ":1019.0".
Xlib: extension "Generic Event Extension" missing on display ":1019.0".
Xlib: extension "Generic Event Extension" missing on display ":1019.0".
Xlib: extension "Generic Event Extension" missing on display ":1019.0".
Internet DJ Console Version 0.8.1
Copyright 2005-2009 Stephen Fairchild
Released under the GNU General Public License V3.0
Language translation: en_US
shout_initialiser: shout_init called
jack info: SSE2 detected
started 6 encoders, 6 streamers, 2 recorders
threads initialised
jack sample rate is 44100
Restoring previous session
stream-mon was toggled ON
|
then I pressed Connect server and get
Code: |
Server was pressed
encoder_start: resampler will not be used
live_ogg_encoder_main: first pass of the encoder
live_ogg_build_metadata: metadata for encoder 0
artist=(null)
title=(null)
encoder_start: successfully started the encoder
streamer_connect: shout_get_error reports: Socket error
encoder_unregister_client called
encoder_unregister_client finished
command failed for command: server_connect
streamer_disconnect: disconnection_request is set
streamer_disconnect: disconnection complete
encoder_plugin_terminate: waiting for encoder to finish
live_ogg_encoder_main: cycle restart
live_ogg_encoder_main: writing final packet
live_ogg_encoder_main: last pass of the encoder, freeing libvorbis structures
live_ogg_encoder_main: libvorbis structures freed
live_ogg_encoder_main: performing cleanup
live_ogg_encoder_main: finished cleanup
encoder_stop: encoder is stopped
|
My IDJC settings:
Type:
Host: localhost
Port: 8000
Mount: /live.ogg
Login: source
Pass:***********
Sample rate: 44100
Ogg Vorbis: 64kbps mono
The icecast error log:
Code: |
[2010-02-03 18:51:45] INFO main/main Icecast 2.3.2 server started
[2010-02-03 18:51:45] INFO yp/yp_update_thread YP update thread started
[2010-02-03 18:51:45] INFO connection/get_ssl_certificate No SSL capability
[2010-02-03 18:51:46] INFO fserve/fserve_client_create checking for file /style.css (/usr/share/icecast2/web/style.css)
[2010-02-03 18:51:46] INFO fserve/fserve_client_create checking for file /corner_topleft.jpg (/usr/share/icecast2/web/corner_topleft.jpg)
[2010-02-03 18:51:46] INFO fserve/fserve_client_create checking for file /corner_bottomleft.jpg (/usr/share/icecast2/web/corner_bottomleft.jpg)
[2010-02-03 18:51:47] INFO fserve/fserve_client_create checking for file /icecast.png (/usr/share/icecast2/web/icecast.png)
[2010-02-03 18:51:47] INFO fserve/fserve_client_create checking for file /corner_topright.jpg (/usr/share/icecast2/web/corner_topright.jpg)
[2010-02-03 18:51:47] INFO fserve/fserve_client_create checking for file /corner_bottomright.jpg (/usr/share/icecast2/web/corner_bottomright.jpg)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /style.css (/usr/share/icecast2/web/style.css)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /corner_topleft.jpg (/usr/share/icecast2/web/corner_topleft.jpg)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /corner_bottomleft.jpg (/usr/share/icecast2/web/corner_bottomleft.jpg)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /icecast.png (/usr/share/icecast2/web/icecast.png)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /corner_topright.jpg (/usr/share/icecast2/web/corner_topright.jpg)
[2010-02-03 18:51:55] INFO fserve/fserve_client_create checking for file /corner_bottomright.jpg (/usr/share/icecast2/web/corner_bottomright.jpg) |
|
|
Back to top |
|
|
jcr Modérateur français
Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Wed Feb 03, 2010 5:33 pm Post subject: |
|
|
Your key is here:
Quote: |
streamer_connect: shout_get_error reports: Socket error |
The connection between your client and icecast fails for some reason.
Sounds like some network problem. _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
Back to top |
|
|
|