]> git.parisson.com Git - telecaster-server.git/commitdiff
remove blocking gst queues
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sat, 31 May 2025 09:49:30 +0000 (11:49 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sat, 31 May 2025 09:49:30 +0000 (11:49 +0200)
bin/streaming/telecaster.py

index a7324c41e3adb0f27f10134266447c779d9b0614..0c7208c66a8ddd66300c6703dd51cbc8b5aa30b0 100755 (executable)
@@ -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