<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi all,<br>
I have a pipeline this:<br>
<pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#6a8759;">d3d11screencapturesrc monitor-handle={0} ! d3d11convert ! d3d11download</span></pre>
using these caps:<br>
<pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#6a8759;">video/x-raw(memory:SystemMemory),width=3840,height=2160,sync=false</span></pre>
<br>
This pipeline captures the screen using Windows DDUPL API thank to
the gstreamer "d3d11screencapturesrc"<br>
and then return the captured frame with a callback to my program.<br>
If I capture in 4K at 60FPS it copies 60 frames per second into
memory and this is quite heavy.<br>
<br>
Is there a way to optimize it?<br>
I only need to get the color information of some portion of that
frames (top border, bottom border, right border, left border).<br>
<br>
Is there a way to optimize this pipeline? <br>
<br>
Thanks<br>
Davide<br>
</body>
</html>