From 77060ddedf201adcdac61e9b58ac8382242340ce Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sat, 31 May 2025 11:49:30 +0200 Subject: [PATCH] remove blocking gst queues --- bin/streaming/telecaster.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index a7324c4..0c7208c 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -18,11 +18,11 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="webm_streamin ! queue ! vp8enc threads=4 deadline=2 target-bitrate={vp8_bitrate} \ ! queue ! muxout. \ {audio_source} {audio_options} client-name="webm_streaming_{id}_audio" ! audio/x-raw, format=F32LE, channels={channels} \ - ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ - ! queue ! volume volume={gain_pre} \ - ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ - ! queue ! volume volume={gain_post} \ - ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ + ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ + ! volume volume={gain_pre} \ + ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ + ! volume volume={gain_post} \ + ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ ! queue ! audioconvert \ ! queue ! opusenc bitrate={opus_bitrate} \ ! queue ! muxout. \ @@ -31,11 +31,11 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="webm_streamin """ AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="mp3_audio_streaming" ! audio/x-raw, format=F32LE, channels={channels} \ - ! queue ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ - ! queue ! volume volume={gain_pre} \ - ! queue ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ - ! queue ! volume volume={gain_post} \ - ! queue ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ + ! audiocheblimit mode=high-pass cutoff=120 poles=4 \ + ! volume volume={gain_pre} \ + ! audiodynamic characteristics=soft-knee mode=compressor threshold=0.125 ratio=0.125 \ + ! volume volume={gain_post} \ + ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \ ! queue ! audioconvert \ ! queue ! lamemp3enc quality={mp3_quality} \ ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live.mp3 -- 2.39.5