Hi, Thank you for your products. It work perfectly on window 11, python 3.12
But i'm very newbie and when i try example code on window 10 build 10.0.1942 and python 3.12.7, Visual code 1.77.3; i get error:
PS C:\Users\Administrator> & C:/Users/Administrator/anaconda3/python.exe "c:/Users/Administrator/from wincam import DXCamera.py"
Capture failed -2147467262
Traceback (most recent call last):
File "c:\Users\Administrator\from wincam import DXCamera.py", line 5, in
frame, timestamp = camera.get_bgr_frame()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\anaconda3\Lib\site-packages\wincam\dxcam.py", line 58, in get_bgr_frame
raise Exception(f"Failed to start capture, error code {f'{-hr:02x}'}")
Exception: Failed to start capture, error code 7fffbffe
PS C:\Users\Administrator>
i tried with dxcam, it worked.
Yes, others have reported problems with Windows 10 also, I should probably just remove that from the list of supported operating systems. I recommend moving to windows 11.
Hi, Thank you for your products. It work perfectly on window 11, python 3.12 But i'm very newbie and when i try example code on window 10 build 10.0.1942 and python 3.12.7, Visual code 1.77.3; i get error: PS C:\Users\Administrator> & C:/Users/Administrator/anaconda3/python.exe "c:/Users/Administrator/from wincam import DXCamera.py" Capture failed -2147467262 Traceback (most recent call last): File "c:\Users\Administrator\from wincam import DXCamera.py", line 5, in
frame, timestamp = camera.get_bgr_frame()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\anaconda3\Lib\site-packages\wincam\dxcam.py", line 58, in get_bgr_frame
raise Exception(f"Failed to start capture, error code {f'{-hr:02x}'}")
Exception: Failed to start capture, error code 7fffbffe
PS C:\Users\Administrator>
i tried with dxcam, it worked.