Opened 20 months ago
Closed 20 months ago
#9919 closed enhancement (duplicate)
modify gdigrab to use windows Graphics Capture Api
Reported by: | MB SOFT | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avdevice |
Version: | unspecified | Keywords: | gdigrab |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
This is a feature request.
Could you please modify Gdigrab to use WindowsGraphicsCapture API?
https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/
Advantages:
1) capture any window (including hardware accelerated window)
2) capture any graphics in the window (including transparent childs)
3) capture window outside the visible area
4) minimal cpu load even with high res and rates
Ex: here [https://github.com/mmozeiko/wcap] there are free sources of the tool wcap that use windows graphics capture api. compared to gdigrab it has 3 times less cpu load.
Could someone use that code and adapt gdigrab?
[https://github.com/mmozeiko/wcap/blob/main/wcap_capture.c]
Change History (2)
comment:1 by , 20 months ago
comment:2 by , 20 months ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of https://trac.ffmpeg.org/ticket/9413 ?