#9413(ffmpeg:new): Feature request: WindowsGraphicsCapture API
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Type: | enhancement Status: new | Priority: normal Component: ffmpeg | Version: Keywords: | unspecified WindowsGraphicsCapture API | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Description changed by MB SOFT: Old description:
Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window
New description: Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do- screen-capture/ -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Description changed by MB SOFT: Old description:
Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window
https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do- screen-capture/
New description: Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do- screen-capture/ https://docs.microsoft.com/en- us/windows/win32/api/windows.graphics.capture.interop/nf-windows-graphics- capture-interop-igraphicscaptureiteminterop-createforwindow -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling): NVFBC is better, much better. And is available on gefore too with a simple hack. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by markg85): For the windows side of things, a change here might be required. Nvidia themselves have deprecated NVFBC on windows specifically (see this pdf: https://developer.download.nvidia.com/designworks/capture- sdk/docs/NVFBC_Win10_Deprecation_Tech_Bulletin.pdf) The support remains as-is on other platforms. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Balling):
Nvidia themselves have deprecated NVFBC on windows specifically
After it was hacked. It is still used in Steam and Geforce Capture. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by MB SOFT): OBS Studio and VMIX they both offers WindowsGraphicsCapture API mode and works very well. It's missing in ffmpeg -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------- Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: | Blocked By: WindowsGraphicsCapture API | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by MB SOFT): 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 and allows the capture of windows outside the screen area or with transparent childs or with d3d11 surfaces. Could someone use that code and create an input module for ffmpeg to use instead of the old and heavy gdigrab? -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: normal | Component: avdevice Version: unspecified | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by MB SOFT): * keywords: WindowsGraphicsCapture API => gdigrab * component: ffmpeg => avdevice -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: wish | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by Carl Eugen Hoyos): * priority: normal => wish * version: unspecified => git-master -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: wish | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by Balling): See also https://github.com/FFmpeg/FFmpeg/commit/f611255480b7cb61af745131251a1fd72f4d... -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: wish | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Description changed by MB SOFT: Old description:
Feature request: could you please add WindowsGraphicsCapture API as a method to capture a window? this would allow to capture any graphics in the window
https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do- screen-capture/
https://docs.microsoft.com/en- us/windows/win32/api/windows.graphics.capture.interop/nf-windows- graphics-capture-interop-igraphicscaptureiteminterop-createforwindow
New 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] -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:11> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: wish | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by MB SOFT): gstreamer 1.22 now has windows graphics capture api "d3d11screencapture: Add Windows Graphics Capture API based capture mode, including Win32 application window capturing" with that i can now capture a single application form even the upcoming ddgrab cannot do that i have now switched to gstreamer but hope to see windows graphics capture added soon also on ffmpeg and come back. -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:12> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#9413: Feature request: WindowsGraphicsCapture API -------------------------------------+------------------------------------ Reporter: MB SOFT | Owner: (none) Type: enhancement | Status: new Priority: wish | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by domo): Any update on this feature? https://github.com/ffiirree/ffmpeg-tutorials/tree/master/14_windows_wgc -- Ticket URL: <https://trac.ffmpeg.org/ticket/9413#comment:13> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg