<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I opened an issue for this problem here:<br /><a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2718">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2718</a></p>
<p>I think that this is a bug :)<br /><br />Thanks<br />Davide</p>
<p id="reply-intro">Il 2023-06-24 12:33 Davide Perini via gstreamer-devel ha scritto:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Hi all,</span><br />I am recording the screen using latest GStreamer and Ubuntu 22.04/23.04 on an Nvidia GPU.<br /><br />I have a 3840x2160 screen, if I record the screen without using any scaling set in the OS,<br /><span style="white-space: nowrap;">it works correctly.</span><br />If I record the screen by setting a 125%, 150% or 200% scaling in the OS, the recorded image is cropped.<br /><br /><span style="white-space: nowrap;">This is the command I'm using to debug it.</span><br /><br />gst-launch-1.0 ximagesrc startx=1 endx=3839 starty=0 endy=2159 ! video/x-raw,framerate=30/1 ! videoscale method=0 ! ximagesink<br /><br />At 150% scaling, a 3840x2160 monitor should output 2560x1440 pixels, so I tried with this command:<br /><br />gst-launch-1.0 ximagesrc startx=1 endx=2559 starty=0 endy=1439 ! video/x-raw,framerate=30/1 ! videoscale method=0 ! ximagesink<br /><br /><span style="white-space: nowrap;">but same error.</span><br /><br /><span style="white-space: nowrap;">How can I tell GStreamer to consider the OS scaling?</span><br /><br /><span style="white-space: nowrap;">Thank you</span><br />Davide</div>
</blockquote>
<p><br /></p>

</body></html>