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