diff --git a/README.md b/README.md index afca4ff6..268be797 100644 --- a/README.md +++ b/README.md @@ -68,15 +68,15 @@ Refer to the [build instructions](build%20instructions.md) if you'd like to buil #### Capture Method -- **BitBlt** (fastest, least compatible) - A good default fast option. But it cannot properly record OpenGL, Hardware Accelerated or Exclusive Fullscreen windows. - The smaller the selected region, the more efficient it is. - **Windows Graphics Capture** (fast, most compatible, capped at 60fps) Only available in Windows 10.0.17134 and up. Due to current technical limitations, Windows versions below 10.0.0.17763 require having at least one audio or video Capture Device connected and enabled. Allows recording UWP apps, Hardware Accelerated and Exclusive Fullscreen windows. Adds a yellow border on Windows 10 (not on Windows 11). Caps at around 60 FPS. +- **BitBlt** (fastest, least compatible) + The best option when compatible. But it cannot properly record OpenGL, Hardware Accelerated or Exclusive Fullscreen windows. + The smaller the selected region, the more efficient it is. - **Direct3D Desktop Duplication** (slower, bound to display) Duplicates the desktop using Direct3D. It can record OpenGL and Hardware Accelerated windows. diff --git a/src/capture_method/__init__.py b/src/capture_method/__init__.py index 38a6b2de..ba2715f6 100644 --- a/src/capture_method/__init__.py +++ b/src/capture_method/__init__.py @@ -118,17 +118,6 @@ def get(self, __key: CaptureMethodEnum): ) CAPTURE_METHODS = CaptureMethodDict() -CAPTURE_METHODS[CaptureMethodEnum.BITBLT] = CaptureMethodInfo( - name="BitBlt", - short_description="fastest, least compatible", - description=( - "\nA good default fast option. But it cannot properly record " - "\nOpenGL, Hardware Accelerated or Exclusive Fullscreen windows. " - "\nThe smaller the selected region, the more efficient it is. " - ), - - implementation=BitBltCaptureMethod, -) if ( # Windows Graphics Capture requires a minimum Windows Build WINDOWS_BUILD_NUMBER >= WGC_MIN_BUILD # Our current implementation of Windows Graphics Capture does not ensure we can get an ID3DDevice @@ -147,6 +136,17 @@ def get(self, __key: CaptureMethodEnum): ), implementation=WindowsGraphicsCaptureMethod, ) +CAPTURE_METHODS[CaptureMethodEnum.BITBLT] = CaptureMethodInfo( + name="BitBlt", + short_description="fastest, least compatible", + description=( + "\nThe best option when compatible. But it cannot properly record " + "\nOpenGL, Hardware Accelerated or Exclusive Fullscreen windows. " + "\nThe smaller the selected region, the more efficient it is. " + ), + + implementation=BitBltCaptureMethod, +) CAPTURE_METHODS[CaptureMethodEnum.DESKTOP_DUPLICATION] = CaptureMethodInfo( name="Direct3D Desktop Duplication", short_description="slower, bound to display",