<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/09/2018 02:58 AM, wangjiedong
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:tencent_02E70D3C370D1F79232D1936@qq.com">Yes, display 2
      is showing the same content as display 1.<br>
      <div><includetail>
          <div> </div>
          <div>I use spice-streaming-agent with the goal that it can
            make the video more fluent and use less bandwidth, because
            in my condition classic SPICE can't do well with playing HD
            video and use high bandwidth. I think SPICE have resolution
            to deal with these especially in a WAN environment.</div>
          <div><br>
          </div>
          <div>Developing streaming agent plugin is a good advice for
            me. I'll try it and thank you !</div>
        </includetail></div>
    </blockquote>
    <br>
    Hi,<br>
    <br>
    We have gstreamer based spice-streaming-agent plugin upstream, this
    should let you use<br>
    any mjpeg/vp8/vp9/h264 gstreamer encoder plugin to encode your
    captured desktop as a<br>
    video stream.<br>
    This plugin is not well tested and i do not know your exact
    configuration but if your guest has<br>
    assigned gpu you may even find a suitable hw accelerated gstreamer
    encoder plugin and this<br>
    potentially should work fairly well.<br>
    <br>
<a class="moz-txt-link-freetext" href="https://gitlab.freedesktop.org/spice/spice-streaming-agent/commit/f65cb5a84bb0fafec38cf738177a9f999211fdaf">https://gitlab.freedesktop.org/spice/spice-streaming-agent/commit/f65cb5a84bb0fafec38cf738177a9f999211fdaf</a><br>
    <br>
    Snir.<br>
    <br>
    <blockquote type="cite"
      cite="mid:tencent_02E70D3C370D1F79232D1936@qq.com">
      <div><includetail>
          <div><br>
          </div>
          <div style="font:Verdana normal 14px;color:#000;">
            <div style="FONT-SIZE: 12px;FONT-FAMILY: Arial
              Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div>
            <div style="FONT-SIZE: 12px;background:#efefef;padding:8px;">
              <div id="menu_sender"><b>From: </b> "Lukáš
                Hrázký"<a class="moz-txt-link-rfc2396E" href="mailto:lhrazky@redhat.com"><lhrazky@redhat.com></a>;</div>
              <div><b>Date: </b> Thu, Nov 8, 2018 06:27 PM</div>
              <div><b>To: </b> "wangjiedong"<a class="moz-txt-link-rfc2396E" href="mailto:wangjiedong@kylinos.cn"><wangjiedong@kylinos.cn></a>;
                "spice-devel"<a class="moz-txt-link-rfc2396E" href="mailto:spice-devel@lists.freedesktop.org"><spice-devel@lists.freedesktop.org></a>;
                <wbr></div>
              <div><b>Subject: </b> Re: [Spice-devel]
                spice-streaming-agent can't work correctly</div>
            </div>
            <div> </div>
            <div style="position:relative;">Hello,<br>
              <br>
              On Thu, 2018-11-08 at 17:38 +0800, wangjiedong wrote:<br>
              > Recently I compile spice-protocol-0.12.15 and
              spice-server-0.14.1(--enable-lz4=yes
              --enable-gstreamer=yes --enable-smartcard=yes
              --with-sasl=yes) on host Ubuntu 18.04, and compile 
              spice-protocol-0.12.15 and spice-streaming-agent-0.2 on
              guest VM.<br>
              > <br>
              > <br>
              > I use remote-viewer to connect guest VM , and the
              command spice-streaming-agent can exec successfully. then
              another remote-viewer window named display 2 appears, and
              the video becomes more stalling than never using
              spice-streaming-agent.<br>
              <br>
              Is the display 2 showing the same content as display 1?<br>
              <br>
              The second display is streaming your VM desktop using the
              MJPEG plugin.<br>
              This uses SW encoding in the guest and SW decoding on the
              client, so<br>
              it's adding significant CPU load and this use case has no
              actual<br>
              practical benefit (classic SPICE performs better).<br>
              <br>
              I'm not sure what is your goal, but at this point, unless
              you want to<br>
              develop your own streaming agent plugin, you probably
              don't want to use<br>
              the streaming agent.<br>
              <br>
              Cheers,<br>
              Lukas<br>
              <br>
              > What is the reason for this , any wrong configuration
              or something wrong else?<br>
              > <br>
              > <br>
              > Thanks for help !<br>
              > _______________________________________________<br>
              > Spice-devel mailing list<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
              >
              <a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
            </div>
          </div>
          <!--<![endif]--></includetail></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spice-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>