From nicholas at nicholaswyoung.com Fri Oct 1 18:36:14 2010 From: nicholas at nicholaswyoung.com (Nicholas Young) Date: Fri, 1 Oct 2010 13:36:14 -0500 Subject: [Icecast] limit-rate usage Message-ID: So, I've googled around, and can't seem to find anything regarding usage of limit-rate inside of the mount tags. So... blah... mount settings here (How to set the number here? Any help would be appreciated. Nicholas -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at xiph.org Fri Oct 1 19:22:26 2010 From: karl at xiph.org (Karl Heyes) Date: Fri, 01 Oct 2010 20:22:26 +0100 Subject: [Icecast] limit-rate usage In-Reply-To: References: Message-ID: <4CA634F2.3090600@xiph.org> On 01/10/10 19:36, Nicholas Young wrote: > So, I've googled around, and can't seem to find anything regarding usage of > limit-rate inside of the mount tags. > > So... > > > blah... mount settings here > (How to set the number here? > > > Any help would be appreciated. This is in the kh tree. If you specify a number for that then the incoming bitrate is limited to that. If someone sends a 96k stream to a mount set with a 64k limit then listeners will rebuffer as they don't get enough data for playback and eventually the application sending the data will notice a backlog and will drop the connection. usage is straightforward 70k or in bytes which ever you prefer but set it a little over the expected bitrate. Streams with lower bitrates will not be affected. karl. From ross at stationplaylist.com Sat Oct 2 00:56:20 2010 From: ross at stationplaylist.com (Ross Levis) Date: Sat, 2 Oct 2010 13:56:20 +1300 Subject: [Icecast] limit-rate usage In-Reply-To: <4CA634F2.3090600@xiph.org> References: <4CA634F2.3090600@xiph.org> Message-ID: <007e01cb61cc$a23c3af0$e6b4b0d0$@com> As a stream host selling bandwidth space, we are interested in this change. Currently we need to use software we have written to periodically check if all streams do not exceed the bitrate purchased. If one is found, a manual email is written to them. I'm just wondering if your routines take into account internet congestion where the stream may be uploaded at a slower rate for say 30 seconds and once the congestion clears, the backlog is uploaded as fast as possible. For example, I've seen a 64k stream go as low as 32k for a few seconds and then jump up to 100k for a short time. Will the code handle this ok? Ross. -----Original Message----- From: icecast-bounces at xiph.org [mailto:icecast-bounces at xiph.org] On Behalf Of Karl Heyes Sent: Saturday, 2 October 2010 8:22 AM To: icecast at xiph.org Subject: Re: [Icecast] limit-rate usage On 01/10/10 19:36, Nicholas Young wrote: > So, I've googled around, and can't seem to find anything regarding usage of > limit-rate inside of the mount tags. > > So... > > > blah... mount settings here > (How to set the number here? > > > Any help would be appreciated. This is in the kh tree. If you specify a number for that then the incoming bitrate is limited to that. If someone sends a 96k stream to a mount set with a 64k limit then listeners will rebuffer as they don't get enough data for playback and eventually the application sending the data will notice a backlog and will drop the connection. usage is straightforward 70k or in bytes which ever you prefer but set it a little over the expected bitrate. Streams with lower bitrates will not be affected. karl. _______________________________________________ Icecast mailing list Icecast at xiph.org http://lists.xiph.org/mailman/listinfo/icecast From karl at xiph.org Sat Oct 2 01:19:31 2010 From: karl at xiph.org (Karl Heyes) Date: Sat, 02 Oct 2010 02:19:31 +0100 Subject: [Icecast] limit-rate usage In-Reply-To: <007e01cb61cc$a23c3af0$e6b4b0d0$@com> References: <4CA634F2.3090600@xiph.org> <007e01cb61cc$a23c3af0$e6b4b0d0$@com> Message-ID: <4CA688A3.8080004@xiph.org> On 02/10/10 01:56, Ross Levis wrote: > As a stream host selling bandwidth space, we are interested in this change. > Currently we need to use software we have written to periodically check if > all streams do not exceed the bitrate purchased. If one is found, a manual > email is written to them. > > I'm just wondering if your routines take into account internet congestion > where the stream may be uploaded at a slower rate for say 30 seconds and > once the congestion clears, the backlog is uploaded as fast as possible. > > For example, I've seen a 64k stream go as low as 32k for a few seconds and > then jump up to 100k for a short time. Will the code handle this ok? it would, it takes an average over the last 60 seconds for the incoming bitrate, so a slowdown and recover over that period is not a problem. The only case that is a possible issue (a minor one really) is a large burst when a relay is kicked off. karl. From connorsml at gmail.com Mon Oct 4 14:20:30 2010 From: connorsml at gmail.com (Michael Connors) Date: Mon, 4 Oct 2010 16:20:30 +0200 Subject: [Icecast] can't play stream Message-ID: Hi, I have just installed icecast and a client called idjc. I set up the client as icecast2 master mount= /stream user= source When I click connect it appears to connect, and I see the mount point appears on the webui and my clients can open the stream using myipaddress:port/stream The clients also appear in the webui, but only for 8 seconds. Am I do something wrong here? -- Michael Connors Alencon, France http://www.michaelconnors.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From connorsml at gmail.com Mon Oct 4 14:36:55 2010 From: connorsml at gmail.com (Michael Connors) Date: Mon, 4 Oct 2010 16:36:55 +0200 Subject: [Icecast] can't play stream In-Reply-To: References: Message-ID: Sorry, the problem was actually that the embedded player in chrome didn't do anything. I tried vlc and had no problem. -- Michael Connors Alencon, France http://www.michaelconnors.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From connorsml at gmail.com Mon Oct 4 20:33:09 2010 From: connorsml at gmail.com (Michael Connors) Date: Mon, 4 Oct 2010 22:33:09 +0200 Subject: [Icecast] server no longer works after reboot Message-ID: Hi, I set up icecast earlier and was able to run it and stream. I used this command: icecast2 -c /etc/icecast2/icecast.xml Now after a reboot, this no longer works. Nothing has changed in the config. Nothing is written to the log and the message it prints to console is not very verbose: Server startup failed. Exiting Does anyone have any ideas? -- Michael Connors Alencon, France http://www.michaelconnors.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From w2lie at w2lie.net Wed Oct 6 03:52:39 2010 From: w2lie at w2lie.net (W2LIE) Date: Tue, 05 Oct 2010 22:52:39 -0500 Subject: [Icecast] Starting Icecast as a service on CentOS Message-ID: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> Hi All, I've recently upgraded my hosting to a VPS running CentOS. I'm trying to configure the VPS to launch Icecast as a service so that Icecast starts if the virtual server reboots, or Icecast stops running. I've found several scripts out there to place in my init.d folder, but nothing seems to work for me as of yet. Here is my Icecast2 setup: Location=/usr/local/bin CONF_FILE=/usr/local/etc/icecast.xml Icecast does run fine by itself if I launch it from the command file as ./icecast -b -c /usr/local/etc/icecast.xml Thanks for the help Phil -- -- Phil / w2lie Monitor Long Island, Inc. d/b/a W2LIE.net www.w2lie.net From jnalley at jnalley.com Wed Oct 6 04:44:18 2010 From: jnalley at jnalley.com (Jonathan Nalley) Date: Wed, 6 Oct 2010 00:44:18 -0400 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> Message-ID: Could you use a site like pastebin.com to show us what your init script looks like that you've tried? Although the typical init script is certainly more preferable, you could always just append that command you know to be working to /etc/rc.local although you may want to direct stdout and stderr somewhere. On 10/5/10, W2LIE wrote: > Hi All, > I've recently upgraded my hosting to a VPS running CentOS. > I'm trying to configure the VPS to launch Icecast as a service so that > Icecast starts if the virtual server reboots, or Icecast stops running. > I've found several scripts out there to place in my init.d folder, but > nothing seems to work for me as of yet. > > Here is my Icecast2 setup: > > Location=/usr/local/bin > CONF_FILE=/usr/local/etc/icecast.xml > > Icecast does run fine by itself if I launch it from the command file as > ./icecast -b -c /usr/local/etc/icecast.xml > > Thanks for the help > Phil > > > -- > -- > Phil / w2lie > Monitor Long Island, Inc. > d/b/a W2LIE.net > www.w2lie.net > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > From jam at zoidtechnologies.com Wed Oct 6 10:33:41 2010 From: jam at zoidtechnologies.com (Jeff MacDonald) Date: Wed, 6 Oct 2010 06:33:41 -0400 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> Message-ID: <201010060633.41219.jam@zoidtechnologies.com> On Wednesday 06 October 2010 00:44:18 Jonathan Nalley wrote: > Could you use a site like pastebin.com to show us what your init > script looks like that you've tried? > > Although the typical init script is certainly more preferable, you > could always just append that command you know to be working to > /etc/rc.local although you may want to direct stdout and stderr > somewhere. > While not necessarily a critical issue, I'd want icecast running as a non-priv user instead of 'root'. Regards, J -- Jeff MacDonald Zoid Technologies: Custom Information Systems http://zoidtechnologies.com/ From dm8tbr at afthd.tu-darmstadt.de Wed Oct 6 11:19:40 2010 From: dm8tbr at afthd.tu-darmstadt.de (Thomas B. Ruecker) Date: Wed, 6 Oct 2010 13:19:40 +0200 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: <201010060633.41219.jam@zoidtechnologies.com> References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> <201010060633.41219.jam@zoidtechnologies.com> Message-ID: <20101006111940.GA6723@dk0td.afthd.tu-darmstadt.de> On Wed, Oct 06, 2010 at 06:33:41AM -0400, Jeff MacDonald wrote: > On Wednesday 06 October 2010 00:44:18 Jonathan Nalley wrote: > > Could you use a site like pastebin.com to show us what your init > > script looks like that you've tried? > > > > Although the typical init script is certainly more preferable, you > > could always just append that command you know to be working to > > /etc/rc.local although you may want to direct stdout and stderr > > somewhere. > > > > While not necessarily a critical issue, I'd want icecast running as a non-priv > user instead of 'root'. Icecast will refuse to run as root. You can either start it as a different user (su / sudo) or drop to a different UID within icecast as specified by the config file. Thomas From petr.pisar at atlas.cz Wed Oct 6 11:46:29 2010 From: petr.pisar at atlas.cz (Petr Pisar) Date: Wed, 6 Oct 2010 13:46:29 +0200 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: <201010060633.41219.jam@zoidtechnologies.com> References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> <201010060633.41219.jam@zoidtechnologies.com> Message-ID: <20101006114628.GG2659@dhcp-0-146.brq.redhat.com> On Wed, Oct 06, 2010 at 06:33:41AM -0400, Jeff MacDonald wrote: > On Wednesday 06 October 2010 00:44:18 Jonathan Nalley wrote: > > Could you use a site like pastebin.com to show us what your init > > script looks like that you've tried? > > > > Although the typical init script is certainly more preferable, you > > could always just append that command you know to be working to > > /etc/rc.local although you may want to direct stdout and stderr > > somewhere. > > > > While not necessarily a critical issue, I'd want icecast running as > a non-priv user instead of 'root'. > Have you considered using package from EPEL repository (a Fedora packages compiled against RHEL)? See: https://admin.fedoraproject.org/pkgdb/acls/name/icecast https://koji.fedoraproject.org/koji/packageinfo?packageID=2097 -- Petr -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available URL: From johnlist at gulfbridge.net Thu Oct 7 17:36:06 2010 From: johnlist at gulfbridge.net (John List) Date: Thu, 07 Oct 2010 13:36:06 -0400 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> Message-ID: <4CAE0506.1080404@gulfbridge.net> On 10/05/2010 11:52 PM, W2LIE wrote: > Hi All, > I've recently upgraded my hosting to a VPS running CentOS. > I'm trying to configure the VPS to launch Icecast as a service so that > Icecast starts if the virtual server reboots, or Icecast stops running. > I've found several scripts out there to place in my init.d folder, but > nothing seems to work for me as of yet. > > Here is my Icecast2 setup: > > Location=/usr/local/bin > CONF_FILE=/usr/local/etc/icecast.xml > > Icecast does run fine by itself if I launch it from the command file as > ./icecast -b -c /usr/local/etc/icecast.xml What happens when you run the init script from the command line as root? What happens when you launch the init script with the service command?: service icecast status service icecast start service icecast restart If that works, then you simply need to enable it under system V. (I'm currently running Icecast just fine under RHES5.) john -------------- next part -------------- An HTML attachment was scrubbed... URL: From w2lie at w2lie.net Fri Oct 8 04:40:14 2010 From: w2lie at w2lie.net (W2LIE) Date: Thu, 07 Oct 2010 23:40:14 -0500 Subject: [Icecast] Starting Icecast as a service on CentOS In-Reply-To: <4CAE0506.1080404@gulfbridge.net> References: <6dc1b69e000e4eff50a7d3405c809150@w2lie.net> <4CAE0506.1080404@gulfbridge.net> Message-ID: <964f6c4367a399e80ca169db4c5b1494@w2lie.net> On Thu, 07 Oct 2010 13:36:06 -0400, John List wrote: > > What happens when you run the init script from the command line as root? > > What happens when you launch the init script with the service command?: > > service icecast status > service icecast start > service icecast restart > > > If that works, then you simply need to enable it under system V. > > (I'm currently running Icecast just fine under RHES5.) > > john John and all who replied - Thanks for the help. I've been a bit tied up the last few nights, so I wanted to thank you for helping me. Running service icecast start does not work for me. Here is the error: [/etc/rc.d]# cd init.d [/etc/rc.d/init.d]# service icecast2 status Usage: /etc/init.d/icecast2 {start|stop|restart|reload|force-reload} [/etc/rc.d/init.d]# service icecast2 start Starting icecast2: /etc/init.d/icecast2: line 40: start-stop-daemon: command not found [/etc/rc.d/init.d]# Running icecast2 from the command line as ./icecast works fine. I just can't run it as a service.. This is the code I found. I think it came with the Icecast package when I unzipped the file. This is located in my /etc/rc.d/init.d folder. #! /bin/sh # # icecast2 # # Written by Miquel van Smoorenburg . # Modified for Debian # by Ian Murdock . # # Further modified by Keegan Quinn # for use with Icecast 2 # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/local/bin/icecast NAME=icecast2 DESC=icecast2 test -x $DAEMON || exit 0 # Defaults CONFIGFILE="/usr/local/etc/icecast.xml" CONFIGDEFAULTFILE="/etc/default/icecast2" USERID=nobody GROUPID=nobody ENABLE="true" # Reads config file (will override defaults above) [ -r "$CONFIGDEFAULTFILE" ] && . $CONFIGDEFAULTFILE if [ "$ENABLE" != "true" ]; then echo "$NAME daemon disabled - read $CONFIGDEFAULTFILE." exit 0 fi set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --chuid $USERID:$GROUPID \ --exec $DAEMON -- -b -c $CONFIGFILE echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --exec $DAEMON echo "$NAME." ;; reload|force-reload) echo "Reloading $DESC configuration files." start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON ;; restart) echo -n "Restarting $DESC: " start-stop-daemon --stop --oknodo --quiet --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --chuid $USERID:$GROUPID \ --exec $DAEMON -- -b -c $CONFIGFILE echo "$NAME." ;; *) echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac exit 0 I also have setup in /etc/default/icecast2 # Defaults for icecast2 initscript # sourced by /etc/init.d/icecast2 # installed at /etc/default/icecast2 by the maintainer scripts # # This is a POSIX shell fragment # # Full path to the server configuration file CONFIGFILE="/usr/local/etc/icecast.xml" # Name or ID of the user and group the daemon should run under USERID=nobody GROUPID=nobody # Edit /etc/icecast2/icecast.xml and change at least the passwords. # Change this to true when done to enable the init.d script ENABLE=true I have in my icecast.xml file: 0 nobody nobody Thanks for the help! 73 Phil From rw6hrm at yandex.ru Sat Oct 9 20:04:56 2010 From: rw6hrm at yandex.ru (rw6hrm) Date: Sun, 10 Oct 2010 00:04:56 +0400 Subject: [Icecast] question about options Message-ID: <525341286654696@web90.yandex.ru> Dear friends, I use IceCast2_Win32_2.3.2 version (under Win98 lol) and I have one simple question :) So, my server stay as relay. I have two streams ? main, from 172.17.16.34 (for example) and reserve from 219.19.29.98 (for example too). Mount points have same names on both streams. Main task is: if main stream is down, relay should be switched to reserve stream, and, then main stream is up, relay should be switched to main stream. My question: can I use ?fallback? option as in section? I think config file will be next: 172.17.16.34 /219.19.29.98 1 8000 /main /main 1 Thank You for possible answers and sorry for my broken English? Andy From geoff at QuiteLikely.com Sat Oct 9 20:53:26 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sat, 9 Oct 2010 22:53:26 +0200 (IST) Subject: [Icecast] question about options In-Reply-To: <525341286654696@web90.yandex.ru> References: <525341286654696@web90.yandex.ru> Message-ID: On Sun, 10 Oct 2010, rw6hrm wrote: > I use IceCast2_Win32_2.3.2 version (under Win98 lol) and I have one > simple question :) So, my server stay as relay. I have two streams ? > main, from 172.17.16.34 (for example) and reserve from 219.19.29.98 (for > example too). Mount points have same names on both streams. Main task > is: if main stream is down, relay should be switched to reserve stream, > and, then main stream is up, relay should be switched to main stream. My > question: can I use ?fallback? option as in > section? I think config file will be next: No, you can't do this. Fallbacks are mount options. But you could do this another way: 172.17.16.34 8000 /main /main 1 219.19.29.98 8000 /main /reserve 1 /main /reserve 1 HTH, Geoff. From rhythanew at gmail.com Wed Oct 13 11:05:58 2010 From: rhythanew at gmail.com (Rhytha Web) Date: Wed, 13 Oct 2010 16:35:58 +0530 Subject: [Icecast] Need a help on Online Video Streaming using IceCast Message-ID: Hello, We are working on the Radio station project and we are trying to implement the Live Video Streaming module using Icecast server with VLC player. We have installed and configured the Icecast into our server. Also, we have installed the VLC player in our local desktop computer. The USB webcam(200 CMOS UCAM - DLC220T) has been connected into my machine. Now we are trying to live video streaming into our website. We tried in VLC player to configure through Icecast for streaming but nothing works. But the VLC player deducts webcam and showing the video picture in the VLC player. *Whether the IceCast will only support the audio streaming or IceCast will also support live online video streaming for my website?* pls help us on this, becoz we are trying this for long time and could not find the solution for it. *It would be great if you can send us any correct online documentation for configuring the IceCast with VLC player for live video streaming* Thanks in advance!!! Regards Arun -------------- next part -------------- An HTML attachment was scrubbed... URL: From acandido at hi-iberia.es Wed Oct 13 11:22:41 2010 From: acandido at hi-iberia.es (Andres Gonzalez) Date: Wed, 13 Oct 2010 13:22:41 +0200 Subject: [Icecast] Need a help on Online Video Streaming using IceCast In-Reply-To: References: Message-ID: <4CB59681.7040807@hi-iberia.es> On 13/10/10 13:05, Rhytha Web wrote: > Hello, > > We are working on the Radio station project and we are trying to > implement the Live Video Streaming module using Icecast server with > VLC player. > > We have installed and configured the Icecast into our server. Also, we > have installed the VLC player in our local desktop computer. > > The USB webcam(200 CMOS UCAM - DLC220T) has been connected into my > machine. Now we are trying to live video streaming into our website. > > We tried in VLC player to configure through Icecast for streaming but > nothing works. But the VLC player deducts webcam and showing the video > picture in the VLC player. > > *Whether the IceCast will only support the audio streaming or IceCast > will also support live online video streaming for my website?* Hi, I have successfuly used icecast to live stream video and audio in ogg format in a local host. Could you please elaborate on how you are sending the video to the server? > pls help us on this, becoz we are trying this for long time and could > not find the solution for it. > > *It would be great if you can send us any correct online documentation > for configuring the IceCast with VLC player for live video streaming* > > Thanks in advance!!! > > Regards > Arun Regards, Andr?s > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast -------------- next part -------------- An HTML attachment was scrubbed... URL: From acandido at hi-iberia.es Thu Oct 14 10:33:21 2010 From: acandido at hi-iberia.es (Andres Gonzalez) Date: Thu, 14 Oct 2010 12:33:21 +0200 Subject: [Icecast] Need a help on Online Video Streaming using IceCast In-Reply-To: References: Message-ID: <4CB6DC71.9010409@hi-iberia.es> On 13/10/10 13:05, Rhytha Web wrote: > > We tried in VLC player to configure through Icecast for streaming but > nothing works. But the VLC player deducts webcam and showing the video > picture in the VLC player. > > *Whether the IceCast will only support the audio streaming or IceCast > will also support live online video streaming for my website?* > > pls help us on this, becoz we are trying this for long time and could > not find the solution for it. > > *It would be great if you can send us any correct online documentation > for configuring the IceCast with VLC player for live video streaming* > > Thanks in advance!!! > > Regards > Arun > Hello again, I'm not sure to understand you, but it seems that your system is missing something. When you use IceCast, there must be, apart from the icecast server, a source (in the radio station), and the listeneres. As far as I know, VLC is a player, so it is what a listener uses to listen/watch the stream that the server is sending. But you need also something to send the data to the server (e.g. oggfwd, or many others). I'm not sure if you can use VLC for this. I suggest reading the following links: http://en.flossmanuals.net/TheoraCookbook/WhatIsStreaming http://en.flossmanuals.net/TheoraCookbook/IcecastIntro On the other hand, are you running Windows, Linux, ...? If you're running Linux, you can use for example GStreamer to send video to your icecast server, typing the following command in a console (all in one line). gst-launch-0.10 -v v4l2src device=/dev/video0 ! video/x-raw-yuv,width=320,height=240 ! queue ! videorate ! video/x-raw-yuv,framerate=25/2 ! videoscale ! video/x-raw-yuv,width=360,height=288 ! theoraenc ! oggmux ! shout2send ip=localhost port=8000 mount=stream.ogg password=hackme (of course, you should change ip, port, etc with your own values). Alternatively, FFmpeg could be used. The following command used to work for me (one line): ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 -s 320x240 -r 25 -aq 2 -ac 2 -ar 44100 -acodec libvorbis -f ogg - | oggfwd localhost 8000 hackme /stream.ogg But it stopped working with recent versions of FFmpeg (I don't know why). I hope this helps you. Feel free to ask further questions. Regards, Andr?s -------------- next part -------------- An HTML attachment was scrubbed... URL: From dm8tbr at afthd.tu-darmstadt.de Thu Oct 14 10:41:49 2010 From: dm8tbr at afthd.tu-darmstadt.de (Thomas B. Ruecker) Date: Thu, 14 Oct 2010 12:41:49 +0200 Subject: [Icecast] Need a help on Online Video Streaming using IceCast In-Reply-To: <4CB6DC71.9010409@hi-iberia.es> References: <4CB6DC71.9010409@hi-iberia.es> Message-ID: <20101014104149.GF6723@dk0td.afthd.tu-darmstadt.de> On Thu, Oct 14, 2010 at 12:33:21PM +0200, Andres Gonzalez wrote: > On 13/10/10 13:05, Rhytha Web wrote: > the data to the server (e.g. oggfwd, or many others). I'm not sure if > you can use VLC for this. Actually you can, here's an example: vlc #some-input-statement# --sout="#transcode{vcodec=theo,vb=1000,scale=0.5,acodec=vorb,ab=96,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=source:password at localhost:8000/stream.ogg}}" Notice that live video encoding needs a _lot_ of horse-power, a LOT! Cheers Thomas From mynameisbrt at gmail.com Mon Oct 18 11:46:32 2010 From: mynameisbrt at gmail.com (brt prt) Date: Mon, 18 Oct 2010 13:46:32 +0200 Subject: [Icecast] Icecast relay/fallback problem Message-ID: Hi list, I'm having some problems with my new Icecast setup and I was hoping you can help me with it. My Icecast setup looks like this: [encoder] [encoder] \ / [back-end node] | | | | [fn1][fn2][fn3][fn4] I have two active encoders, one is encoding to the active mount and one is encoding to the fallback mount on the back-end node. Configuration of the mounts is as follows: /activemount.mp3 /fallbackmount.mp3 /fallbackmount.mp3 The front-end nodes are all relaying the mount from the back-end node. Configuration of the mount on the front-end nodes is as follows: back-end node ip back-end node port /activemount XXX XXX The idea is when the primary encoder fails the signal of the stream is still available through the fallback mount. The front-end nodes should be moved to the fallback mount. I appears the front-end nodes are moved to the fallback mount, because the are showing meta data of the streams (sent by the encoders), but none of the streams are working. Here is some output from the error log on one of the front-end nodes: [2010-10-18 13:35:57] DBUG stats/modify_node_event update node server_id (Icecast 2.3.2) [2010-10-18 13:35:57] DBUG stats/modify_node_event update node host (icecast.mydomain.tld) [2010-10-18 13:35:57] DBUG stats/modify_node_event update node location (Earth) [2010-10-18 13:35:57] DBUG stats/modify_node_event update node admin (icemaster at localhost) [2010-10-18 13:35:58] DBUG slave/_slave_thread checking master stream list [2010-10-18 13:35:58] DBUG source/source_apply_mount Applying mount information for "/activemount.mp3" [2010-10-18 13:35:58] DBUG format-mp3/format_mp3_apply_settings sending metadata interval 16000 [2010-10-18 13:35:58] DBUG format-mp3/format_mp3_apply_settings charset ISO8859-1 [2010-10-18 13:35:58] DBUG source/source_update_settings public set to 0 [2010-10-18 13:35:58] DBUG source/source_update_settings max listeners to -1 [2010-10-18 13:35:58] DBUG source/source_update_settings queue size to 102400 [2010-10-18 13:35:58] DBUG source/source_update_settings burst size to 65536 [2010-10-18 13:35:58] DBUG source/source_update_settings source timeout to 10 [2010-10-18 13:35:58] DBUG source/source_update_settings fallback_when_full to 0 [2010-10-18 13:35:58] DBUG stats/modify_node_event update node listenurl ( http://icecast.mydomain.tld:80/activemount.mp3) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node listener_peak (0) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node public (0) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node server_name (My Station) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node server_description (Unspecified description) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node server_url ( http://www.mystationsurl.nl) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node genre (Talk) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node bitrate (192) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node server_type (audio/mpeg) [2010-10-18 13:35:58] DBUG stats/modify_node_event update node max_listeners (unlimited) [2010-10-18 13:36:00] DBUG client/client_read_bytes reading from connection has failed [2010-10-18 13:36:00] DBUG stats/modify_node_event update node clients (2) [2010-10-18 13:36:00] DBUG stats/modify_node_event update node connections (2099) [2010-10-18 13:36:00] DBUG stats/modify_node_event update node clients (1) As you can see the meta data of the stream is retrieved, but it keeps on telling the connection has failed and the streams are not working. Do you have any suggestions on how to solve this problem? Thanks in advance. Bart -------------- next part -------------- An HTML attachment was scrubbed... URL: From geoff at QuiteLikely.com Mon Oct 18 17:49:36 2010 From: geoff at QuiteLikely.com (Geoff Shang) Date: Mon, 18 Oct 2010 19:49:36 +0200 (IST) Subject: [Icecast] Icecast relay/fallback problem In-Reply-To: References: Message-ID: On Mon, 18 Oct 2010, brt prt wrote: > I'm having some problems with my new Icecast setup and I was hoping you can > help me with it. My Icecast setup looks like this: [snip] > > /activemount.mp3 > /fallbackmount.mp3 > If you want clients to return to the active mount when it returns, you'll want a fallback-overide item in there as well. > > /fallbackmount.mp3 > Note that this does absolutely nothing and can be removed. > The front-end nodes are all relaying the mount from the back-end node. > Configuration of the mount on the front-end nodes is as follows: > > > back-end node ip > back-end node port > /activemount Presumably this is /activemount.mp3 or you've changed the names of your mounts for this Email. > XXX > XXX What are these meant to do? There's no listener authentication stuff in your back-end server mount configuration. > > > The idea is when the primary encoder fails the signal of the stream is still > available through the fallback mount. The front-end nodes should be moved to > the fallback mount. I appears the front-end nodes are moved to the fallback > mount, because the are showing meta data of the streams (sent by the > encoders), but none of the streams are working. Here is some output from the > error log on one of the front-end nodes: A couple of questions: 1. Does your active and fallback streams use the same MP3 encoder parameters? This is essential if this is going to work. Note that MP3 is not designed for this and may fail at this anyway. 2. Have you tried using a player to listen to your backup server in the same way as your front-end server does? Does it fallback as it's meant to? You may find that due to the possible flakiness of doing this with MP3, you may not be able to get this to work reliably. What you may want to consider then is having both active and fallback mounts replicated on your front-end server, and make the fallback relay on demand so that it only pulls when needed. This means that the mount switching will happen on your front server instead of your back-end one, and if there's any glitching it'll happen in your listener's player instead of your server. The listener can restart the stream if this happens. Geoff. From lecandotnet at gmail.com Wed Oct 27 20:02:55 2010 From: lecandotnet at gmail.com (Can Le) Date: Wed, 27 Oct 2010 15:02:55 -0500 Subject: [Icecast] Need help on configure Icecast2win Message-ID: Hi Icecasters, Please show me a link or post on configure for Icecast2win for Windows XP. I have a link from: http://justkool.blogspot.com/2006/05/how-to-run-your-own-internet-radio.html However, the configure part was left out. I could not start OddcastV3 after opened Icecast2win.exe and winamp. When I clicked Connect on OddcastV3 and Add Encoder, I have had "Vorbis /44100" Encoder Settings is "connecting", but the field strengh is not moved left and right. Thank you for helps. Can Le -------------- next part -------------- An HTML attachment was scrubbed... URL: From tozaz at free.fr Thu Oct 28 15:03:17 2010 From: tozaz at free.fr (Tozaz) Date: Thu, 28 Oct 2010 17:03:17 +0200 Subject: [Icecast] source client to stream video Message-ID: <4CC990B5.6000005@free.fr> Hello, I am looking for a software to stream video to an icecast server. I already know Visonair. Is there other software ? Hope you can help. Best regards, Xavier From david.baelde at gmail.com Fri Oct 29 08:06:13 2010 From: david.baelde at gmail.com (David Baelde) Date: Fri, 29 Oct 2010 03:06:13 -0500 Subject: [Icecast] source client to stream video In-Reply-To: <4CC990B5.6000005@free.fr> References: <4CC990B5.6000005@free.fr> Message-ID: Hi, Liquidsoap has a video support that is reaching a mature form, although it's still probably not so stable. Most importantly, liquidsoap only manipulates raw data, for audio but also video. In other words video needs to be encoded on the fly (and decoded or synthesized) which limits the resolution. BTW, it might be a good idea to start a list of 3rd party apps that support video. Cheers, -- David From nevita0305 at hotmail.com Sun Oct 31 22:17:11 2010 From: nevita0305 at hotmail.com (Tererei Aruee) Date: Sun, 31 Oct 2010 22:17:11 +0000 Subject: [Icecast] directions required!! Message-ID: Dear all, I am a newbie to Icecast and Darkice following this blog: http://natescrap.blogspot.com/2009/03/icecasting-with-ubuntu-and-radio-shark.html as this is the same devices that I have here using RadioShark2 as my input device. Now I am able to listen to my local fm station fm 89.9 but would rather want it to rebroadcast to all my LAN clients using icecast2 and darkice. I have not have any success doing this... I have installed icecast2 and darkice but have figured out how to successfully rebroadcast it to LAN clients. Any help would be very much appreciated. regards Mr Tererei Aruee MLPID IT Manager Roton Kiritimati Kiribati -------------- next part -------------- An HTML attachment was scrubbed... URL: