DXcam icon indicating copy to clipboard operation
DXcam copied to clipboard

Slower than win32 capture screen

Open fgglk12 opened this issue 2 years ago • 4 comments

I am using Win32's window handles to take screenshots almost 10 times faster than dxcam, does dxcam support window handles?

fgglk12 avatar Feb 17 '23 04:02 fgglk12

There is indeed this strange problem. The screenshot of win32 handle can be 250fps

Dxcam only has 110-150fps

All use 640 * 640

nv 3080 12G

Dxcam version:last

I suspect it is caused by image clipping, but I am not very familiar with the code...

hopepanwei avatar Feb 24 '23 09:02 hopepanwei

@hopepanwei are you sure? Can you give me piece of codes? I think 250fps hard to get :|

lucasmonstrox avatar Feb 26 '23 07:02 lucasmonstrox

Check this https://github.com/AI-M-BOT/DXcam/releases/tag/1.0

@hopepanwei are you sure? Can you give me piece of codes? I think 250fps hard to get :|

With win32 handle it is easy peasy to each 250+ fps Check this https://stackoverflow.com/questions/3586046/fastest-way-to-take-a-screenshot-with-python-on-windows

AI-M-BOT avatar Mar 31 '23 18:03 AI-M-BOT

Check this https://github.com/AI-M-BOT/DXcam/releases/tag/1.0

@hopepanwei are you sure? Can you give me piece of codes? I think 250fps hard to get :|

With win32 handle it is easy peasy to each 250+ fps Check this https://stackoverflow.com/questions/3586046/fastest-way-to-take-a-screenshot-with-python-on-windows

Could you compile for python 3.11? If possible give the prompt you used to compile it with all included modules with nuitka?

ninjatall12 avatar Apr 01 '23 13:04 ninjatall12