xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 48 and Version 49 of Encodings


Ignore:
Timestamp:
08/24/14 06:43:54 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encodings

    v48 v49  
    121121* #455 and #464: vp9 and libvpx improvements
    122122}}}
     123
     124
     125{{{#!div class="box"
     126== Debugging ==
     127When using non-video encodings, the encoding used for sending the pixels to the client will be the one which has been selected. The only exception to this rule is when the number of pixels is so small that trying to compress them would be pointless, and they are then sent as plain {{rgb}}}.
     128
     129With video encodings, things are more complicated: if there is a video region, the non video areas will use other encodings. Even the video region (which may be the whole window) will get automatically refreshed with a lossless encoding when it stops refreshing rapidly.
     130
     131To debug encoding selection:
     132* the actual encoding used is logged with {{{-d compress}}} in the form:
     133{{{
     134make_data_packet: image=XShmImageWrapper(BGRX: 149, 2, 6, 13), damage data: (1, 149, 2, 6, 13, 'rgb24')
     135compress:   0.9ms for  499x316  pixels using  mmap with ratio   0.0% (  615KB to     0KB), delta=-1, client_options={'rgb_format': 'BGRX'}
     136}}}
     137* the current encoding set is best seen with: {{{xpra info | grep encoding=}}}
     138* to see statistics about which encodings are actually used: {{{xpra info | egrep "last_used|total_frames|total_pixels"}}}
     139}}}