Jack Elliott 541 848 7021
2015-Jun-24 13:01 UTC
[Icecast] Change fallback mount file automatically?
Icecast allows using a fallback mount file which the listener will hear if the main mount stops. It is specified in icecast.xml as this example: <fallback-mount>/example2.ogg</fallback-mount> It is necessary that the file have the same bitrate and same format (single or two-channels) as the main mount. We were at a music festival last weekend and used butt (Broadcast Using This Tool) to send a live music stream to Icecast at the radio station, which was then played by iTunes in the Broadcast Studio, and then to the broadcast FM signal. It all worked perfectly. We were streaming from the festival using mp3 format at 192kbps/stereo and I prepared a fallback-mount file ahead of time in the same format. It was never played because the operation went perfectly, the remote stream was stable for the entire 12 hours of the broadcast. But I was not confident that the remote Internet connection could guarantee 192kbps bandwidth so I also prepared a second fallback-mount, this one at 96kbps in case we needed to go to a lower bitrate. If that was necessary, I was prepared to connect to the computer running Icecast remotely (using Teamviewer) and replace the 192kbps fallback-mount file with the 96kbps fallback-mount. Fortunately, this was not required. It would be very useful if this could be automated. Such as: if the incoming stream is 192kbps and it stops, then fallback to the 192kbps file; if the incoming stream is 96kbps, then fallback to the 96kbps file. Or some method in Icecast to run a script or batch file to swap or rename the fallback files as the incoming stream changes bitrate. -- that Jack Elliott 541 848 7021 Producer Wednesday Point, Host, The Sunday Classics KPOV 88.9, High Desert Radio Audio geek
Martin Jangowski
2015-Jun-24 13:33 UTC
[Icecast] Change fallback mount file automatically?
Am 24.06.2015 um 15:01 schrieb Jack Elliott 541 848 7021:> Icecast allows using a fallback mount file which the listener will hear > if the main mount stops. It is specified in icecast.xml as this example: > > <fallback-mount>/example2.ogg</fallback-mount> > > It is necessary that the file have the same bitrate and same format > (single or two-channels) as the main mount. >I regularly broadcast with 48kBit streaming rate (mp3, mono, 44kHz). My fallback-file is a 244kBit, stereo, 44kHz, mp3 file. Works like a charme.... Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: martin.vcf Type: text/x-vcard Size: 319 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20150624/40cd2c70/attachment.vcf
that Jack Elliott
2015-Jun-24 13:55 UTC
[Icecast] Change fallback mount file automatically?
Oh -- then I did not understand the documentation. fallback-mount This optional value specifies a mountpoint that clients are automatically moved to if the source shuts down or is not streaming at the time a listener connects. Only one can be listed in each mount and should refer to another mountpoint on the same server that is streaming in the _same streaming format_. I was thinking that "same streaming format" referred to bitrate/channels, etc. Perhaps it means mp3 or ogg. Anyway, this is good news. Thank you. -- Jack Elliott Producer, The Point Wednesday Host, The Sunday Classics KPOV 88.9 High Desert Radio kpov.org On 6/24/2015 6:33 AM, Martin Jangowski wrote:> Am 24.06.2015 um 15:01 schrieb Jack Elliott 541 848 7021: >> Icecast allows using a fallback mount file which the listener will hear >> if the main mount stops. It is specified in icecast.xml as this example: >> >> <fallback-mount>/example2.ogg</fallback-mount> >> >> It is necessary that the file have the same bitrate and same format >> (single or two-channels) as the main mount. >> > > I regularly broadcast with 48kBit streaming rate (mp3, mono, 44kHz). > My fallback-file is a 244kBit, stereo, 44kHz, mp3 file. Works like a > charme.... > > Martin > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20150624/df569da7/attachment.htm
On 24 Jun 2015, at 15:33, Martin Jangowski wrote:> I regularly broadcast with 48kBit streaming rate (mp3, mono, 44kHz). > My fallback-file is a 244kBit, stereo, 44kHz, mp3 file. Works like a > charme....That depends on the player, if it works you are lucky. It might not work for other formats or with some players.