Hi,

Pure (or almost pure) silence can create problems with compression: it
is compressed so much that there is no data chunk to send for a while,
which makes streams appear dead. This is addressed in the FAQ
(although not specifically for harbor) with a suggestion on how to
stream (faint) noise instead.

Hope this helps,

David

On Wed, May 28, 2014 at 4:20 PM, Dimitris Papadimitriou
<[email protected]> wrote:
> Hi,
>
> I've used liquidsoap with Airtime for my radio, which I ditched a long time
> ago, and as I would like to do some custom stuff, I decided to use
> liquidsoap with input.harbor etc. I have a serious problem though. If I
> stream silence to input.harbor, even for 1 second, liquidsoap jumps back to
> the fallback, even though I didn't disconnect. That wouldn't be a problem,
> but this also happens if a song is very silent, and in this case it keeps
> jumping from live to fallback and vice-versa, until the song has louder
> output.
>
> Here is my liq file(it ain't that big):
>
> #!/usr/bin/liquidsoap
>
> set("log.file.path","/tmp/<script>.log")
> set("log.stdout", true)
> set("server.telnet", true)
> set("harbor.bind_addr","0.0.0.0")
>
> # Metal Stream Setup
> #1. Normalize default playlist (generic)
> metalplaylist =
> normalize(playlist(id="metal-generic","/home/rock247/music/metal/generic"))
> #3. Crossfade
> metalplaylist =
> crossfade(start_next=6.,fade_out=3.,fade_in=3.,metalplaylist)
> #4. Add Requests
> metalfp = fallback(track_sensitive=true,
> [request.equeue(id="metal-requests"),metalplaylist])
> #5. Metal Live Source
> metallive = input.harbor(id="metal-live","metal",port=8080,password="...")
> #6. Create the final playlist
> metalradio = fallback(track_sensitive=false,[metallive,metalfp])
> #7. Normalize overall volume and make it infallible
> metalradio = nrj(metalradio)
> metalradio = mksafe(metalradio)
>
> output.shoutcast(id="metal-output",%mp3, host="localhost", port = 8000,
> name="Rock247 Test Stream", url="http://www.rock247.net";, genre="Metal",
> password = "...", metalradio)
>
>
> I have no skip/strip_blank commands or anything else, and I can't understand
> why it does this. Any help will be more than appreciated.
>
> Dimitris
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
David

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to