pixelflux 1.3.2__tar.gz → 1.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pixelflux might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pixelflux
3
- Version: 1.3.2
3
+ Version: 1.4.0
4
4
  Summary: A performant web native pixel delivery pipeline for diverse sources, blending VNC-inspired parallel processing of pixel buffers with flexible modern encoding formats.
5
5
  Home-page: https://github.com/linuxserver/pixelflux
6
6
  Author: Linuxserver.io
@@ -87,6 +87,9 @@ settings.output_mode = 1
87
87
  # Force CPU encoding and ignore hardware encoders
88
88
  capture_settings.use_cpu = False
89
89
 
90
+ # --- Debugging ---
91
+ settings.debug_logging = False # Enable/disable the continuous FPS and settings log to the console.
92
+
90
93
  # --- JPEG Settings ---
91
94
  settings.jpeg_quality = 75 # Quality for changed stripes (0-100)
92
95
  settings.paint_over_jpeg_quality = 90 # Quality for static "paint-over" stripes (0-100)
@@ -159,6 +162,7 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
159
162
  * An `asyncio`-based WebSocket server to stream encoded H.264 frames.
160
163
  * An HTTP server to serve a client-side HTML page for viewing the stream.
161
164
  * The `pixelflux` module to perform the screen capture and encoding.
165
+ * Dynamic capture region selection via the URL hash.
162
166
 
163
167
  **To run this example:**
164
168
 
@@ -177,7 +181,10 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
177
181
  ```bash
178
182
  python3 screen_to_browser.py
179
183
  ```
180
- 4. Open your web browser and go to the URL indicated by the script's output (usually `http://localhost:9001`) to view the live stream.
184
+ 4. Open your web browser to view the live stream. You can control the capture area:
185
+ * **`http://localhost:9001`**: Captures from the screen's top-left corner (x=0).
186
+ * **`http://localhost:9001/#50`**: Captures a region starting at x=50.
187
+ * You can open multiple browser tabs with different hash values to see multiple, independent capture sessions running from the single server instance.
181
188
 
182
189
  ## License
183
190
 
@@ -73,6 +73,9 @@ settings.output_mode = 1
73
73
  # Force CPU encoding and ignore hardware encoders
74
74
  capture_settings.use_cpu = False
75
75
 
76
+ # --- Debugging ---
77
+ settings.debug_logging = False # Enable/disable the continuous FPS and settings log to the console.
78
+
76
79
  # --- JPEG Settings ---
77
80
  settings.jpeg_quality = 75 # Quality for changed stripes (0-100)
78
81
  settings.paint_over_jpeg_quality = 90 # Quality for static "paint-over" stripes (0-100)
@@ -145,6 +148,7 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
145
148
  * An `asyncio`-based WebSocket server to stream encoded H.264 frames.
146
149
  * An HTTP server to serve a client-side HTML page for viewing the stream.
147
150
  * The `pixelflux` module to perform the screen capture and encoding.
151
+ * Dynamic capture region selection via the URL hash.
148
152
 
149
153
  **To run this example:**
150
154
 
@@ -163,7 +167,10 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
163
167
  ```bash
164
168
  python3 screen_to_browser.py
165
169
  ```
166
- 4. Open your web browser and go to the URL indicated by the script's output (usually `http://localhost:9001`) to view the live stream.
170
+ 4. Open your web browser to view the live stream. You can control the capture area:
171
+ * **`http://localhost:9001`**: Captures from the screen's top-left corner (x=0).
172
+ * **`http://localhost:9001/#50`**: Captures a region starting at x=50.
173
+ * You can open multiple browser tabs with different hash values to see multiple, independent capture sessions running from the single server instance.
167
174
 
168
175
  ## License
169
176
 
@@ -26,6 +26,7 @@ class CaptureSettings(ctypes.Structure):
26
26
  ("watermark_location_enum", ctypes.c_int),
27
27
  ("vaapi_render_node_index", ctypes.c_int),
28
28
  ("use_cpu", ctypes.c_bool),
29
+ ("debug_logging", ctypes.c_bool),
29
30
  ]
30
31
 
31
32
  WATERMARK_LOCATION_NONE = 0