]> git.parisson.com Git - telecaster-server.git/commitdiff
increase video bitrate, add pw client-names
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 31 Mar 2025 12:36:17 +0000 (14:36 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 31 Mar 2025 12:36:17 +0000 (14:36 +0200)
bin/streaming/telecaster.py
etc/telecaster/telecaster-pipewire.yml
etc/telecaster/telecaster.yml

index d5f57ff475f48f6a7fd4fd97a40f88ac422a1372..cca5b9dc32da5d69e2dfd82813bf5322d0fc4e87 100755 (executable)
@@ -10,7 +10,7 @@ from threading import Thread
 from copy import deepcopy
 
 
-VIDEO_PIPELINE_BASE="""{video_source} {video_options}\
+VIDEO_PIPELINE_BASE="""{video_source} {video_options} client-name="video_streaming_{id}" \
     ! {format}, width={width}, height={height}, framerate={framerate}/1 \
     ! queue ! {decoder} \
     ! queue ! videoflip method={flip} \
@@ -30,7 +30,7 @@ VIDEO_PIPELINE_BASE="""{video_source} {video_options}\
     ! queue ! shout2send ip={ip} port={port} password={password} mount=telecaster_live_{id}.webm
 """
 
-AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} ! audio/x-raw, format=F32LE, channels={channels} \
+AUDIO_PIPELINE_BASE="""{audio_source} {audio_options} client-name="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 \
index a7f2dcadb20aad93b9fa13ea448c824fa7f5b62d..053255419f689e21e9b435c188953f7501481f22 100644 (file)
@@ -17,7 +17,7 @@ telecaster:
         flip: none
         format: image/jpeg
         decoder: jpegdec
-        vp8_bitrate: 2000000
+        vp8_bitrate: 4000000
         v4l2-ctl:
           power_line_frequency: 1
           zoom_absolute: 128
index a7f2dcadb20aad93b9fa13ea448c824fa7f5b62d..053255419f689e21e9b435c188953f7501481f22 100644 (file)
@@ -17,7 +17,7 @@ telecaster:
         flip: none
         format: image/jpeg
         decoder: jpegdec
-        vp8_bitrate: 2000000
+        vp8_bitrate: 4000000
         v4l2-ctl:
           power_line_frequency: 1
           zoom_absolute: 128