Comments (4)
Hi ianespana, thanks for trying the library out. For fullscreen applications you don't need to do anything special, just normally specify the output and device in dxcam.
The logic for alt+tab is here:
Lines 91 to 109 in cd1c367
Alt + Tab will yield a DXGI_ERROR_ACCESS_LOST error and the error is handled by releasing and recreating the IDXGIOutputDuplication interface.
from dxcam.
Also, it's worth noting that in certain applications disabling fullscreen optimizations (properties->compatibility tab) will yield a higher framerate.
from dxcam.
Ah, I see. So you can't exactly target a full screen application only, but it will handle the error that occurs when you alt+tab from said application
from dxcam.
What do you mean by "target"? For capturing a full-screen application you can just specify the screen that the app is on and do the capture.
from dxcam.
Related Issues (20)
- Forks, contributions & betterDXcam vs BetterCam HOT 6
- dxcam not working in an Azure VM HOT 2
- How to optimize dxcam for faster FPS? HOT 1
- Issue: grab() Returns None on Consecutive Calls HOT 1
- Resquest pillow image support
- Is there any way to have the captured screenshots include the mouse cursor? HOT 2
- All frames taken from camera.get_latest_frame() are glitchy in a weird way! HOT 1
- ValueError: could not broadcast input array from shape (640,640,3) into shape (1080,1920,3)
- How can I take screenshots based on the specified hwnd HOT 1
- Capturing a screen screenshot of a virtual desktop in Windows 10 HOT 1
- Dxcam has no attribute 'create'
- Dxcam can't find gpu? HOT 1
- access violation writing 0x4DBAF26F HOT 1
- DXCAM does not respond HOT 1
- numpy processor
- Please give an option to not return None if theres a duplicate. HOT 1
- ćšèŻą
- Handy conversion from screen coordinates to dx outputs HOT 1
- start with fps of 30 and calling get_latest_frame is not delivering very smooth results HOT 2
- dxcam.release doesn't cleanup properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dxcam.