]> git.parisson.com Git - telecaster-server.git/commitdiff
re-add video params
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 4 Feb 2025 11:34:47 +0000 (12:34 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Sun, 2 Mar 2025 17:57:09 +0000 (18:57 +0100)
bin/streaming/telecaster.py
etc/telecaster/telecaster.yml

index b637b6c751d0a71bb78b5174fff4211dc6fbfc64..becaba3e18cc54da7f8f0158f86d3f54fdbbcdb4 100755 (executable)
@@ -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 \
index 62eefc158af19591576b33065dd3b7a8d202a20e..e354211c1504731d94544fc0df27da1a9877b499 100644 (file)
@@ -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