#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:2 by Carl Eugen Hoyos, 20 months ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.