<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-15">
  </head>
  <body>
    PS:<br>
    I noticed that this happen when using dxgiscreencapsrc but not when
    using dx9screencapsrc.<br>
    This is really bad since dxgiscreencapsrc is so better.<br>
    <br>
    Thanks<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Il 07/08/2020 20.33, Davide Perini ha
      scritto:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c28422ce-0648-bc66-a72d-d6f781b9a895@dpsoftware.org">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-15">
      Hi guys, <br>
      I have noticed a very strange behaviour when screen capturing
      using gstreamer.<br>
      <br>
      I am using this command line for my try in Windows 10.<br>
      <br>
      ./gst-launch-1.0 dxgiscreencapsrc ! videoscale method=0 !
      videoconvert ! autovideosink sync=false<br>
      <br>
      This command launch a gstreamer window where I can see my screen
      beeing captured. <br>
      The command capture at a locked 30 FPS no matter what other
      software or windows I open.<br>
      <br>
      If I open an OpenGL/Vulkan or DX11/DX12 window, screen capture
      remains at a locked 30FPS <br>
      but as soon as I click on the 3D window the screen capture
      framerate drops significantly to 10FPS or even worse.<br>
      <br>
      It's strange because if I change the focus on a non 3D window,
      without closing the 3D window,<br>
      the framerate returns to 30FPS.<br>
      Note that framerate drops occurs in the screen capture window, not
      in the 3D window.<br>
      <br>
      How this is possible?<br>
      Is there a way to fix this problem?<br>
      <br>
      Thank you all guys, I really appreciate your work here and the
      help you give people on this community :)<br>
      <br>
      Bye<br>
      Davide<br>
      <br>
      <style type="text/css">
  body, pre { margin: 0; padding: 0; }
  pre { font-family: inherit; }
  #vt100 {
    float: left;
    border: 0px solid;
    padding: 1px;
    line-height: 111%;
    font-size: 9pt;
    font-family: 'Lucida Console', 'Lucida Console ', 'Consolas';
    color: #BFBFBF;
    background-color: #000000;
    }
  .bd { font-weight: bold }
  .it { font-style: italic }
  .ul { text-decoration-line: underline }
  .st { text-decoration-line: line-through }
  .lu { text-decoration-line: line-through underline }
  .fg-color0 { color: #000000 } .bg-color0 { background-color: #000000 }
  .fg-color1 { color: #BF0000 } .bg-color1 { background-color: #BF0000 }
  .fg-color2 { color: #00BF00 } .bg-color2 { background-color: #00BF00 }
  .fg-color3 { color: #BFBF00 } .bg-color3 { background-color: #BFBF00 }
  .fg-color4 { color: #0000BF } .bg-color4 { background-color: #0000BF }
  .fg-color5 { color: #BF00BF } .bg-color5 { background-color: #BF00BF }
  .fg-color6 { color: #00BFBF } .bg-color6 { background-color: #00BFBF }
  .fg-color7 { color: #BFBFBF } .bg-color7 { background-color: #BFBFBF }
  .fg-color8 { color: #404040 } .bg-color8 { background-color: #404040 }
  .fg-color9 { color: #FF4040 } .bg-color9 { background-color: #FF4040 }
  .fg-color10 { color: #40FF40 } .bg-color10 { background-color: #40FF40 }
  .fg-color11 { color: #FFFF40 } .bg-color11 { background-color: #FFFF40 }
  .fg-color12 { color: #6060FF } .bg-color12 { background-color: #6060FF }
  .fg-color13 { color: #FF40FF } .bg-color13 { background-color: #FF40FF }
  .fg-color14 { color: #40FFFF } .bg-color14 { background-color: #40FFFF }
  .fg-color15 { color: #FFFFFF } .bg-color15 { background-color: #FFFFFF }
  .cursor { background-color: #BFBFBF }
  .font10 { font-family: 'F25 Blackletter Typewriter' }</style> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>