From: Guillaume Pellerin Date: Tue, 4 Feb 2025 11:34:47 +0000 (+0100) Subject: re-add video params X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6b892e3e6ad75d343ee6320bb485b4fe58a768ef;p=telecaster-server.git re-add video params --- diff --git a/bin/streaming/telecaster.py b/bin/streaming/telecaster.py index b637b6c..becaba3 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 target-bitrate=1048576 \ diff --git a/etc/telecaster/telecaster.yml b/etc/telecaster/telecaster.yml index 62eefc1..e354211 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 @@ -19,8 +19,8 @@ telecaster: decoder: jpegdec # logitech: true - id: 4 - width: 864 - height: 480 + width: 1280 + height: 720 framerate: 30 flip: rotate-180 zoom: 140