pixelflux 1.3.2__cp310-cp310-musllinux_1_2_aarch64.whl → 1.4.0__cp310-cp310-musllinux_1_2_aarch64.whl

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.

pixelflux/__init__.py CHANGED
@@ -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
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
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
@@ -97,6 +97,9 @@ settings.output_mode = 1
97
97
  # Force CPU encoding and ignore hardware encoders
98
98
  capture_settings.use_cpu = False
99
99
 
100
+ # --- Debugging ---
101
+ settings.debug_logging = False # Enable/disable the continuous FPS and settings log to the console.
102
+
100
103
  # --- JPEG Settings ---
101
104
  settings.jpeg_quality = 75 # Quality for changed stripes (0-100)
102
105
  settings.paint_over_jpeg_quality = 90 # Quality for static "paint-over" stripes (0-100)
@@ -169,6 +172,7 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
169
172
  * An `asyncio`-based WebSocket server to stream encoded H.264 frames.
170
173
  * An HTTP server to serve a client-side HTML page for viewing the stream.
171
174
  * The `pixelflux` module to perform the screen capture and encoding.
175
+ * Dynamic capture region selection via the URL hash.
172
176
 
173
177
  **To run this example:**
174
178
 
@@ -187,7 +191,10 @@ A comprehensive example, `screen_to_browser.py`, is located in the `example` dir
187
191
  ```bash
188
192
  python3 screen_to_browser.py
189
193
  ```
190
- 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.
194
+ 4. Open your web browser to view the live stream. You can control the capture area:
195
+ * **`http://localhost:9001`**: Captures from the screen's top-left corner (x=0).
196
+ * **`http://localhost:9001/#50`**: Captures a region starting at x=50.
197
+ * You can open multiple browser tabs with different hash values to see multiple, independent capture sessions running from the single server instance.
191
198
 
192
199
  ## License
193
200
 
@@ -1,5 +1,5 @@
1
- pixelflux/__init__.py,sha256=lBPvwfYY7_5VMbRRQoRF8cliV0z1K_pjgdWHis-hMCM,4379
2
- pixelflux/screen_capture_module.so,sha256=DV8JxGWcYfwgaBiHi-wuZX1d3S7GXiVF2Ogg7JnBhmk,558921
1
+ pixelflux/__init__.py,sha256=c7dicyTT9jSjuJLumpv9m5J0RQgk8Sl-wpx7T3re4Uc,4421
2
+ pixelflux/screen_capture_module.so,sha256=wiE-POoDK5fCs_XmJXEuiTcAWc8yaIY4WBt_Y7aNx2s,550513
3
3
  pixelflux.libs/libX11-adba92fc.so.6.4.0,sha256=97JdDjNn-ywu6V4vVHU4PZSn_vvAOKEVLamp0rH44Wc,1333665
4
4
  pixelflux.libs/libXau-541039f7.so.6.0.0,sha256=7hI3kzv8lO_VTwFqoajBQf1qWDrW8Hhyef3Fk2Upkcc,131753
5
5
  pixelflux.libs/libXdmcp-f7925934.so.6.0.0,sha256=fIxh6VTKjYladj5TNeMeRfytQqqE5i-WbeSRG3q4kys,197713
@@ -13,8 +13,8 @@ pixelflux.libs/libstdc++-85f2cd6d.so.6.0.33,sha256=VjT6H3rGbIUp02akWf5sJoz8LifUZ
13
13
  pixelflux.libs/libx264-87e40f7e.so.164,sha256=_00YN_mLwPHb8HNUzHH6nKnA5A7ymNbgcMg3c5Y-tcY,1855521
14
14
  pixelflux.libs/libxcb-37b5950b.so.1.1.0,sha256=OEO8JPnh3ScNPUQZCqWpZX5UPClcXoNvjUALHZ3GF6Y,345721
15
15
  pixelflux.libs/libyuv-4e18f0c9.so,sha256=9AQzofUlQQkdpo7XxVqHwh4BR7cuX2q27hb57IuXNOA,872497
16
- pixelflux-1.3.2.dist-info/METADATA,sha256=Q4w77gltop5V6nBF4kKRUx10IX4QkcSVHINjl5H3YxI,9169
17
- pixelflux-1.3.2.dist-info/WHEEL,sha256=qvx19vD_zYvGQFVzkH0wrT4tVIal9wOVogYGQfy9ymw,113
18
- pixelflux-1.3.2.dist-info/top_level.txt,sha256=qFojlw7Q8mxa-8CJ_NqmgfQtjUaYLVMI9RUuAPoX8Yg,10
19
- pixelflux-1.3.2.dist-info/RECORD,,
20
- pixelflux-1.3.2.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
16
+ pixelflux-1.4.0.dist-info/METADATA,sha256=Vvj8qVpSXZQk4nOs_A06D0lI-u8heOTCSZK0Pibq4mE,9615
17
+ pixelflux-1.4.0.dist-info/WHEEL,sha256=qvx19vD_zYvGQFVzkH0wrT4tVIal9wOVogYGQfy9ymw,113
18
+ pixelflux-1.4.0.dist-info/top_level.txt,sha256=qFojlw7Q8mxa-8CJ_NqmgfQtjUaYLVMI9RUuAPoX8Yg,10
19
+ pixelflux-1.4.0.dist-info/RECORD,,
20
+ pixelflux-1.4.0.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725