From 66b7b3e7f3851b58ac282f0cf7c1b08898b07936 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 31 Mar 2025 14:36:17 +0200 Subject: [PATCH] increase video bitrate, add pw client-names --- bin/streaming/telecaster.py | 4 ++-- etc/telecaster/telecaster-pipewire.yml | 2 +- etc/telecaster/telecaster.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index d5f57ff..cca5b9d 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -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 \ diff --git a/etc/telecaster/telecaster-pipewire.yml b/etc/telecaster/telecaster-pipewire.yml index a7f2dca..0532554 100644 --- a/etc/telecaster/telecaster-pipewire.yml +++ b/etc/telecaster/telecaster-pipewire.yml @@ -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 diff --git a/etc/telecaster/telecaster.yml b/etc/telecaster/telecaster.yml index a7f2dca..0532554 100644 --- a/etc/telecaster/telecaster.yml +++ b/etc/telecaster/telecaster.yml @@ -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 -- 2.39.5