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.liquidsoap-2.2
parent
fb6a325780
commit
ee5fb8fd2f
|
@ -139,8 +139,6 @@ setup_harbor_stream_api(internal_icecast(
|
||||||
if null.defined(rektfm_username) and null.defined(rektfm_password) then
|
if null.defined(rektfm_username) and null.defined(rektfm_password) then
|
||||||
setup_harbor_stream_api(output.icecast(
|
setup_harbor_stream_api(output.icecast(
|
||||||
id="out_a_rekt",
|
id="out_a_rekt",
|
||||||
# %ogg(%flac),
|
|
||||||
# %mp3(bitrate=320),
|
|
||||||
fallible=true,
|
fallible=true,
|
||||||
mount="rekt",
|
mount="rekt",
|
||||||
port=60000,
|
port=60000,
|
||||||
|
@ -151,16 +149,8 @@ if null.defined(rektfm_username) and null.defined(rektfm_password) then
|
||||||
description=null.get(stream_description),
|
description=null.get(stream_description),
|
||||||
password=null.get(rektfm_password),
|
password=null.get(rektfm_password),
|
||||||
start=false,
|
start=false,
|
||||||
%ffmpeg(
|
format="audio/flac",
|
||||||
format="ogg",
|
%flac,
|
||||||
%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
|
|
||||||
),
|
|
||||||
),
|
|
||||||
a,
|
a,
|
||||||
# %ffmpeg(format="ogg", %audio.copy),
|
|
||||||
# a_vorbis,
|
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue