From ee5fb8fd2fd8d210f277bcf188e90f027ce323ff Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 19 May 2023 16:02:58 +0200 Subject: [PATCH] Switch to bare flac streaming. OGG causes issues due to its logical streams getting misinterpreted: liquidsoap will skip the first bit of a new logical stream after metadata change leading to stutters and skips in the final audio output. --- icedreammusic/liquidsoap/stream.liq | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/icedreammusic/liquidsoap/stream.liq b/icedreammusic/liquidsoap/stream.liq index 5b69f8b..34b8c20 100644 --- a/icedreammusic/liquidsoap/stream.liq +++ b/icedreammusic/liquidsoap/stream.liq @@ -139,8 +139,6 @@ setup_harbor_stream_api(internal_icecast( if null.defined(rektfm_username) and null.defined(rektfm_password) then setup_harbor_stream_api(output.icecast( id="out_a_rekt", - # %ogg(%flac), - # %mp3(bitrate=320), fallible=true, mount="rekt", port=60000, @@ -151,16 +149,8 @@ if null.defined(rektfm_username) and null.defined(rektfm_password) then description=null.get(stream_description), password=null.get(rektfm_password), start=false, - %ffmpeg( - format="ogg", - %audio( - codec="libvorbis", - flags=2, # CODEC_FLAG_QSCALE (enables VBR mode based on qscale aka global_quality) - global_quality=1180., # gets divided by FF_QP2LAMBDA=118 - ), - ), + format="audio/flac", + %flac, a, - # %ffmpeg(format="ogg", %audio.copy), - # a_vorbis, )) end