Re: [Savonet-users] Liquidsoap 2.0.0-beta1 - windows issues

2021-07-26 Thread p····· g·······
i think i found what really causes extreme memory leaks - that's the 
harbours in the first place.
also, i thought it was "fixed" in v2, but that was just a coincidence that 
i've put LS behind firewall and allowed only known IPs to connect.
once i opened it to the wild again, the radio processes started bloating 
RAM. so, it is the result of bots and lamers attempting to connect. although 
not knowing the password they fail to do so, the process gets a memory leak. 
that's it!


p

p.s. also, this crossfade causes various glitches with radio - most often it 
fails to play sound since the very start, sometimes a few millisecond loop 
can be suddenly heard forever, and overall this doesn't work, although there 
are no errors thrown in the log:


#def crossfade (~start_next=5.,~fade_in=0.5,~fade_out=3.,
# ~default=(fun (a,b) -> sequence([a, b])),
# ~high=-15., ~medium=-32., ~margin=4.,
# ~width=2.,~conservative=true,s)
#  fade.out = fade.out(type="sin",duration=fade_out)
#  fade.in  = fade.in(type="sin",duration=fade_in)
#  add = fun (a,b) -> add(normalize=false,[b, a])
#  log = log(label="crossfade") 




___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] Documentation overhault (#571)

2021-07-26 Thread Samuel Mimram via Savonet-users
Closed #571.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/571#event-5068200620___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] [savonet/liquidsoap] Documentation overhault (#571)

2021-07-26 Thread Samuel Mimram via Savonet-users
We now have [the book](https://www.liquidsoap.info/doc-dev/book.html) and 
documentation was much improved.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/571#issuecomment-886674856___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


Re: [Savonet-users] Joining together multiple mp3's with vary bitrates without transcoding ?

2021-07-26 Thread Romain Beauxis
Hi!

This should be possible with liquidsoap 2.0, here's an example with an
existing mp3 stream:

```
s1 = input.http("https://supersoul.live:8020/SRRS320kbps";)

s2 = input.http("https://supersoul.live:8020/SRRS128kbps";)

b = blank()

b = ffmpeg.encode.audio(
  %ffmpeg(%audio(codec="libmp3lame", b="128k")),
  b
)

s = switch(id="switch", track_sensitive=false, [
  ({file.exists("/tmp/s1")},s1),
  ({file.exists("/tmp/s2")},s2),
  ({true},b)
])

e = %ffmpeg(format="mp3", %audio.copy)

output.harbor(id="harbor", mount="test", e, s)
```

With this example, if you add/remove files /tmp/s1 and /tmp/s2, it will
switch from one source to the next without re-encoding. Listeners keep
listening but they might experience a slight glitch on the source switch.
This works better if you do the switch during a silence.

How do you plan on replaying the live shows? Using recorded files?

Romain


Le dim. 25 juil. 2021 à 13:05, Michael Z Freeman <
mich...@michaelzfreeman.org> a écrit :

> Hi,
>
> I'm using Liquidsoap. I have some DJ mixes (originally from C90 tape) that
> vary in bitrate between each file. I could have a separate mount point (to
> icecast) for each mix but want to create a radio station like format with
> each mix playing one after another (with a jingle between each one or over
> quiet parts). So is there a way of doing that; playing one mix after
> another, with bitrate varying sometimes, without transcoding ? Looking at
> it I don't think there is but thought I'd ask anyway.
>
> Cheers
>
> Michael
> ___
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users