[d3d11screencapturesrc]

Hi all,
I’m trying to capture a windows using this command:

.\gst-launch-1.0.exe -e --gst-debug=3 d3d11screencapturesrc capture-api=1 window-handle=202030 window-capture-mode=1 ! queue ! d3d11videosink

I get this error:
WARNING: erroneous pipeline: no property “capture-api” in element “d3d11screencapturesrc”

what am I doing wrong?

Windows Graphics Capture (WGC) support requires MSVC build (with Windows11 SDK) and GStreamer 1.22 (or newer)

1 Like

I’m a big fan of seungha, sorry for the noob question and thanks for the answer. :slight_smile: