<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20140527152749443429 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
    
  
<div><span></span>I've tried MJPEG2000 algorithm and it did reduce the data transferred. I capture the raw bitmap data and compress it using MPJEG2000.</div><div><br></div><div>If you transfer the quic_data to x264, it will cost much CPU utilization. As far as I know, someone has made it to use x264 to process videos, but the performance improves little.</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div style="font-family: 宋体; font-size: 14px; line-height: 21px;"><div><br></div><div><span style="font-size: 10.5pt;"></span></div></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:wangqiang.hunan@gmail.com">Qiang</a></div><div><b>Date:</b> 2014-05-27 15:24</div><div><b>To:</b> <a href="mailto:spice-devel@lists.freedesktop.org">spice-devel</a></div><div><b>Subject:</b> [Spice-devel] Intra-frame compress for spice video  channel</div></div></div><div><div class="FoxDiv20140527152749443429">
  
    
  
  
    Hi, Dear all<br>
    <span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial,
      sans-serif; font-size: 14px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;"><br>
      I want to improve Spice bandwidth utilization, with a reasonable
      cost of more CPU utilization.<br>
      Under my test the audio(with opus) work fine under low bandwidth.
      <br>
      As I know the spice didn't use the intra-frame to compress the
      video data. <br>
      Under my test all the display frame be compressed as quic_data.
      But even use the <br>
      quic compress, it take huge bandwidth to play my 480P movie. <br>
      So I wanted to implement the intra-frame to compress(</span><span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial,
      sans-serif; font-size: 14px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;"><span style="color: rgb(0, 0, 0);
        font-family: Helvetica, Arial, sans-serif; font-size: 14px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; orphans: auto;
        text-align: start; text-indent: 0px; text-transform: none;
        white-space: normal; widows: auto; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; display: inline !important;
        float: none;">As an compress option.</span>) based x264.<br>
      <br>
      There are seem two ways. <br>
      1) drawable_data -> stream -> use the x264 instead the
      M-JPEG compressed.<br>
      I am struggling why this data didn't pass through the video
      stream. But as a quic_data.<br>
      2) quic_data -> transfer the quic_data to a rgb data -> use
      the x264 to compress it. <br>
      But I am not sure how transfer the quic_data to x264 input_data?
      there is so limited doc about this. <br>
      <br>
      Any idea about the intra-frame or the video compression please let
      me know. <br>
      <br>
      PS: Anyone know the new contact way of </span>Yonit Halperin<br>
    <span style="color: rgb(0, 0, 0); font-family: Helvetica, Arial,
      sans-serif; font-size: 14px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none;">
      
      <br>
      Thanks very much.<br>
    </span>
  
</div></div></blockquote>
</body></html>