]> git.parisson.com Git - telecaster-server.git/commitdiff
even less queues for little CPUs
authorGuillaume Pellerin <pellerin@parisson.com>
Sun, 1 Jun 2025 19:56:30 +0000 (21:56 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sun, 8 Jun 2025 22:40:58 +0000 (00:40 +0200)
bin/streaming/telecaster.py

index 81192ae69c0f785f27b70628a75a463038f062bb..32563bc4241968a4968eb529bf30fd13367f3b00 100755 (executable)
@@ -12,11 +12,11 @@ from copy import deepcopy
 
 VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="webm_streaming_{id}_video" \
     ! {format}, width={width}, height={height}, framerate={framerate}/1 \
-    ! queue ! {decoder} \
-    ! queue ! videoflip method={flip} \
-    ! queue ! videoconvert \
-    ! queue ! vp8enc threads=4 deadline=2 target-bitrate={vp8_bitrate} \
-    ! queue ! muxout. \
+    ! {decoder} \
+    ! videoflip method={flip} \
+    ! videoconvert \
+    ! vp8enc threads=4 deadline=2 target-bitrate={vp8_bitrate} \
+    ! muxout. \
     {audio_source} {audio_options} client-name="webm_streaming_{id}_audio" ! audio/x-raw, format=F32LE, channels={channels} \
     ! audiocheblimit mode=high-pass cutoff=120 poles=4 \
     ! volume volume={gain_pre} \
@@ -25,7 +25,7 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="webm_streamin
     ! audiodynamic characteristics=hard-knee mode=compressor threshold=0.95 ratio=0.001 \
     ! audioconvert \
     ! opusenc bitrate={opus_bitrate} \
-    ! queue ! muxout. \
+    ! muxout. \
     webmmux streamable=true name=muxout \
     ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live_{id}.webm
 """