[d3d11screencapturesrc] Having problems in screen capturing 3440x1440 resolution, other resolutions wokrs well.

Davide Perini perini.davide at dpsoftware.org
Wed Mar 8 20:11:09 UTC 2023


Hi all,
I'm screen capturing using GStreamer bindings for Java without problems 
since a lot of time,
it works super awesome at all screen resolutions.

Love GStreamer and the Java Bindings for GStreamer. :) Thank you all for 
this awesome things.

I'm using a pipeline like this:
d3d11screencapturesrc monitor-handle={0} ! d3d11convert ! d3d11download 
! video/x-raw(memory:SystemMemory),width=3440,height=1440
this pipeline works as expected.

I recently switched to this "new pipeline" that should be more optimized 
for the purpose:
d3d11screencapturesrc monitor-handle={0} ! d3d11convert ! 
video/x-raw(memory:D3D11Memory),width=3440,height=1440

this "new pipeline" works well at every screen resolutions except 
3440x1440,
I even tried another 21:9 resolution like 3840x1080 and it works well 
but not on 3440x1440.
All other screen resolutions works well.

This is so weird. My code should be ok since if I switch to the "older 
pipeline" all works well.

I took a screenshot at 3440x1440 when capturing the screen and the image 
is completely scrambled, I attach it.

I don't know how where to start finding for a solution.

Is this a problem related to the bindings? Is there some errors in my 
pipeline?

How can a pipeline works well at every screen resolutions and not at 
3440x1440?

Thank you
Davide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.jpg
Type: image/jpeg
Size: 665534 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230308/ff4a3fed/attachment-0001.jpg>


More information about the gstreamer-devel mailing list