Dear List

recently, I've been testing with some harbor.input features of liquidsoap.

here's what i want to do:

use a http-input as a primary source (icecast mount with a 128kbps stereo
feed) and switch to a live-source with input.harbor (aac+ stereo feed with
48kbps / occasionally mono hence the audio_to_stereo operator in the
script).

I have figured that I run into buffer_overrun errors once the transition to
harbor.input has been made. also, transition back from live to the http
input causes crippled sound. this does not happen when i use a playlist
based source. my first thought was that there was a clock/timing issue. so
i have tried to optimize things with the 'max' parameter, but it didn't
help.

question: how can this setup (http input as primary source) and
input.harbor be accomplished in a way that a smooth transition with no
errors in the log can be made? would it help to play a jingle before and
after the transition? and if, how could this be made?

thanks for any help,
alex

here's the script:

---
#Metainfo to this channel
channelid = "harbor.input test dmd2"
channelname = "harbortest"
channelurl1 = "hotelradio.com"

#Logging
%include "Y:\scripts\liq\inc\logging.liq"

set("harbor.bind_addr","0.0.0.0")

live = input.harbor("liveinput",port=8080,max=0.,password="foo")
stereolive = audio_to_stereo(live)

# Channel sourcing
#s = playlist (reload=80000,
"Y:\50_hotelradio\m3u\softpop_autogenerated\2000gold.m3u")

s = input.http("http://ch-be02-ice:8080/barix_hi";)

output = fallback(track_sensitive=false,
                 [stereolive,s])

# Output
output.icecast(%mp3(msg="",mono=false,bitrate=128),fallible=true,description=channelid,url=channelurl1,mount=channelname,host="ch-be10-ice",port=8080,password="foo",output)

---
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to