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

index 5560877137facfa4b2539913fde8a74cb8b0690e..9338980e6428a3e8b81cc4612a1585d04dfdbfc7 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 \
index 0409d1279566c8186b8ce589df4f8b40a2d38932..6fe8945a473b90527495a3b198dac9004845842e 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
@@ -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