From 5c1fb012410a297a939c16fae37f392aa36bf263 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 4 Feb 2025 12:34:47 +0100 Subject: [PATCH] re-add video params --- bin/streaming/telecaster.py | 4 +++- etc/telecaster/telecaster.yml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index 5560877..9338980 100755 --- a/bin/streaming/telecaster.py +++ b/bin/streaming/telecaster.py @@ -10,7 +10,9 @@ from copy import deepcopy # ! queue ! clockoverlay time-format="%D %H:%M:%S" \ -VIDEO_PIPELINE_BASE="""pipewiresrc client-name="video_streaming" \ +VIDEO_PIPELINE_BASE="""pipewiresrc client-name="video_streaming" path={path} \ + ! {format}, width=[{width}], height={height}, framerate={framerate}/1 \ + ! queue ! {decoder} \ ! queue ! videoflip method={flip} \ ! queue ! videoconvert \ ! queue ! vp8enc threads=4 deadline=2 \ diff --git a/etc/telecaster/telecaster.yml b/etc/telecaster/telecaster.yml index 0409d12..6fe8945 100644 --- a/etc/telecaster/telecaster.yml +++ b/etc/telecaster/telecaster.yml @@ -8,8 +8,8 @@ telecaster: video: gstreamer: - id: 0 - width: 848 - height: 480 + width: 1280 + height: 720 framerate: 30 flip: rotate-180 zoom: 140 @@ -18,8 +18,8 @@ telecaster: decoder: jpegdec # logitech: true - id: 4 - width: 864 - height: 480 + width: 1280 + height: 720 framerate: 30 flip: rotate-180 zoom: 140 -- 2.39.5