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 Initial Version and Version 1 of Ticket #2022, comment 8


Ignore:
Timestamp:
11/02/18 22:46:53 (3 years ago)
Author:
Nathan Hallquist
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2022, comment 8

    initial v1  
    1010Output:
    1111
    12 {{{
    13 2018-11-02 15:34:26,450 send_delayed for wid 2, batch delay is 117ms, elapsed time is 117ms
    14 2018-11-02 15:34:26,450 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    15 2018-11-02 15:34:26,451 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    16 2018-11-02 15:34:26,456 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 123.6 ms, request time: 4.6 ms, frame delay=0ms
    17 2018-11-02 15:34:26,457 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    18 2018-11-02 15:34:26,458 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    19 2018-11-02 15:34:26,460 make_instance() nvenc - instance count=0
    20 2018-11-02 15:34:27,033 compress: 575.2ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   3.8%  ( 6128KB to   230KB), sequence    10, client_options={u'speed': 70, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 45}
    21 2018-11-02 15:34:27,058 send_delayed for wid 2, batch delay is 117ms, elapsed time is 118ms
    22 2018-11-02 15:34:27,058 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    23 2018-11-02 15:34:27,059 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    24 2018-11-02 15:34:27,063 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 123.3 ms, request time: 4.0 ms, frame delay=0ms
    25 2018-11-02 15:34:27,064 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    26 2018-11-02 15:34:27,064 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    27 2018-11-02 15:34:27,097 compress:  33.1ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   2.1%  ( 6128KB to   129KB), sequence    11, client_options={u'speed': 70, u'frame': 1, u'pts': 608, 'csc': 'YUV444P', u'quality': 45}
    28 2018-11-02 15:34:27,099 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    29 2018-11-02 15:34:27,100 update_encoding_options(False) wid=2, want_alpha=False, speed=89, quality=54, bandwidth-limit=0, lossless threshold: 77 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    30 2018-11-02 15:34:27,101 VideoSubregion(None).identify_video_subregion(..)
    31 2018-11-02 15:34:27,101 identify_video_subregion(1636, 959, 46, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840)], maxlen=400))
    32 2018-11-02 15:34:27,101 novideoregion: not enough damage events yet (18)
    33 2018-11-02 15:34:27,195 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 81, elapsed time is 125ms
    34 2018-11-02 15:34:27,201 send_delayed for wid 2, batch delay is 81ms, elapsed time is 131ms
    35 2018-11-02 15:34:27,201 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    36 2018-11-02 15:34:27,202 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    37 2018-11-02 15:34:27,208 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 139.1 ms, request time: 6.0 ms, frame delay=0ms
    38 2018-11-02 15:34:27,209 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    39 2018-11-02 15:34:27,210 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    40 2018-11-02 15:34:27,211 make_instance() nvenc - instance count=0
    41 2018-11-02 15:34:27,789 send_delayed for wid 2, delaying again because too many pixels are waiting to be encoded: 1568924
    42 2018-11-02 15:34:27,800 send_delayed for wid 2, delaying again because too many pixels are waiting to be encoded: 1568924
    43 2018-11-02 15:34:27,809 compress: 598.3ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   4.1%  ( 6128KB to   250KB), sequence    12, client_options={u'speed': 89, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 54}
    44 2018-11-02 15:34:27,812 send_delayed for wid 2, batch delay is 81ms, elapsed time is 104ms
    45 2018-11-02 15:34:27,812 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    46 2018-11-02 15:34:27,813 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    47 2018-11-02 15:34:27,817 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 109.5 ms, request time: 4.0 ms, frame delay=0ms
    48 2018-11-02 15:34:27,818 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    49 2018-11-02 15:34:27,818 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    50 2018-11-02 15:34:27,860 compress:  41.6ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   2.3%  ( 6128KB to   138KB), sequence    13, client_options={u'speed': 89, u'frame': 1, u'pts': 611, 'csc': 'YUV444P', u'quality': 54}
    51 2018-11-02 15:34:27,903 send_delayed for wid 2, batch delay is 81ms, elapsed time is 82ms
    52 2018-11-02 15:34:27,904 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    53 2018-11-02 15:34:27,904 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    54 2018-11-02 15:34:27,909 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 87.8 ms, request time: 4.3 ms, frame delay=0ms
    55 2018-11-02 15:34:27,911 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    56 2018-11-02 15:34:27,911 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    57 2018-11-02 15:34:27,968 compress:  56.5ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   1.7%  ( 6128KB to   107KB), sequence    14, client_options={u'speed': 89, u'frame': 2, u'pts': 703, 'csc': 'YUV444P', u'quality': 54}
    58 2018-11-02 15:34:28,010 send_delayed for wid 2, batch delay is 81ms, elapsed time is 81ms
    59 2018-11-02 15:34:28,011 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    60 2018-11-02 15:34:28,011 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    61 2018-11-02 15:34:28,015 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 86.8 ms, request time: 3.9 ms, frame delay=0ms
    62 2018-11-02 15:34:28,017 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    63 2018-11-02 15:34:28,019 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    64 2018-11-02 15:34:28,070 compress:  51.7ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   2.4%  ( 6128KB to   149KB), sequence    15, client_options={u'speed': 89, u'frame': 3, u'pts': 809, 'csc': 'YUV444P', u'quality': 54}
    65 2018-11-02 15:34:28,099 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    66 2018-11-02 15:34:28,100 update_encoding_options(False) wid=2, want_alpha=False, speed=90, quality=47, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    67 2018-11-02 15:34:28,100 VideoSubregion(None).identify_video_subregion(..)
    68 2018-11-02 15:34:28,100 identify_video_subregion(1636, 959, 50, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840)], maxlen=400))
    69 2018-11-02 15:34:28,101 novideoregion: not enough damage events yet (7)
    70 2018-11-02 15:34:28,115 send_delayed for wid 2, batch delay is 81ms, elapsed time is 82ms
    71 2018-11-02 15:34:28,115 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    72 2018-11-02 15:34:28,115 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    73 2018-11-02 15:34:28,120 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 87.5 ms, request time: 4.3 ms, frame delay=0ms
    74 2018-11-02 15:34:28,178 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    75 2018-11-02 15:34:28,179 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    76 2018-11-02 15:34:28,180 make_instance() nvenc - instance count=0
    77 2018-11-02 15:34:28,676 send_delayed_regions: bytes_cost=1568312, bytes_threshold=941354, pixel_count=1567288
    78 2018-11-02 15:34:28,676 nonvideo(100, rgb24 not a supported video encoding)
    79 2018-11-02 15:34:28,677 send_delayed_regions: using full window update 1636x959 as rgb24, from <bound method WindowVideoSource.get_refresh_encoding of WindowVideoSource(2 : (1636, 959))>
    80 2018-11-02 15:34:28,677 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  - rgb24), elapsed time: 1.5 ms, request time: 0.2 ms, frame delay=0ms
    81 2018-11-02 15:34:28,752 compress: 573.2ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   2.9%  ( 6128KB to   176KB), sequence    16, client_options={u'speed': 90, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 47}
    82 2018-11-02 15:34:28,752 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'rgb24')
    83 2018-11-02 15:34:28,769 rgb_encode using level=1 for 6275696 pixels at  50 speed, lz4 compressed 1636x959  in rgb24/BGRX: 6275696 bytes down to 300247
    84 2018-11-02 15:34:28,770 compress:  16.7ms for 1636x959  pixels at    0,0    for wid=2     using     rgb24 with ratio   4.8%  ( 6128KB to   293KB), sequence    17, client_options={'lz4': 1, 'rgb_format': 'BGRX'}
    85 2018-11-02 15:34:28,789 send_delayed for wid 2, batch delay is 81ms, elapsed time is 82ms
    86 2018-11-02 15:34:28,790 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    87 2018-11-02 15:34:28,790 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    88 2018-11-02 15:34:28,795 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 88.0 ms, request time: 4.6 ms, frame delay=0ms
    89 2018-11-02 15:34:28,796 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    90 2018-11-02 15:34:28,796 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    91 2018-11-02 15:34:28,849 compress:  53.2ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   3.8%  ( 6128KB to   232KB), sequence    18, client_options={u'speed': 90, u'frame': 1, u'pts': 675, 'csc': 'YUV444P', u'quality': 47}
    92 2018-11-02 15:34:28,919 send_delayed for wid 2, batch delay is 81ms, elapsed time is 82ms
    93 2018-11-02 15:34:28,919 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    94 2018-11-02 15:34:28,920 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    95 2018-11-02 15:34:28,925 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 87.6 ms, request time: 4.5 ms, frame delay=0ms
    96 2018-11-02 15:34:28,926 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    97 2018-11-02 15:34:28,927 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    98 2018-11-02 15:34:28,957 compress:  30.8ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   5.0%  ( 6128KB to   304KB), sequence    19, client_options={u'speed': 90, u'frame': 2, u'pts': 805, 'csc': 'YUV444P', u'quality': 47}
    99 2018-11-02 15:34:29,012 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 81, elapsed time is 83ms
    100 2018-11-02 15:34:29,019 send_delayed for wid 2, batch delay is 81ms, elapsed time is 89ms
    101 2018-11-02 15:34:29,019 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    102 2018-11-02 15:34:29,019 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    103 2018-11-02 15:34:29,024 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 94.7 ms, request time: 4.3 ms, frame delay=0ms
    104 2018-11-02 15:34:29,026 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    105 2018-11-02 15:34:29,028 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    106 2018-11-02 15:34:29,070 compress:  42.0ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   4.4%  ( 6128KB to   270KB), sequence    20, client_options={u'speed': 90, u'frame': 3, u'pts': 904, 'csc': 'YUV444P', u'quality': 47}
    107 2018-11-02 15:34:29,099 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    108 2018-11-02 15:34:29,101 update_encoding_options(False) wid=2, want_alpha=False, speed=91, quality=46, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    109 2018-11-02 15:34:29,101 VideoSubregion(None).identify_video_subregion(..)
    110 2018-11-02 15:34:29,101 identify_video_subregion(1636, 959, 54, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840)], maxlen=400))
    111 2018-11-02 15:34:29,102 novideoregion: not enough damage events yet (11)
    112 2018-11-02 15:34:29,108 send_delayed for wid 2, batch delay is 63ms, elapsed time is 82ms
    113 2018-11-02 15:34:29,108 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    114 2018-11-02 15:34:29,109 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    115 2018-11-02 15:34:29,114 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 88.1 ms, request time: 4.8 ms, frame delay=0ms
    116 2018-11-02 15:34:29,182 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    117 2018-11-02 15:34:29,182 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    118 2018-11-02 15:34:29,183 make_instance() nvenc - instance count=0
    119 2018-11-02 15:34:29,665 send_delayed_regions: bytes_cost=1568312, bytes_threshold=941354, pixel_count=1567288
    120 2018-11-02 15:34:29,665 nonvideo(100, rgb24 not a supported video encoding)
    121 2018-11-02 15:34:29,665 send_delayed_regions: using full window update 1636x959 as rgb24, from <bound method WindowVideoSource.get_refresh_encoding of WindowVideoSource(2 : (1636, 959))>
    122 2018-11-02 15:34:29,666 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  - rgb24), elapsed time: 1.0 ms, request time: 0.2 ms, frame delay=0ms
    123 2018-11-02 15:34:29,756 compress: 573.7ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   5.6%  ( 6128KB to   340KB), sequence    21, client_options={u'speed': 91, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 46}
    124 2018-11-02 15:34:29,756 send_delayed for wid 2, delaying again because too many pixels are waiting to be encoded: 1568924
    125 2018-11-02 15:34:29,757 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'rgb24')
    126 2018-11-02 15:34:29,774 rgb_encode using level=1 for 6275696 pixels at  50 speed, lz4 compressed 1636x959  in rgb24/BGRX: 6275696 bytes down to 551294
    127 2018-11-02 15:34:29,775 compress:  17.2ms for 1636x959  pixels at    0,0    for wid=2     using     rgb24 with ratio   8.8%  ( 6128KB to   538KB), sequence    22, client_options={'lz4': 1, 'rgb_format': 'BGRX'}
    128 2018-11-02 15:34:29,824 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    129 2018-11-02 15:34:29,824 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    130 2018-11-02 15:34:29,829 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 137.3 ms, request time: 4.3 ms, frame delay=0ms
    131 2018-11-02 15:34:29,830 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    132 2018-11-02 15:34:29,830 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    133 2018-11-02 15:34:29,888 compress:  57.9ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   3.1%  ( 6128KB to   193KB), sequence    23, client_options={u'speed': 91, u'frame': 1, u'pts': 716, 'csc': 'YUV444P', u'quality': 46}
    134 2018-11-02 15:34:29,914 send_delayed for wid 2, batch delay is 63ms, elapsed time is 63ms
    135 2018-11-02 15:34:29,915 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    136 2018-11-02 15:34:29,915 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    137 2018-11-02 15:34:29,920 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 69.3 ms, request time: 4.3 ms, frame delay=0ms
    138 2018-11-02 15:34:29,920 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    139 2018-11-02 15:34:29,921 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    140 2018-11-02 15:34:29,954 compress:  32.9ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   1.9%  ( 6128KB to   117KB), sequence    24, client_options={u'speed': 91, u'frame': 2, u'pts': 806, 'csc': 'YUV444P', u'quality': 46}
    141 2018-11-02 15:34:30,015 send_delayed for wid 2, batch delay is 63ms, elapsed time is 63ms
    142 2018-11-02 15:34:30,015 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    143 2018-11-02 15:34:30,015 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    144 2018-11-02 15:34:30,020 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 68.9 ms, request time: 4.2 ms, frame delay=0ms
    145 2018-11-02 15:34:30,021 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    146 2018-11-02 15:34:30,022 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    147 2018-11-02 15:34:30,073 compress:  51.1ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   1.4%  ( 6128KB to    86KB), sequence    25, client_options={u'speed': 91, u'frame': 3, u'pts': 907, 'csc': 'YUV444P', u'quality': 46}
    148 2018-11-02 15:34:30,086 send_delayed for wid 2, batch delay is 63ms, elapsed time is 63ms
    149 2018-11-02 15:34:30,087 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    150 2018-11-02 15:34:30,087 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    151 2018-11-02 15:34:30,091 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 68.1 ms, request time: 3.6 ms, frame delay=0ms
    152 2018-11-02 15:34:30,091 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    153 2018-11-02 15:34:30,091 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    154 2018-11-02 15:34:30,099 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    155 2018-11-02 15:34:30,101 update_encoding_options(False) wid=2, want_alpha=False, speed=91, quality=49, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    156 2018-11-02 15:34:30,102 VideoSubregion(None).identify_video_subregion(..)
    157 2018-11-02 15:34:30,102 identify_video_subregion(1636, 959, 59, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840)], maxlen=400))
    158 2018-11-02 15:34:30,103 novideoregion: not enough damage events yet (16)
    159 2018-11-02 15:34:30,139 compress:  47.8ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   1.3%  ( 6128KB to    78KB), sequence    26, client_options={u'speed': 91, u'frame': 4, u'pts': 978, 'csc': 'YUV444P', u'quality': 46}
    160 2018-11-02 15:34:30,221 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 63, elapsed time is 127ms
    161 2018-11-02 15:34:30,227 send_delayed for wid 2, batch delay is 63ms, elapsed time is 133ms
    162 2018-11-02 15:34:30,227 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    163 2018-11-02 15:34:30,228 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    164 2018-11-02 15:34:30,233 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 139.4 ms, request time: 5.0 ms, frame delay=0ms
    165 2018-11-02 15:34:30,234 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    166 2018-11-02 15:34:30,235 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    167 2018-11-02 15:34:30,237 make_instance() nvenc - instance count=0
    168 2018-11-02 15:34:30,787 send_delayed for wid 2, delaying again because too many pixels are waiting to be encoded: 1568924
    169 2018-11-02 15:34:30,795 compress: 559.8ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   2.4%  ( 6128KB to   146KB), sequence    27, client_options={u'speed': 91, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 49}
    170 2018-11-02 15:34:30,797 send_delayed for wid 2, batch delay is 63ms, elapsed time is 73ms
    171 2018-11-02 15:34:30,798 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    172 2018-11-02 15:34:30,798 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    173 2018-11-02 15:34:30,802 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 78.3 ms, request time: 3.7 ms, frame delay=0ms
    174 2018-11-02 15:34:30,803 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    175 2018-11-02 15:34:30,803 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    176 2018-11-02 15:34:30,849 compress:  45.6ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   0.6%  ( 6128KB to    36KB), sequence    28, client_options={u'speed': 91, u'frame': 1, u'pts': 569, 'csc': 'YUV444P', u'quality': 49}
    177 2018-11-02 15:34:30,871 send_delayed for wid 2, batch delay is 63ms, elapsed time is 63ms
    178 2018-11-02 15:34:30,871 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    179 2018-11-02 15:34:30,872 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    180 2018-11-02 15:34:30,876 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 69.0 ms, request time: 4.2 ms, frame delay=0ms
    181 2018-11-02 15:34:30,877 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    182 2018-11-02 15:34:30,877 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    183 2018-11-02 15:34:30,920 compress:  42.8ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   0.3%  ( 6128KB to    17KB), sequence    29, client_options={u'speed': 91, u'frame': 2, u'pts': 643, 'csc': 'YUV444P', u'quality': 49}
    184 2018-11-02 15:34:30,945 send_delayed for wid 2, batch delay is 63ms, elapsed time is 63ms
    185 2018-11-02 15:34:30,946 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    186 2018-11-02 15:34:30,946 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    187 2018-11-02 15:34:30,951 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 69.3 ms, request time: 4.3 ms, frame delay=0ms
    188 2018-11-02 15:34:30,951 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    189 2018-11-02 15:34:30,952 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    190 2018-11-02 15:34:30,991 compress:  39.1ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   0.3%  ( 6128KB to    16KB), sequence    30, client_options={u'speed': 91, u'frame': 3, u'pts': 718, 'csc': 'YUV444P', u'quality': 49}
    191 2018-11-02 15:34:31,042 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 63, elapsed time is 63ms
    192 2018-11-02 15:34:31,050 send_delayed for wid 2, batch delay is 63ms, elapsed time is 71ms
    193 2018-11-02 15:34:31,050 send_delayed_regions: bytes_cost=1296304, bytes_threshold=941354, pixel_count=1295280
    194 2018-11-02 15:34:31,051 send_delayed_regions: using full window update 1636x959 as  auto, from <bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    195 2018-11-02 15:34:31,055 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  -  auto), elapsed time: 76.9 ms, request time: 4.6 ms, frame delay=0ms
    196 2018-11-02 15:34:31,056 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'auto')
    197 2018-11-02 15:34:31,056 do_video_encode(auto, XShmImageWrapper(BGRX: 0, 0, 1636, 959), {})
    198 2018-11-02 15:34:31,100 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    199 2018-11-02 15:34:31,107 update_encoding_options(False) wid=2, want_alpha=False, speed=91, quality=74, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    200 2018-11-02 15:34:31,107 VideoSubregion(None).identify_video_subregion(..)
    201 2018-11-02 15:34:31,108 identify_video_subregion(1636, 959, 64, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840)], maxlen=400))
    202 2018-11-02 15:34:31,110 setting new region rectangle(3, 27, 1542, 840): only region damaged
    203 2018-11-02 15:34:31,110 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 27200880, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    204 2018-11-02 15:34:31,111 score((27200880, 0))=105, damaged=100%
    205 2018-11-02 15:34:31,119 compress:  62.3ms for 1636x958  pixels at    0,0    for wid=2     using      h265 with ratio   0.3%  ( 6128KB to    19KB), sequence    31, client_options={u'speed': 91, u'frame': 4, u'pts': 822, 'csc': 'YUV444P', u'quality': 49}
    206 2018-11-02 15:34:31,131 send_delayed for wid 2, batch delay is 50ms, elapsed time is 63ms
    207 2018-11-02 15:34:31,136 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 68.7 ms, request time: 4.3 ms, frame delay=0ms
    208 2018-11-02 15:34:31,197 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    209 2018-11-02 15:34:31,199 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    210 2018-11-02 15:34:31,201 make_instance() nvenc - instance count=0
    211 2018-11-02 15:34:31,676 send_delayed for wid 2, batch delay is 50ms, elapsed time is 479ms
    212 2018-11-02 15:34:31,684 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 487.5 ms, request time: 6.9 ms, frame delay=0ms
    213 2018-11-02 15:34:31,762 compress: 563.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   2.3%  ( 5059KB to   114KB), sequence    32, client_options={u'speed': 91, u'frame': 0, u'pts': 0, 'csc': 'YUV444P', u'quality': 74}
    214 2018-11-02 15:34:31,763 send_delayed for wid 2, batch delay is 50ms, elapsed time is 51ms
    215 2018-11-02 15:34:31,764 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    216 2018-11-02 15:34:31,765 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    217 2018-11-02 15:34:31,771 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 59.5 ms, request time: 5.5 ms, frame delay=0ms
    218 2018-11-02 15:34:31,795 compress:  29.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   2.1%  ( 5059KB to   106KB), sequence    33, client_options={u'speed': 91, u'frame': 1, u'pts': 546, 'csc': 'YUV444P', u'quality': 74}
    219 2018-11-02 15:34:31,795 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    220 2018-11-02 15:34:31,795 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    221 2018-11-02 15:34:31,818 compress:  22.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.5%  ( 5059KB to   228KB), sequence    34, client_options={u'speed': 91, u'frame': 2, u'pts': 633, 'csc': 'YUV444P', u'quality': 74}
    222 2018-11-02 15:34:31,832 send_delayed for wid 2, batch delay is 50ms, elapsed time is 51ms
    223 2018-11-02 15:34:31,840 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.9 ms, request time: 7.2 ms, frame delay=0ms
    224 2018-11-02 15:34:31,841 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    225 2018-11-02 15:34:31,841 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    226 2018-11-02 15:34:31,879 compress:  38.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.7%  ( 5059KB to   185KB), sequence    35, client_options={u'speed': 91, u'frame': 3, u'pts': 701, 'csc': 'YUV444P', u'quality': 74}
    227 2018-11-02 15:34:31,897 send_delayed for wid 2, batch delay is 50ms, elapsed time is 50ms
    228 2018-11-02 15:34:31,902 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 55.6 ms, request time: 4.2 ms, frame delay=0ms
    229 2018-11-02 15:34:31,903 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    230 2018-11-02 15:34:31,903 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    231 2018-11-02 15:34:31,950 compress:  46.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.3%  ( 5059KB to   166KB), sequence    36, client_options={u'speed': 91, u'frame': 4, u'pts': 766, 'csc': 'YUV444P', u'quality': 74}
    232 2018-11-02 15:34:31,962 send_delayed for wid 2, batch delay is 50ms, elapsed time is 51ms
    233 2018-11-02 15:34:31,967 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 55.4 ms, request time: 3.8 ms, frame delay=0ms
    234 2018-11-02 15:34:31,967 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    235 2018-11-02 15:34:31,968 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    236 2018-11-02 15:34:32,015 compress:  47.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.8%  ( 5059KB to   194KB), sequence    37, client_options={u'speed': 91, u'frame': 5, u'pts': 831, 'csc': 'YUV444P', u'quality': 74}
    237 2018-11-02 15:34:32,029 send_delayed for wid 2, batch delay is 50ms, elapsed time is 50ms
    238 2018-11-02 15:34:32,034 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 55.8 ms, request time: 4.9 ms, frame delay=0ms
    239 2018-11-02 15:34:32,036 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    240 2018-11-02 15:34:32,036 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    241 2018-11-02 15:34:32,068 compress:  31.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.5%  ( 5059KB to   174KB), sequence    38, client_options={u'speed': 91, u'frame': 6, u'pts': 898, 'csc': 'YUV444P', u'quality': 74}
    242 2018-11-02 15:34:32,086 send_delayed for wid 2, batch delay is 50ms, elapsed time is 50ms
    243 2018-11-02 15:34:32,091 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 55.4 ms, request time: 3.9 ms, frame delay=0ms
    244 2018-11-02 15:34:32,092 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    245 2018-11-02 15:34:32,093 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    246 2018-11-02 15:34:32,101 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    247 2018-11-02 15:34:32,104 update_encoding_options(False) wid=2, want_alpha=False, speed=92, quality=53, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    248 2018-11-02 15:34:32,105 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    249 2018-11-02 15:34:32,105 identify_video_subregion(1636, 959, 72, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840)], maxlen=400))
    250 2018-11-02 15:34:32,106 identify video: waiting for more damage events (8) counters: 64 / 72
    251 2018-11-02 15:34:32,142 send_delayed for wid 2, batch delay is 53ms, elapsed time is 50ms
    252 2018-11-02 15:34:32,149 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 56.8 ms, request time: 5.9 ms, frame delay=0ms
    253 2018-11-02 15:34:32,149 compress:  56.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.7%  ( 5059KB to   185KB), sequence    39, client_options={u'speed': 91, u'frame': 7, u'pts': 955, 'csc': 'YUV444P', u'quality': 74}
    254 2018-11-02 15:34:32,151 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    255 2018-11-02 15:34:32,151 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    256 2018-11-02 15:34:32,192 compress:  41.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.1%  ( 5059KB to   259KB), sequence    40, client_options={u'speed': 92, u'frame': 8, u'pts': 1011, 'csc': 'YUV444P', u'quality': 53}
    257 2018-11-02 15:34:32,207 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    258 2018-11-02 15:34:32,212 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.6 ms, request time: 4.1 ms, frame delay=0ms
    259 2018-11-02 15:34:32,212 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    260 2018-11-02 15:34:32,213 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    261 2018-11-02 15:34:32,256 compress:  43.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.1%  ( 5059KB to   411KB), sequence    41, client_options={u'speed': 92, u'frame': 9, u'pts': 1076, 'csc': 'YUV444P', u'quality': 53}
    262 2018-11-02 15:34:32,268 send_delayed for wid 2, batch delay is 53ms, elapsed time is 54ms
    263 2018-11-02 15:34:32,272 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.5 ms, request time: 3.6 ms, frame delay=0ms
    264 2018-11-02 15:34:32,274 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    265 2018-11-02 15:34:32,274 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    266 2018-11-02 15:34:32,314 compress:  39.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.8%  ( 5059KB to   395KB), sequence    42, client_options={u'speed': 92, u'frame': 10, u'pts': 1137, 'csc': 'YUV444P', u'quality': 53}
    267 2018-11-02 15:34:32,336 send_delayed for wid 2, batch delay is 53ms, elapsed time is 54ms
    268 2018-11-02 15:34:32,341 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.8 ms, request time: 4.1 ms, frame delay=0ms
    269 2018-11-02 15:34:32,341 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    270 2018-11-02 15:34:32,341 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    271 2018-11-02 15:34:32,379 compress:  38.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.0%  ( 5059KB to   404KB), sequence    43, client_options={u'speed': 92, u'frame': 11, u'pts': 1205, 'csc': 'YUV444P', u'quality': 53}
    272 2018-11-02 15:34:32,400 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    273 2018-11-02 15:34:32,405 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.9 ms, request time: 3.9 ms, frame delay=0ms
    274 2018-11-02 15:34:32,405 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    275 2018-11-02 15:34:32,406 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    276 2018-11-02 15:34:32,442 compress:  36.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.8%  ( 5059KB to   445KB), sequence    44, client_options={u'speed': 92, u'frame': 12, u'pts': 1269, 'csc': 'YUV444P', u'quality': 53}
    277 2018-11-02 15:34:32,469 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    278 2018-11-02 15:34:32,475 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 59.4 ms, request time: 5.1 ms, frame delay=0ms
    279 2018-11-02 15:34:32,475 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    280 2018-11-02 15:34:32,476 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    281 2018-11-02 15:34:32,515 compress:  38.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.7%  ( 5059KB to   541KB), sequence    45, client_options={u'speed': 92, u'frame': 13, u'pts': 1338, 'csc': 'YUV444P', u'quality': 53}
    282 2018-11-02 15:34:32,533 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    283 2018-11-02 15:34:32,546 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 65.8 ms, request time: 11.6 ms, frame delay=0ms
    284 2018-11-02 15:34:32,549 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    285 2018-11-02 15:34:32,550 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    286 2018-11-02 15:34:32,575 compress:  25.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.8%  ( 5059KB to   443KB), sequence    46, client_options={u'speed': 92, u'frame': 14, u'pts': 1403, 'csc': 'YUV444P', u'quality': 53}
    287 2018-11-02 15:34:32,601 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    288 2018-11-02 15:34:32,605 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.7 ms, request time: 3.7 ms, frame delay=0ms
    289 2018-11-02 15:34:32,606 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    290 2018-11-02 15:34:32,606 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    291 2018-11-02 15:34:32,631 compress:  24.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.0%  ( 5059KB to   405KB), sequence    47, client_options={u'speed': 92, u'frame': 15, u'pts': 1470, 'csc': 'YUV444P', u'quality': 53}
    292 2018-11-02 15:34:32,661 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    293 2018-11-02 15:34:32,665 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.6 ms, request time: 3.6 ms, frame delay=0ms
    294 2018-11-02 15:34:32,665 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    295 2018-11-02 15:34:32,666 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    296 2018-11-02 15:34:32,701 compress:  35.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.6%  ( 5059KB to   382KB), sequence    48, client_options={u'speed': 92, u'frame': 16, u'pts': 1529, 'csc': 'YUV444P', u'quality': 53}
    297 2018-11-02 15:34:32,724 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    298 2018-11-02 15:34:32,729 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.8 ms, request time: 4.9 ms, frame delay=0ms
    299 2018-11-02 15:34:32,730 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    300 2018-11-02 15:34:32,731 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    301 2018-11-02 15:34:32,774 compress:  43.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   9.6%  ( 5059KB to   484KB), sequence    49, client_options={u'speed': 92, u'frame': 17, u'pts': 1593, 'csc': 'YUV444P', u'quality': 53}
    302 2018-11-02 15:34:32,784 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    303 2018-11-02 15:34:32,788 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.0 ms, request time: 3.6 ms, frame delay=0ms
    304 2018-11-02 15:34:32,789 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    305 2018-11-02 15:34:32,789 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    306 2018-11-02 15:34:32,829 compress:  40.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.1%  ( 5059KB to   307KB), sequence    50, client_options={u'speed': 92, u'frame': 18, u'pts': 1652, 'csc': 'YUV444P', u'quality': 53}
    307 2018-11-02 15:34:32,844 send_delayed for wid 2, batch delay is 53ms, elapsed time is 54ms
    308 2018-11-02 15:34:32,848 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.9 ms, request time: 3.3 ms, frame delay=0ms
    309 2018-11-02 15:34:32,848 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    310 2018-11-02 15:34:32,848 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    311 2018-11-02 15:34:32,888 compress:  39.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.0%  ( 5059KB to   402KB), sequence    51, client_options={u'speed': 92, u'frame': 19, u'pts': 1712, 'csc': 'YUV444P', u'quality': 53}
    312 2018-11-02 15:34:32,912 send_delayed for wid 2, batch delay is 53ms, elapsed time is 54ms
    313 2018-11-02 15:34:32,918 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 59.8 ms, request time: 5.0 ms, frame delay=0ms
    314 2018-11-02 15:34:32,919 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    315 2018-11-02 15:34:32,919 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    316 2018-11-02 15:34:32,954 compress:  34.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.3%  ( 5059KB to   420KB), sequence    52, client_options={u'speed': 92, u'frame': 20, u'pts': 1783, 'csc': 'YUV444P', u'quality': 53}
    317 2018-11-02 15:34:32,972 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    318 2018-11-02 15:34:32,976 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.0 ms, request time: 3.3 ms, frame delay=0ms
    319 2018-11-02 15:34:32,977 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    320 2018-11-02 15:34:32,977 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    321 2018-11-02 15:34:33,020 compress:  42.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.8%  ( 5059KB to   594KB), sequence    53, client_options={u'speed': 92, u'frame': 21, u'pts': 1840, 'csc': 'YUV444P', u'quality': 53}
    322 2018-11-02 15:34:33,030 send_delayed for wid 2, batch delay is 53ms, elapsed time is 53ms
    323 2018-11-02 15:34:33,034 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.6 ms, request time: 3.7 ms, frame delay=0ms
    324 2018-11-02 15:34:33,034 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    325 2018-11-02 15:34:33,035 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    326 2018-11-02 15:34:33,074 compress:  39.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.3%  ( 5059KB to   572KB), sequence    54, client_options={u'speed': 92, u'frame': 22, u'pts': 1898, 'csc': 'YUV444P', u'quality': 53}
    327 2018-11-02 15:34:33,091 send_delayed for wid 2, batch delay is 53ms, elapsed time is 54ms
    328 2018-11-02 15:34:33,096 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 60.0 ms, request time: 5.2 ms, frame delay=0ms
    329 2018-11-02 15:34:33,098 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    330 2018-11-02 15:34:33,098 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    331 2018-11-02 15:34:33,103 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    332 2018-11-02 15:34:33,106 update_encoding_options(False) wid=2, want_alpha=False, speed=92, quality=48, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    333 2018-11-02 15:34:33,107 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    334 2018-11-02 15:34:33,107 identify_video_subregion(1636, 959, 88, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840)], maxlen=400))
    335 2018-11-02 15:34:33,109 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 49220640, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    336 2018-11-02 15:34:33,109 score((49220640, 0))=105, damaged=100%
    337 2018-11-02 15:34:33,151 send_delayed for wid 2, batch delay is 41ms, elapsed time is 53ms
    338 2018-11-02 15:34:33,156 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 58.4 ms, request time: 4.0 ms, frame delay=0ms
    339 2018-11-02 15:34:33,157 compress:  59.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.5%  ( 5059KB to   580KB), sequence    55, client_options={u'speed': 92, u'frame': 23, u'pts': 1961, 'csc': 'YUV444P', u'quality': 53}
    340 2018-11-02 15:34:33,160 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    341 2018-11-02 15:34:33,160 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    342 2018-11-02 15:34:33,204 compress:  43.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  13.7%  ( 5059KB to   691KB), sequence    56, client_options={u'speed': 92, u'frame': 24, u'pts': 2019, 'csc': 'YUV444P', u'quality': 48}
    343 2018-11-02 15:34:33,204 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 41, elapsed time is 42ms
    344 2018-11-02 15:34:33,210 send_delayed for wid 2, batch delay is 41ms, elapsed time is 47ms
    345 2018-11-02 15:34:33,214 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 51.9 ms, request time: 3.8 ms, frame delay=0ms
    346 2018-11-02 15:34:33,215 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    347 2018-11-02 15:34:33,215 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    348 2018-11-02 15:34:33,253 compress:  37.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  12.2%  ( 5059KB to   618KB), sequence    57, client_options={u'speed': 92, u'frame': 25, u'pts': 2078, 'csc': 'YUV444P', u'quality': 48}
    349 2018-11-02 15:34:33,268 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    350 2018-11-02 15:34:33,273 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.9 ms, request time: 3.8 ms, frame delay=0ms
    351 2018-11-02 15:34:33,273 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    352 2018-11-02 15:34:33,274 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    353 2018-11-02 15:34:33,316 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    354 2018-11-02 15:34:33,317 compress:  42.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.4%  ( 5059KB to   574KB), sequence    58, client_options={u'speed': 92, u'frame': 26, u'pts': 2137, 'csc': 'YUV444P', u'quality': 48}
    355 2018-11-02 15:34:33,321 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.7 ms, request time: 3.7 ms, frame delay=0ms
    356 2018-11-02 15:34:33,322 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    357 2018-11-02 15:34:33,323 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    358 2018-11-02 15:34:33,361 compress:  37.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   9.3%  ( 5059KB to   470KB), sequence    59, client_options={u'speed': 92, u'frame': 27, u'pts': 2185, 'csc': 'YUV444P', u'quality': 48}
    359 2018-11-02 15:34:33,365 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    360 2018-11-02 15:34:33,369 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.7 ms, request time: 3.6 ms, frame delay=0ms
    361 2018-11-02 15:34:33,370 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    362 2018-11-02 15:34:33,370 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    363 2018-11-02 15:34:33,411 compress:  40.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  14.8%  ( 5059KB to   750KB), sequence    60, client_options={u'speed': 92, u'frame': 28, u'pts': 2233, 'csc': 'YUV444P', u'quality': 48}
    364 2018-11-02 15:34:33,422 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    365 2018-11-02 15:34:33,426 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.0 ms, request time: 3.7 ms, frame delay=0ms
    366 2018-11-02 15:34:33,427 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    367 2018-11-02 15:34:33,428 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    368 2018-11-02 15:34:33,468 compress:  40.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.8%  ( 5059KB to   546KB), sequence    61, client_options={u'speed': 92, u'frame': 29, u'pts': 2290, 'csc': 'YUV444P', u'quality': 48}
    369 2018-11-02 15:34:33,471 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 41, elapsed time is 41ms
    370 2018-11-02 15:34:33,474 send_delayed for wid 2, batch delay is 41ms, elapsed time is 45ms
    371 2018-11-02 15:34:33,479 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 49.5 ms, request time: 3.9 ms, frame delay=0ms
    372 2018-11-02 15:34:33,479 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    373 2018-11-02 15:34:33,479 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    374 2018-11-02 15:34:33,516 compress:  36.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.8%  ( 5059KB to   445KB), sequence    62, client_options={u'speed': 92, u'frame': 30, u'pts': 2343, 'csc': 'YUV444P', u'quality': 48}
    375 2018-11-02 15:34:33,528 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    376 2018-11-02 15:34:33,533 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.7 ms, request time: 3.9 ms, frame delay=0ms
    377 2018-11-02 15:34:33,533 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    378 2018-11-02 15:34:33,533 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    379 2018-11-02 15:34:33,564 compress:  31.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   9.6%  ( 5059KB to   485KB), sequence    63, client_options={u'speed': 92, u'frame': 31, u'pts': 2396, 'csc': 'YUV444P', u'quality': 48}
    380 2018-11-02 15:34:33,576 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    381 2018-11-02 15:34:33,581 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.5 ms, request time: 4.1 ms, frame delay=0ms
    382 2018-11-02 15:34:33,583 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    383 2018-11-02 15:34:33,584 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    384 2018-11-02 15:34:33,611 compress:  27.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.5%  ( 5059KB to   377KB), sequence    64, client_options={u'speed': 92, u'frame': 32, u'pts': 2445, 'csc': 'YUV444P', u'quality': 48}
    385 2018-11-02 15:34:33,625 send_delayed for wid 2, batch delay is 41ms, elapsed time is 42ms
    386 2018-11-02 15:34:33,630 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.2 ms, request time: 4.2 ms, frame delay=0ms
    387 2018-11-02 15:34:33,631 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    388 2018-11-02 15:34:33,631 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    389 2018-11-02 15:34:33,658 compress:  26.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.3%  ( 5059KB to   419KB), sequence    65, client_options={u'speed': 92, u'frame': 33, u'pts': 2493, 'csc': 'YUV444P', u'quality': 48}
    390 2018-11-02 15:34:33,672 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    391 2018-11-02 15:34:33,677 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.5 ms, request time: 4.0 ms, frame delay=0ms
    392 2018-11-02 15:34:33,678 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    393 2018-11-02 15:34:33,678 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    394 2018-11-02 15:34:33,704 compress:  25.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.0%  ( 5059KB to   355KB), sequence    66, client_options={u'speed': 92, u'frame': 34, u'pts': 2541, 'csc': 'YUV444P', u'quality': 48}
    395 2018-11-02 15:34:33,726 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    396 2018-11-02 15:34:33,732 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.9 ms, request time: 5.5 ms, frame delay=0ms
    397 2018-11-02 15:34:33,733 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    398 2018-11-02 15:34:33,734 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    399 2018-11-02 15:34:33,757 compress:  23.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.1%  ( 5059KB to   308KB), sequence    67, client_options={u'speed': 92, u'frame': 35, u'pts': 2596, 'csc': 'YUV444P', u'quality': 48}
    400 2018-11-02 15:34:33,775 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    401 2018-11-02 15:34:33,781 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.9 ms, request time: 5.6 ms, frame delay=0ms
    402 2018-11-02 15:34:33,782 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    403 2018-11-02 15:34:33,782 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    404 2018-11-02 15:34:33,804 compress:  21.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.6%  ( 5059KB to   282KB), sequence    68, client_options={u'speed': 92, u'frame': 36, u'pts': 2645, 'csc': 'YUV444P', u'quality': 48}
    405 2018-11-02 15:34:33,824 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    406 2018-11-02 15:34:33,830 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.9 ms, request time: 5.5 ms, frame delay=0ms
    407 2018-11-02 15:34:33,831 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    408 2018-11-02 15:34:33,831 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    409 2018-11-02 15:34:33,851 compress:  20.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.7%  ( 5059KB to   236KB), sequence    69, client_options={u'speed': 92, u'frame': 37, u'pts': 2694, 'csc': 'YUV444P', u'quality': 48}
    410 2018-11-02 15:34:33,872 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    411 2018-11-02 15:34:33,877 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.2 ms, request time: 4.0 ms, frame delay=0ms
    412 2018-11-02 15:34:33,877 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    413 2018-11-02 15:34:33,878 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    414 2018-11-02 15:34:33,923 compress:  45.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.4%  ( 5059KB to   222KB), sequence    70, client_options={u'speed': 92, u'frame': 38, u'pts': 2741, 'csc': 'YUV444P', u'quality': 48}
    415 2018-11-02 15:34:33,930 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    416 2018-11-02 15:34:33,934 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.7 ms, request time: 3.4 ms, frame delay=0ms
    417 2018-11-02 15:34:33,936 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    418 2018-11-02 15:34:33,936 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    419 2018-11-02 15:34:33,971 compress:  34.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.3%  ( 5059KB to   167KB), sequence    71, client_options={u'speed': 92, u'frame': 39, u'pts': 2798, 'csc': 'YUV444P', u'quality': 48}
    420 2018-11-02 15:34:33,994 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    421 2018-11-02 15:34:33,998 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.5 ms, request time: 3.5 ms, frame delay=0ms
    422 2018-11-02 15:34:33,999 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    423 2018-11-02 15:34:33,999 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    424 2018-11-02 15:34:34,033 compress:  34.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   2.1%  ( 5059KB to   104KB), sequence    72, client_options={u'speed': 92, u'frame': 40, u'pts': 2863, 'csc': 'YUV444P', u'quality': 48}
    425 2018-11-02 15:34:34,047 send_delayed for wid 2, batch delay is 41ms, elapsed time is 41ms
    426 2018-11-02 15:34:34,052 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.1 ms, request time: 3.7 ms, frame delay=0ms
    427 2018-11-02 15:34:34,052 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    428 2018-11-02 15:34:34,052 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    429 2018-11-02 15:34:34,074 compress:  21.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.1%  ( 5059KB to    54KB), sequence    73, client_options={u'speed': 92, u'frame': 41, u'pts': 2916, 'csc': 'YUV444P', u'quality': 48}
    430 2018-11-02 15:34:34,098 send_delayed for wid 2, batch delay is 41ms, elapsed time is 42ms
    431 2018-11-02 15:34:34,101 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.6 ms, request time: 3.2 ms, frame delay=0ms
    432 2018-11-02 15:34:34,102 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    433 2018-11-02 15:34:34,103 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    434 2018-11-02 15:34:34,104 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    435 2018-11-02 15:34:34,107 update_encoding_options(False) wid=2, want_alpha=False, speed=92, quality=91, bandwidth-limit=0, lossless threshold: 78 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    436 2018-11-02 15:34:34,107 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    437 2018-11-02 15:34:34,108 identify_video_subregion(1636, 959, 107, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840)], maxlen=400))
    438 2018-11-02 15:34:34,110 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 68649840, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    439 2018-11-02 15:34:34,110 score((68649840, 0))=105, damaged=100%
    440 2018-11-02 15:34:34,142 send_delayed for wid 2, batch delay is 32ms, elapsed time is 34ms
    441 2018-11-02 15:34:34,146 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.8 ms, request time: 3.4 ms, frame delay=0ms
    442 2018-11-02 15:34:34,152 compress:  47.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.2%  ( 5059KB to    60KB), sequence    74, client_options={u'speed': 92, u'frame': 42, u'pts': 2966, 'csc': 'YUV444P', u'quality': 48}
    443 2018-11-02 15:34:34,153 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    444 2018-11-02 15:34:34,153 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    445 2018-11-02 15:34:34,183 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    446 2018-11-02 15:34:34,188 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.5 ms, request time: 5.0 ms, frame delay=0ms
    447 2018-11-02 15:34:34,199 compress:  46.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.4%  ( 5059KB to    71KB), sequence    75, client_options={u'speed': 92, u'frame': 43, u'pts': 3010, 'csc': 'YUV444P', u'quality': 91}
    448 2018-11-02 15:34:34,200 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    449 2018-11-02 15:34:34,201 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    450 2018-11-02 15:34:34,251 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    451 2018-11-02 15:34:34,256 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 37.6 ms, request time: 4.0 ms, frame delay=0ms
    452 2018-11-02 15:34:34,256 compress:  55.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.3%  ( 5059KB to    67KB), sequence    76, client_options={u'speed': 92, u'frame': 44, u'pts': 3051, 'csc': 'YUV444P', u'quality': 91}
    453 2018-11-02 15:34:34,258 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    454 2018-11-02 15:34:34,258 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    455 2018-11-02 15:34:34,294 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    456 2018-11-02 15:34:34,298 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 36.9 ms, request time: 3.6 ms, frame delay=0ms
    457 2018-11-02 15:34:34,310 compress:  52.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   0.9%  ( 5059KB to    45KB), sequence    77, client_options={u'speed': 92, u'frame': 45, u'pts': 3120, 'csc': 'YUV444P', u'quality': 91}
    458 2018-11-02 15:34:34,311 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    459 2018-11-02 15:34:34,311 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    460 2018-11-02 15:34:34,351 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    461 2018-11-02 15:34:34,356 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 37.6 ms, request time: 4.4 ms, frame delay=0ms
    462 2018-11-02 15:34:34,356 compress:  45.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   0.5%  ( 5059KB to    23KB), sequence    78, client_options={u'speed': 92, u'frame': 46, u'pts': 3162, 'csc': 'YUV444P', u'quality': 91}
    463 2018-11-02 15:34:34,357 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    464 2018-11-02 15:34:34,358 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    465 2018-11-02 15:34:34,399 compress:  41.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.3%  ( 5059KB to    65KB), sequence    79, client_options={u'speed': 92, u'frame': 47, u'pts': 3220, 'csc': 'YUV444P', u'quality': 91}
    466 2018-11-02 15:34:34,408 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    467 2018-11-02 15:34:34,416 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.9 ms, request time: 6.9 ms, frame delay=0ms
    468 2018-11-02 15:34:34,416 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    469 2018-11-02 15:34:34,417 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    470 2018-11-02 15:34:34,451 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    471 2018-11-02 15:34:34,457 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.6 ms, request time: 5.8 ms, frame delay=0ms
    472 2018-11-02 15:34:34,473 compress:  56.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.8%  ( 5059KB to    91KB), sequence    80, client_options={u'speed': 92, u'frame': 48, u'pts': 3277, 'csc': 'YUV444P', u'quality': 91}
    473 2018-11-02 15:34:34,474 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    474 2018-11-02 15:34:34,475 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    475 2018-11-02 15:34:34,497 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    476 2018-11-02 15:34:34,504 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.8 ms, request time: 5.4 ms, frame delay=0ms
    477 2018-11-02 15:34:34,529 compress:  54.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.1%  ( 5059KB to   156KB), sequence    81, client_options={u'speed': 92, u'frame': 49, u'pts': 3320, 'csc': 'YUV444P', u'quality': 91}
    478 2018-11-02 15:34:34,530 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    479 2018-11-02 15:34:34,531 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    480 2018-11-02 15:34:34,571 compress:  40.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.6%  ( 5059KB to   234KB), sequence    82, client_options={u'speed': 92, u'frame': 50, u'pts': 3366, 'csc': 'YUV444P', u'quality': 91}
    481 2018-11-02 15:34:34,571 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    482 2018-11-02 15:34:34,577 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.7 ms, request time: 3.8 ms, frame delay=0ms
    483 2018-11-02 15:34:34,578 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    484 2018-11-02 15:34:34,578 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    485 2018-11-02 15:34:34,616 compress:  37.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.2%  ( 5059KB to   262KB), sequence    83, client_options={u'speed': 92, u'frame': 51, u'pts': 3441, 'csc': 'YUV444P', u'quality': 91}
    486 2018-11-02 15:34:34,626 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    487 2018-11-02 15:34:34,634 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 40.6 ms, request time: 7.0 ms, frame delay=0ms
    488 2018-11-02 15:34:34,635 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    489 2018-11-02 15:34:34,635 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    490 2018-11-02 15:34:34,667 compress:  32.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.4%  ( 5059KB to   221KB), sequence    84, client_options={u'speed': 92, u'frame': 52, u'pts': 3495, 'csc': 'YUV444P', u'quality': 91}
    491 2018-11-02 15:34:34,668 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    492 2018-11-02 15:34:34,673 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 36.5 ms, request time: 3.6 ms, frame delay=0ms
    493 2018-11-02 15:34:34,674 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    494 2018-11-02 15:34:34,675 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    495 2018-11-02 15:34:34,707 compress:  32.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.3%  ( 5059KB to   216KB), sequence    85, client_options={u'speed': 92, u'frame': 53, u'pts': 3537, 'csc': 'YUV444P', u'quality': 91}
    496 2018-11-02 15:34:34,722 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    497 2018-11-02 15:34:34,727 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 37.2 ms, request time: 3.7 ms, frame delay=0ms
    498 2018-11-02 15:34:34,727 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    499 2018-11-02 15:34:34,727 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    500 2018-11-02 15:34:34,746 compress:  19.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.1%  ( 5059KB to   208KB), sequence    86, client_options={u'speed': 92, u'frame': 54, u'pts': 3591, 'csc': 'YUV444P', u'quality': 91}
    501 2018-11-02 15:34:34,766 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    502 2018-11-02 15:34:34,772 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.9 ms, request time: 5.3 ms, frame delay=0ms
    503 2018-11-02 15:34:34,773 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    504 2018-11-02 15:34:34,773 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    505 2018-11-02 15:34:34,791 compress:  17.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.9%  ( 5059KB to   199KB), sequence    87, client_options={u'speed': 92, u'frame': 55, u'pts': 3636, 'csc': 'YUV444P', u'quality': 91}
    506 2018-11-02 15:34:34,805 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    507 2018-11-02 15:34:34,809 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 36.3 ms, request time: 3.3 ms, frame delay=0ms
    508 2018-11-02 15:34:34,809 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    509 2018-11-02 15:34:34,809 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    510 2018-11-02 15:34:34,827 compress:  17.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.4%  ( 5059KB to   221KB), sequence    88, client_options={u'speed': 92, u'frame': 56, u'pts': 3674, 'csc': 'YUV444P', u'quality': 91}
    511 2018-11-02 15:34:34,846 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    512 2018-11-02 15:34:34,851 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.6 ms, request time: 3.7 ms, frame delay=0ms
    513 2018-11-02 15:34:34,852 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    514 2018-11-02 15:34:34,852 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    515 2018-11-02 15:34:34,871 compress:  18.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.0%  ( 5059KB to   200KB), sequence    89, client_options={u'speed': 92, u'frame': 57, u'pts': 3716, 'csc': 'YUV444P', u'quality': 91}
    516 2018-11-02 15:34:34,895 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    517 2018-11-02 15:34:34,898 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 35.8 ms, request time: 3.0 ms, frame delay=0ms
    518 2018-11-02 15:34:34,898 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    519 2018-11-02 15:34:34,899 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    520 2018-11-02 15:34:34,937 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    521 2018-11-02 15:34:34,942 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 37.8 ms, request time: 4.3 ms, frame delay=0ms
    522 2018-11-02 15:34:34,949 compress:  49.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.0%  ( 5059KB to   149KB), sequence    90, client_options={u'speed': 92, u'frame': 58, u'pts': 3763, 'csc': 'YUV444P', u'quality': 91}
    523 2018-11-02 15:34:34,949 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    524 2018-11-02 15:34:34,951 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    525 2018-11-02 15:34:34,983 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    526 2018-11-02 15:34:34,990 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.3 ms, request time: 5.5 ms, frame delay=0ms
    527 2018-11-02 15:34:34,999 compress:  48.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.1%  ( 5059KB to   205KB), sequence    91, client_options={u'speed': 92, u'frame': 59, u'pts': 3806, 'csc': 'YUV444P', u'quality': 91}
    528 2018-11-02 15:34:35,000 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    529 2018-11-02 15:34:35,000 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    530 2018-11-02 15:34:35,045 compress:  45.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.2%  ( 5059KB to   212KB), sequence    92, client_options={u'speed': 92, u'frame': 60, u'pts': 3852, 'csc': 'YUV444P', u'quality': 91}
    531 2018-11-02 15:34:35,054 send_delayed for wid 2, batch delay is 32ms, elapsed time is 33ms
    532 2018-11-02 15:34:35,060 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.9 ms, request time: 5.9 ms, frame delay=0ms
    533 2018-11-02 15:34:35,061 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    534 2018-11-02 15:34:35,061 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    535 2018-11-02 15:34:35,100 send_delayed for wid 2, batch delay is 32ms, elapsed time is 32ms
    536 2018-11-02 15:34:35,106 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.0 ms, request time: 5.1 ms, frame delay=0ms
    537 2018-11-02 15:34:35,107 compress:  45.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.1%  ( 5059KB to   309KB), sequence    93, client_options={u'speed': 92, u'frame': 61, u'pts': 3922, 'csc': 'YUV444P', u'quality': 91}
    538 2018-11-02 15:34:35,109 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    539 2018-11-02 15:34:35,109 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    540 2018-11-02 15:34:35,110 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    541 2018-11-02 15:34:35,120 update_encoding_options(False) wid=2, want_alpha=False, speed=93, quality=93, bandwidth-limit=0, lossless threshold: 58 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    542 2018-11-02 15:34:35,121 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    543 2018-11-02 15:34:35,121 identify_video_subregion(1636, 959, 126, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840), (254305.9121144, 3, 27, 1542, 840), (254305.980578711, 3, 27, 1542, 840), (254306.023403588, 3, 27, 1542, 840), (254306.080442028, 3, 27, 1542, 840), (254306.138120773, 3, 27, 1542, 840), (254306.180227414, 3, 27, 1542, 840), (254306.226216848, 3, 27, 1542, 840), (254306.300137204, 3, 27, 1542, 840), (254306.3555247, 3, 27, 1542, 840), (254306.398411768, 3, 27, 1542, 840), (254306.45181701, 3, 27, 1542, 840), (254306.495310643, 3, 27, 1542, 840), (254306.535049009, 3, 27, 1542, 840), (254306.575116322, 3, 27, 1542, 840), (254306.624620193, 3, 27, 1542, 840), (254306.666689384, 3, 27, 1542, 840), (254306.712642382, 3, 27, 1542, 840), (254306.782550698, 3, 27, 1542, 840), (254306.829932492, 3, 27, 1542, 840)], maxlen=400))
    544 2018-11-02 15:34:35,125 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 86783760, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    545 2018-11-02 15:34:35,125 score((86783760, 0))=105, damaged=100%
    546 2018-11-02 15:34:35,151 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    547 2018-11-02 15:34:35,157 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 29.9 ms, request time: 4.9 ms, frame delay=0ms
    548 2018-11-02 15:34:35,174 compress:  64.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.9%  ( 5059KB to   402KB), sequence    94, client_options={u'speed': 92, u'frame': 62, u'pts': 3969, 'csc': 'YUV444P', u'quality': 91}
    549 2018-11-02 15:34:35,175 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    550 2018-11-02 15:34:35,175 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    551 2018-11-02 15:34:35,202 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    552 2018-11-02 15:34:35,207 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 29.1 ms, request time: 3.6 ms, frame delay=0ms
    553 2018-11-02 15:34:35,225 compress:  50.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.8%  ( 5059KB to   445KB), sequence    95, client_options={u'speed': 93, u'frame': 63, u'pts': 4020, 'csc': 'YUV444P', u'quality': 93}
    554 2018-11-02 15:34:35,227 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    555 2018-11-02 15:34:35,228 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    556 2018-11-02 15:34:35,276 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    557 2018-11-02 15:34:35,277 compress:  49.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.9%  ( 5059KB to   452KB), sequence    96, client_options={u'speed': 93, u'frame': 64, u'pts': 4071, 'csc': 'YUV444P', u'quality': 93}
    558 2018-11-02 15:34:35,282 send_delayed for wid 2, batch delay is 24ms, elapsed time is 31ms
    559 2018-11-02 15:34:35,291 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.6 ms, request time: 7.6 ms, frame delay=0ms
    560 2018-11-02 15:34:35,292 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    561 2018-11-02 15:34:35,292 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    562 2018-11-02 15:34:35,419 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    563 2018-11-02 15:34:35,426 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 31.9 ms, request time: 6.0 ms, frame delay=0ms
    564 2018-11-02 15:34:35,440 compress: 148.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.9%  ( 5059KB to   603KB), sequence    97, client_options={u'speed': 93, u'frame': 65, u'pts': 4151, 'csc': 'YUV444P', u'quality': 93}
    565 2018-11-02 15:34:35,441 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    566 2018-11-02 15:34:35,442 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    567 2018-11-02 15:34:35,462 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    568 2018-11-02 15:34:35,469 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 31.7 ms, request time: 6.3 ms, frame delay=0ms
    569 2018-11-02 15:34:35,493 compress:  51.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  13.5%  ( 5059KB to   684KB), sequence    98, client_options={u'speed': 93, u'frame': 66, u'pts': 4289, 'csc': 'YUV444P', u'quality': 93}
    570 2018-11-02 15:34:35,494 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    571 2018-11-02 15:34:35,495 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    572 2018-11-02 15:34:35,499 send_delayed for wid 2, batch delay is 24ms, elapsed time is 28ms
    573 2018-11-02 15:34:35,504 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 34.0 ms, request time: 4.7 ms, frame delay=0ms
    574 2018-11-02 15:34:35,540 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    575 2018-11-02 15:34:35,542 compress:  47.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.1%  ( 5059KB to   510KB), sequence    99, client_options={u'speed': 93, u'frame': 67, u'pts': 4331, 'csc': 'YUV444P', u'quality': 93}
    576 2018-11-02 15:34:35,542 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    577 2018-11-02 15:34:35,543 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    578 2018-11-02 15:34:35,549 send_delayed for wid 2, batch delay is 24ms, elapsed time is 32ms
    579 2018-11-02 15:34:35,554 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.3 ms, request time: 4.2 ms, frame delay=0ms
    580 2018-11-02 15:34:35,592 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    581 2018-11-02 15:34:35,597 compress:  54.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.5%  ( 5059KB to   529KB), sequence   100, client_options={u'speed': 93, u'frame': 68, u'pts': 4368, 'csc': 'YUV444P', u'quality': 93}
    582 2018-11-02 15:34:35,599 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    583 2018-11-02 15:34:35,599 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    584 2018-11-02 15:34:35,604 send_delayed for wid 2, batch delay is 24ms, elapsed time is 36ms
    585 2018-11-02 15:34:35,608 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 40.8 ms, request time: 3.8 ms, frame delay=0ms
    586 2018-11-02 15:34:35,639 compress:  39.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  12.9%  ( 5059KB to   653KB), sequence   101, client_options={u'speed': 93, u'frame': 69, u'pts': 4418, 'csc': 'YUV444P', u'quality': 93}
    587 2018-11-02 15:34:35,640 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    588 2018-11-02 15:34:35,640 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    589 2018-11-02 15:34:35,648 send_delayed for wid 2, batch delay is 24ms, elapsed time is 25ms
    590 2018-11-02 15:34:35,652 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 29.0 ms, request time: 3.3 ms, frame delay=0ms
    591 2018-11-02 15:34:35,687 compress:  46.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  13.2%  ( 5059KB to   666KB), sequence   102, client_options={u'speed': 93, u'frame': 70, u'pts': 4472, 'csc': 'YUV444P', u'quality': 93}
    592 2018-11-02 15:34:35,687 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    593 2018-11-02 15:34:35,688 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    594 2018-11-02 15:34:35,689 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    595 2018-11-02 15:34:35,693 send_delayed for wid 2, batch delay is 24ms, elapsed time is 30ms
    596 2018-11-02 15:34:35,698 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 35.4 ms, request time: 3.7 ms, frame delay=0ms
    597 2018-11-02 15:34:35,735 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    598 2018-11-02 15:34:35,741 compress:  52.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  12.3%  ( 5059KB to   620KB), sequence   103, client_options={u'speed': 93, u'frame': 71, u'pts': 4516, 'csc': 'YUV444P', u'quality': 93}
    599 2018-11-02 15:34:35,742 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    600 2018-11-02 15:34:35,743 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    601 2018-11-02 15:34:35,745 send_delayed for wid 2, batch delay is 24ms, elapsed time is 34ms
    602 2018-11-02 15:34:35,750 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.6 ms, request time: 4.4 ms, frame delay=0ms
    603 2018-11-02 15:34:35,787 compress:  44.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.2%  ( 5059KB to   514KB), sequence   104, client_options={u'speed': 93, u'frame': 72, u'pts': 4562, 'csc': 'YUV444P', u'quality': 93}
    604 2018-11-02 15:34:35,787 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    605 2018-11-02 15:34:35,788 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    606 2018-11-02 15:34:35,792 send_delayed for wid 2, batch delay is 24ms, elapsed time is 25ms
    607 2018-11-02 15:34:35,796 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 30.1 ms, request time: 3.9 ms, frame delay=0ms
    608 2018-11-02 15:34:35,829 compress:  40.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.6%  ( 5059KB to   434KB), sequence   105, client_options={u'speed': 93, u'frame': 73, u'pts': 4614, 'csc': 'YUV444P', u'quality': 93}
    609 2018-11-02 15:34:35,829 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    610 2018-11-02 15:34:35,830 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    611 2018-11-02 15:34:35,835 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    612 2018-11-02 15:34:35,840 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 29.9 ms, request time: 4.5 ms, frame delay=0ms
    613 2018-11-02 15:34:35,877 compress:  46.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.7%  ( 5059KB to   389KB), sequence   106, client_options={u'speed': 93, u'frame': 74, u'pts': 4661, 'csc': 'YUV444P', u'quality': 93}
    614 2018-11-02 15:34:35,878 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    615 2018-11-02 15:34:35,879 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    616 2018-11-02 15:34:35,883 send_delayed for wid 2, batch delay is 24ms, elapsed time is 28ms
    617 2018-11-02 15:34:35,888 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 33.8 ms, request time: 4.1 ms, frame delay=0ms
    618 2018-11-02 15:34:35,923 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    619 2018-11-02 15:34:35,925 compress:  46.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.4%  ( 5059KB to   326KB), sequence   107, client_options={u'speed': 93, u'frame': 75, u'pts': 4704, 'csc': 'YUV444P', u'quality': 93}
    620 2018-11-02 15:34:35,926 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    621 2018-11-02 15:34:35,926 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    622 2018-11-02 15:34:35,930 send_delayed for wid 2, batch delay is 24ms, elapsed time is 31ms
    623 2018-11-02 15:34:35,935 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 35.9 ms, request time: 3.9 ms, frame delay=0ms
    624 2018-11-02 15:34:35,972 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 24, elapsed time is 24ms
    625 2018-11-02 15:34:35,975 send_delayed for wid 2, batch delay is 24ms, elapsed time is 27ms
    626 2018-11-02 15:34:35,981 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 33.0 ms, request time: 4.7 ms, frame delay=0ms
    627 2018-11-02 15:34:35,986 compress:  60.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.6%  ( 5059KB to   331KB), sequence   108, client_options={u'speed': 93, u'frame': 76, u'pts': 4752, 'csc': 'YUV444P', u'quality': 93}
    628 2018-11-02 15:34:35,987 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    629 2018-11-02 15:34:35,988 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    630 2018-11-02 15:34:36,024 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    631 2018-11-02 15:34:36,028 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 28.1 ms, request time: 3.2 ms, frame delay=0ms
    632 2018-11-02 15:34:36,032 compress:  44.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.0%  ( 5059KB to   356KB), sequence   109, client_options={u'speed': 93, u'frame': 77, u'pts': 4799, 'csc': 'YUV444P', u'quality': 93}
    633 2018-11-02 15:34:36,033 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    634 2018-11-02 15:34:36,033 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    635 2018-11-02 15:34:36,056 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    636 2018-11-02 15:34:36,062 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 30.6 ms, request time: 4.8 ms, frame delay=0ms
    637 2018-11-02 15:34:36,079 compress:  45.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.5%  ( 5059KB to   328KB), sequence   110, client_options={u'speed': 93, u'frame': 78, u'pts': 4843, 'csc': 'YUV444P', u'quality': 93}
    638 2018-11-02 15:34:36,080 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    639 2018-11-02 15:34:36,080 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    640 2018-11-02 15:34:36,100 send_delayed for wid 2, batch delay is 24ms, elapsed time is 24ms
    641 2018-11-02 15:34:36,106 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 30.7 ms, request time: 5.5 ms, frame delay=0ms
    642 2018-11-02 15:34:36,108 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    643 2018-11-02 15:34:36,113 update_encoding_options(False) wid=2, want_alpha=False, speed=93, quality=79, bandwidth-limit=0, lossless threshold: 58 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    644 2018-11-02 15:34:36,113 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    645 2018-11-02 15:34:36,113 identify_video_subregion(1636, 959, 146, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840), (254305.9121144, 3, 27, 1542, 840), (254305.980578711, 3, 27, 1542, 840), (254306.023403588, 3, 27, 1542, 840), (254306.080442028, 3, 27, 1542, 840), (254306.138120773, 3, 27, 1542, 840), (254306.180227414, 3, 27, 1542, 840), (254306.226216848, 3, 27, 1542, 840), (254306.300137204, 3, 27, 1542, 840), (254306.3555247, 3, 27, 1542, 840), (254306.398411768, 3, 27, 1542, 840), (254306.45181701, 3, 27, 1542, 840), (254306.495310643, 3, 27, 1542, 840), (254306.535049009, 3, 27, 1542, 840), (254306.575116322, 3, 27, 1542, 840), (254306.624620193, 3, 27, 1542, 840), (254306.666689384, 3, 27, 1542, 840), (254306.712642382, 3, 27, 1542, 840), (254306.782550698, 3, 27, 1542, 840), (254306.829932492, 3, 27, 1542, 840), (254306.889199471, 3, 27, 1542, 840), (254306.939899881, 3, 27, 1542, 840), (254307.013382361, 3, 27, 1542, 840), (254307.156670535, 3, 27, 1542, 840), (254307.199632298, 3, 27, 1542, 840), (254307.232650257, 3, 27, 1542, 840), (254307.278145914, 3, 27, 1542, 840), (254307.32953546, 3, 27, 1542, 840), (254307.385313569, 3, 27, 1542, 840), (254307.424847349, 3, 27, 1542, 840), (254307.47266029, 3, 27, 1542, 840), (254307.528546476, 3, 27, 1542, 840), (254307.572627196, 3, 27, 1542, 840), (254307.616676938, 3, 27, 1542, 840), (254307.661437913, 3, 27, 1542, 840), (254307.709902383, 3, 27, 1542, 840), (254307.762077649, 3, 27, 1542, 840), (254307.793653473, 3, 27, 1542, 840), (254307.837918686, 3, 27, 1542, 840), (254307.869631324, 3, 27, 1542, 840)], maxlen=400))
    646 2018-11-02 15:34:36,116 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 106212960, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    647 2018-11-02 15:34:36,117 score((106212960, 0))=105, damaged=100%
    648 2018-11-02 15:34:36,132 compress:  51.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.9%  ( 5059KB to   350KB), sequence   111, client_options={u'speed': 93, u'frame': 79, u'pts': 4892, 'csc': 'YUV444P', u'quality': 93}
    649 2018-11-02 15:34:36,132 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 20, elapsed time is 25ms
    650 2018-11-02 15:34:36,134 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    651 2018-11-02 15:34:36,134 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    652 2018-11-02 15:34:36,139 send_delayed for wid 2, batch delay is 20ms, elapsed time is 31ms
    653 2018-11-02 15:34:36,143 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 35.7 ms, request time: 3.6 ms, frame delay=0ms
    654 2018-11-02 15:34:36,171 send_delayed for wid 2, batch delay is 20ms, elapsed time is 15ms
    655 2018-11-02 15:34:36,178 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 21.8 ms, request time: 6.0 ms, frame delay=0ms
    656 2018-11-02 15:34:36,191 compress:  57.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.4%  ( 5059KB to   324KB), sequence   112, client_options={u'speed': 93, u'frame': 80, u'pts': 4925, 'csc': 'YUV444P', u'quality': 79}
    657 2018-11-02 15:34:36,192 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    658 2018-11-02 15:34:36,192 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    659 2018-11-02 15:34:36,231 send_delayed for wid 2, batch delay is 20ms, elapsed time is 17ms
    660 2018-11-02 15:34:36,235 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 21.6 ms, request time: 3.5 ms, frame delay=0ms
    661 2018-11-02 15:34:36,247 compress:  54.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.9%  ( 5059KB to   299KB), sequence   113, client_options={u'speed': 93, u'frame': 81, u'pts': 4970, 'csc': 'YUV444P', u'quality': 79}
    662 2018-11-02 15:34:36,248 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    663 2018-11-02 15:34:36,248 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    664 2018-11-02 15:34:36,261 send_delayed for wid 2, batch delay is 20ms, elapsed time is 20ms
    665 2018-11-02 15:34:36,265 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 24.5 ms, request time: 3.7 ms, frame delay=0ms
    666 2018-11-02 15:34:36,293 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 20, elapsed time is 22ms
    667 2018-11-02 15:34:36,301 compress:  53.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.8%  ( 5059KB to   395KB), sequence   114, client_options={u'speed': 93, u'frame': 82, u'pts': 5007, 'csc': 'YUV444P', u'quality': 79}
    668 2018-11-02 15:34:36,302 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    669 2018-11-02 15:34:36,303 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    670 2018-11-02 15:34:36,307 send_delayed for wid 2, batch delay is 20ms, elapsed time is 36ms
    671 2018-11-02 15:34:36,313 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 42.8 ms, request time: 5.6 ms, frame delay=0ms
    672 2018-11-02 15:34:36,347 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 20, elapsed time is 25ms
    673 2018-11-02 15:34:36,353 compress:  50.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.5%  ( 5059KB to   430KB), sequence   115, client_options={u'speed': 93, u'frame': 83, u'pts': 5040, 'csc': 'YUV444P', u'quality': 79}
    674 2018-11-02 15:34:36,354 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    675 2018-11-02 15:34:36,355 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    676 2018-11-02 15:34:36,360 send_delayed for wid 2, batch delay is 20ms, elapsed time is 37ms
    677 2018-11-02 15:34:36,364 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 42.2 ms, request time: 3.7 ms, frame delay=0ms
    678 2018-11-02 15:34:36,407 compress:  52.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.3%  ( 5059KB to   369KB), sequence   116, client_options={u'speed': 93, u'frame': 84, u'pts': 5099, 'csc': 'YUV444P', u'quality': 79}
    679 2018-11-02 15:34:36,408 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    680 2018-11-02 15:34:36,410 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    681 2018-11-02 15:34:36,410 send_delayed for wid 2, batch delay is 20ms, elapsed time is 31ms
    682 2018-11-02 15:34:36,418 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 38.9 ms, request time: 6.9 ms, frame delay=0ms
    683 2018-11-02 15:34:36,455 compress:  45.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.7%  ( 5059KB to   337KB), sequence   117, client_options={u'speed': 93, u'frame': 85, u'pts': 5129, 'csc': 'YUV444P', u'quality': 79}
    684 2018-11-02 15:34:36,456 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    685 2018-11-02 15:34:36,456 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    686 2018-11-02 15:34:36,457 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 20, elapsed time is 30ms
    687 2018-11-02 15:34:36,461 send_delayed for wid 2, batch delay is 20ms, elapsed time is 34ms
    688 2018-11-02 15:34:36,465 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 39.2 ms, request time: 3.7 ms, frame delay=0ms
    689 2018-11-02 15:34:36,507 compress:  50.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.6%  ( 5059KB to   434KB), sequence   118, client_options={u'speed': 93, u'frame': 86, u'pts': 5176, 'csc': 'YUV444P', u'quality': 79}
    690 2018-11-02 15:34:36,509 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    691 2018-11-02 15:34:36,509 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    692 2018-11-02 15:34:36,518 send_delayed for wid 2, batch delay is 20ms, elapsed time is 33ms
    693 2018-11-02 15:34:36,522 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 37.4 ms, request time: 3.5 ms, frame delay=0ms
    694 2018-11-02 15:34:36,562 send_delayed for wid 2, batch delay is 20ms, elapsed time is 35ms
    695 2018-11-02 15:34:36,567 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 41.3 ms, request time: 4.7 ms, frame delay=0ms
    696 2018-11-02 15:34:36,568 compress:  58.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.1%  ( 5059KB to   359KB), sequence   119, client_options={u'speed': 93, u'frame': 87, u'pts': 5228, 'csc': 'YUV444P', u'quality': 79}
    697 2018-11-02 15:34:36,569 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    698 2018-11-02 15:34:36,569 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    699 2018-11-02 15:34:36,614 compress:  45.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.2%  ( 5059KB to   314KB), sequence   120, client_options={u'speed': 93, u'frame': 88, u'pts': 5279, 'csc': 'YUV444P', u'quality': 79}
    700 2018-11-02 15:34:36,616 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 20, elapsed time is 37ms
    701 2018-11-02 15:34:36,616 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    702 2018-11-02 15:34:36,616 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    703 2018-11-02 15:34:36,622 send_delayed for wid 2, batch delay is 20ms, elapsed time is 43ms
    704 2018-11-02 15:34:36,628 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 49.7 ms, request time: 4.7 ms, frame delay=0ms
    705 2018-11-02 15:34:36,662 compress:  45.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.6%  ( 5059KB to   234KB), sequence   121, client_options={u'speed': 93, u'frame': 89, u'pts': 5329, 'csc': 'YUV444P', u'quality': 79}
    706 2018-11-02 15:34:36,663 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    707 2018-11-02 15:34:36,664 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    708 2018-11-02 15:34:36,680 send_delayed for wid 2, batch delay is 20ms, elapsed time is 40ms
    709 2018-11-02 15:34:36,685 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.9 ms, request time: 4.8 ms, frame delay=0ms
    710 2018-11-02 15:34:36,703 compress:  39.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.4%  ( 5059KB to   171KB), sequence   122, client_options={u'speed': 93, u'frame': 90, u'pts': 5387, 'csc': 'YUV444P', u'quality': 79}
    711 2018-11-02 15:34:36,706 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    712 2018-11-02 15:34:36,706 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    713 2018-11-02 15:34:36,727 send_delayed for wid 2, batch delay is 20ms, elapsed time is 40ms
    714 2018-11-02 15:34:36,733 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.6 ms, request time: 5.4 ms, frame delay=0ms
    715 2018-11-02 15:34:36,757 compress:  50.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.4%  ( 5059KB to   171KB), sequence   123, client_options={u'speed': 93, u'frame': 91, u'pts': 5431, 'csc': 'YUV444P', u'quality': 79}
    716 2018-11-02 15:34:36,758 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    717 2018-11-02 15:34:36,759 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    718 2018-11-02 15:34:36,793 send_delayed for wid 2, batch delay is 20ms, elapsed time is 46ms
    719 2018-11-02 15:34:36,799 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 52.5 ms, request time: 4.1 ms, frame delay=0ms
    720 2018-11-02 15:34:36,806 compress:  47.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.8%  ( 5059KB to   191KB), sequence   124, client_options={u'speed': 93, u'frame': 92, u'pts': 5491, 'csc': 'YUV444P', u'quality': 79}
    721 2018-11-02 15:34:36,808 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    722 2018-11-02 15:34:36,809 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    723 2018-11-02 15:34:36,851 compress:  42.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.5%  ( 5059KB to   179KB), sequence   125, client_options={u'speed': 93, u'frame': 93, u'pts': 5549, 'csc': 'YUV444P', u'quality': 79}
    724 2018-11-02 15:34:36,852 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    725 2018-11-02 15:34:36,853 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    726 2018-11-02 15:34:36,872 send_delayed for wid 2, batch delay is 20ms, elapsed time is 48ms
    727 2018-11-02 15:34:36,878 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 53.6 ms, request time: 4.7 ms, frame delay=0ms
    728 2018-11-02 15:34:36,905 compress:  52.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.3%  ( 5059KB to   215KB), sequence   126, client_options={u'speed': 93, u'frame': 94, u'pts': 5596, 'csc': 'YUV444P', u'quality': 79}
    729 2018-11-02 15:34:36,906 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    730 2018-11-02 15:34:36,907 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    731 2018-11-02 15:34:36,927 send_delayed for wid 2, batch delay is 20ms, elapsed time is 48ms
    732 2018-11-02 15:34:36,936 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 56.9 ms, request time: 7.9 ms, frame delay=0ms
    733 2018-11-02 15:34:36,967 compress:  60.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  10.6%  ( 5059KB to   538KB), sequence   127, client_options={u'speed': 93, u'frame': 95, u'pts': 5663, 'csc': 'YUV444P', u'quality': 79}
    734 2018-11-02 15:34:36,969 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    735 2018-11-02 15:34:36,971 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    736 2018-11-02 15:34:36,992 send_delayed for wid 2, batch delay is 20ms, elapsed time is 52ms
    737 2018-11-02 15:34:37,001 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 61.8 ms, request time: 8.0 ms, frame delay=0ms
    738 2018-11-02 15:34:37,022 compress:  51.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   9.1%  ( 5059KB to   458KB), sequence   128, client_options={u'speed': 93, u'frame': 96, u'pts': 5741, 'csc': 'YUV444P', u'quality': 79}
    739 2018-11-02 15:34:37,023 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    740 2018-11-02 15:34:37,023 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    741 2018-11-02 15:34:37,055 send_delayed for wid 2, batch delay is 20ms, elapsed time is 52ms
    742 2018-11-02 15:34:37,060 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 57.4 ms, request time: 4.1 ms, frame delay=0ms
    743 2018-11-02 15:34:37,075 compress:  51.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.4%  ( 5059KB to   274KB), sequence   129, client_options={u'speed': 93, u'frame': 97, u'pts': 5796, 'csc': 'YUV444P', u'quality': 79}
    744 2018-11-02 15:34:37,075 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    745 2018-11-02 15:34:37,076 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    746 2018-11-02 15:34:37,109 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    747 2018-11-02 15:34:37,115 update_encoding_options(False) wid=2, want_alpha=False, speed=93, quality=75, bandwidth-limit=0, lossless threshold: 58 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    748 2018-11-02 15:34:37,115 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    749 2018-11-02 15:34:37,116 identify_video_subregion(1636, 959, 164, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840), (254305.9121144, 3, 27, 1542, 840), (254305.980578711, 3, 27, 1542, 840), (254306.023403588, 3, 27, 1542, 840), (254306.080442028, 3, 27, 1542, 840), (254306.138120773, 3, 27, 1542, 840), (254306.180227414, 3, 27, 1542, 840), (254306.226216848, 3, 27, 1542, 840), (254306.300137204, 3, 27, 1542, 840), (254306.3555247, 3, 27, 1542, 840), (254306.398411768, 3, 27, 1542, 840), (254306.45181701, 3, 27, 1542, 840), (254306.495310643, 3, 27, 1542, 840), (254306.535049009, 3, 27, 1542, 840), (254306.575116322, 3, 27, 1542, 840), (254306.624620193, 3, 27, 1542, 840), (254306.666689384, 3, 27, 1542, 840), (254306.712642382, 3, 27, 1542, 840), (254306.782550698, 3, 27, 1542, 840), (254306.829932492, 3, 27, 1542, 840), (254306.889199471, 3, 27, 1542, 840), (254306.939899881, 3, 27, 1542, 840), (254307.013382361, 3, 27, 1542, 840), (254307.156670535, 3, 27, 1542, 840), (254307.199632298, 3, 27, 1542, 840), (254307.232650257, 3, 27, 1542, 840), (254307.278145914, 3, 27, 1542, 840), (254307.32953546, 3, 27, 1542, 840), (254307.385313569, 3, 27, 1542, 840), (254307.424847349, 3, 27, 1542, 840), (254307.47266029, 3, 27, 1542, 840), (254307.528546476, 3, 27, 1542, 840), (254307.572627196, 3, 27, 1542, 840), (254307.616676938, 3, 27, 1542, 840), (254307.661437913, 3, 27, 1542, 840), (254307.709902383, 3, 27, 1542, 840), (254307.762077649, 3, 27, 1542, 840), (254307.793653473, 3, 27, 1542, 840), (254307.837918686, 3, 27, 1542, 840), (254307.869631324, 3, 27, 1542, 840), (254307.918181873, 3, 27, 1542, 840), (254307.975707812, 3, 27, 1542, 840), (254308.00298798, 3, 27, 1542, 840), (254308.032981436, 3, 27, 1542, 840), (254308.084280327, 3, 27, 1542, 840), (254308.141611996, 3, 27, 1542, 840), (254308.188627639, 3, 27, 1542, 840), (254308.247306051, 3, 27, 1542, 840), (254308.288355728, 3, 27, 1542, 840), (254308.340309263, 3, 27, 1542, 840), (254308.401546193, 3, 27, 1542, 840), (254308.448516184, 3, 27, 1542, 840), (254308.509124105, 3, 27, 1542, 840), (254308.586308769, 3, 27, 1542, 840), (254308.641068902, 3, 27, 1542, 840), (254308.701582252, 3, 27, 1542, 840), (254308.764746672, 3, 27, 1542, 840), (254308.829314485, 3, 27, 1542, 840)], maxlen=400))
    750 2018-11-02 15:34:37,118 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 119165760, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    751 2018-11-02 15:34:37,119 score((119165760, 0))=105, damaged=100%
    752 2018-11-02 15:34:37,125 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 40, elapsed time is 57ms
    753 2018-11-02 15:34:37,129 send_delayed for wid 2, batch delay is 40ms, elapsed time is 61ms
    754 2018-11-02 15:34:37,134 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 67.0 ms, request time: 4.5 ms, frame delay=0ms
    755 2018-11-02 15:34:37,142 compress:  65.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   8.0%  ( 5059KB to   404KB), sequence   130, client_options={u'speed': 93, u'frame': 98, u'pts': 5863, 'csc': 'YUV444P', u'quality': 79}
    756 2018-11-02 15:34:37,142 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    757 2018-11-02 15:34:37,143 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    758 2018-11-02 15:34:37,187 compress:  44.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.3%  ( 5059KB to   368KB), sequence   131, client_options={u'speed': 93, u'frame': 99, u'pts': 5924, 'csc': 'YUV444P', u'quality': 75}
    759 2018-11-02 15:34:37,188 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    760 2018-11-02 15:34:37,188 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    761 2018-11-02 15:34:37,202 send_delayed for wid 2, batch delay is 40ms, elapsed time is 57ms
    762 2018-11-02 15:34:37,207 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 62.7 ms, request time: 4.2 ms, frame delay=0ms
    763 2018-11-02 15:34:37,233 compress:  45.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio  11.4%  ( 5059KB to   575KB), sequence   132, client_options={u'speed': 93, u'frame': 100, u'pts': 5998, 'csc': 'YUV444P', u'quality': 75}
    764 2018-11-02 15:34:37,234 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    765 2018-11-02 15:34:37,234 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    766 2018-11-02 15:34:37,269 send_delayed for wid 2, batch delay is 40ms, elapsed time is 60ms
    767 2018-11-02 15:34:37,274 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 66.1 ms, request time: 4.3 ms, frame delay=0ms
    768 2018-11-02 15:34:37,280 compress:  45.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.5%  ( 5059KB to   280KB), sequence   133, client_options={u'speed': 93, u'frame': 101, u'pts': 6071, 'csc': 'YUV444P', u'quality': 75}
    769 2018-11-02 15:34:37,281 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    770 2018-11-02 15:34:37,282 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    771 2018-11-02 15:34:37,321 compress:  39.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.9%  ( 5059KB to   346KB), sequence   134, client_options={u'speed': 93, u'frame': 102, u'pts': 6138, 'csc': 'YUV444P', u'quality': 75}
    772 2018-11-02 15:34:37,368 send_delayed for wid 2, batch delay is 40ms, elapsed time is 62ms
    773 2018-11-02 15:34:37,372 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 66.8 ms, request time: 3.5 ms, frame delay=0ms
    774 2018-11-02 15:34:37,372 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    775 2018-11-02 15:34:37,372 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    776 2018-11-02 15:34:37,408 compress:  35.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.8%  ( 5059KB to   192KB), sequence   135, client_options={u'speed': 93, u'frame': 103, u'pts': 6236, 'csc': 'YUV444P', u'quality': 75}
    777 2018-11-02 15:34:37,441 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    778 2018-11-02 15:34:37,445 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 44.5 ms, request time: 3.6 ms, frame delay=0ms
    779 2018-11-02 15:34:37,445 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    780 2018-11-02 15:34:37,446 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    781 2018-11-02 15:34:37,488 compress:  42.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.1%  ( 5059KB to   307KB), sequence   136, client_options={u'speed': 93, u'frame': 104, u'pts': 6310, 'csc': 'YUV444P', u'quality': 75}
    782 2018-11-02 15:34:37,528 send_delayed for wid 2, batch delay is 40ms, elapsed time is 41ms
    783 2018-11-02 15:34:37,534 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.5 ms, request time: 4.6 ms, frame delay=0ms
    784 2018-11-02 15:34:37,534 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    785 2018-11-02 15:34:37,534 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    786 2018-11-02 15:34:37,574 compress:  39.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.1%  ( 5059KB to   258KB), sequence   137, client_options={u'speed': 93, u'frame': 105, u'pts': 6398, 'csc': 'YUV444P', u'quality': 75}
    787 2018-11-02 15:34:37,601 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    788 2018-11-02 15:34:37,606 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.9 ms, request time: 4.4 ms, frame delay=0ms
    789 2018-11-02 15:34:37,607 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    790 2018-11-02 15:34:37,607 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    791 2018-11-02 15:34:37,648 compress:  40.3ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.8%  ( 5059KB to   293KB), sequence   138, client_options={u'speed': 93, u'frame': 106, u'pts': 6470, 'csc': 'YUV444P', u'quality': 75}
    792 2018-11-02 15:34:37,658 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    793 2018-11-02 15:34:37,665 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.2 ms, request time: 6.4 ms, frame delay=0ms
    794 2018-11-02 15:34:37,666 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    795 2018-11-02 15:34:37,666 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    796 2018-11-02 15:34:37,706 compress:  39.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   4.8%  ( 5059KB to   243KB), sequence   139, client_options={u'speed': 93, u'frame': 107, u'pts': 6529, 'csc': 'YUV444P', u'quality': 75}
    797 2018-11-02 15:34:37,706 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    798 2018-11-02 15:34:37,714 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 48.2 ms, request time: 6.1 ms, frame delay=0ms
    799 2018-11-02 15:34:37,715 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    800 2018-11-02 15:34:37,719 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    801 2018-11-02 15:34:37,761 compress:  42.0ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.4%  ( 5059KB to   272KB), sequence   140, client_options={u'speed': 93, u'frame': 108, u'pts': 6576, 'csc': 'YUV444P', u'quality': 75}
    802 2018-11-02 15:34:37,761 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 40, elapsed time is 41ms
    803 2018-11-02 15:34:37,766 send_delayed for wid 2, batch delay is 40ms, elapsed time is 45ms
    804 2018-11-02 15:34:37,771 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 50.5 ms, request time: 4.0 ms, frame delay=0ms
    805 2018-11-02 15:34:37,772 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    806 2018-11-02 15:34:37,773 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    807 2018-11-02 15:34:37,808 compress:  35.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.5%  ( 5059KB to   330KB), sequence   141, client_options={u'speed': 93, u'frame': 109, u'pts': 6635, 'csc': 'YUV444P', u'quality': 75}
    808 2018-11-02 15:34:37,827 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    809 2018-11-02 15:34:37,833 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.6 ms, request time: 5.5 ms, frame delay=0ms
    810 2018-11-02 15:34:37,834 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    811 2018-11-02 15:34:37,834 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    812 2018-11-02 15:34:37,875 compress:  40.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.3%  ( 5059KB to   316KB), sequence   142, client_options={u'speed': 93, u'frame': 110, u'pts': 6697, 'csc': 'YUV444P', u'quality': 75}
    813 2018-11-02 15:34:37,875 send_delayed for wid 2, batch delay is 40ms, elapsed time is 41ms
    814 2018-11-02 15:34:37,880 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.4 ms, request time: 3.8 ms, frame delay=0ms
    815 2018-11-02 15:34:37,881 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    816 2018-11-02 15:34:37,881 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    817 2018-11-02 15:34:37,915 compress:  33.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   7.4%  ( 5059KB to   376KB), sequence   143, client_options={u'speed': 93, u'frame': 111, u'pts': 6745, 'csc': 'YUV444P', u'quality': 75}
    818 2018-11-02 15:34:37,931 send_delayed for wid 2, batch delay is 40ms, elapsed time is 40ms
    819 2018-11-02 15:34:37,936 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 44.9 ms, request time: 4.1 ms, frame delay=0ms
    820 2018-11-02 15:34:37,937 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    821 2018-11-02 15:34:37,938 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    822 2018-11-02 15:34:37,978 send_delayed for wid 2, batch delay is 40ms, elapsed time is 41ms
    823 2018-11-02 15:34:37,983 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 46.1 ms, request time: 4.3 ms, frame delay=0ms
    824 2018-11-02 15:34:37,984 compress:  45.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.2%  ( 5059KB to   313KB), sequence   144, client_options={u'speed': 93, u'frame': 112, u'pts': 6800, 'csc': 'YUV444P', u'quality': 75}
    825 2018-11-02 15:34:37,986 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    826 2018-11-02 15:34:37,986 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    827 2018-11-02 15:34:38,030 compress:  44.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   6.0%  ( 5059KB to   305KB), sequence   145, client_options={u'speed': 93, u'frame': 113, u'pts': 6847, 'csc': 'YUV444P', u'quality': 75}
    828 2018-11-02 15:34:38,036 send_delayed for wid 2, batch delay is 40ms, elapsed time is 42ms
    829 2018-11-02 15:34:38,041 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 47.2 ms, request time: 4.2 ms, frame delay=0ms
    830 2018-11-02 15:34:38,042 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    831 2018-11-02 15:34:38,042 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    832 2018-11-02 15:34:38,079 compress:  36.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   5.4%  ( 5059KB to   272KB), sequence   146, client_options={u'speed': 93, u'frame': 114, u'pts': 6905, 'csc': 'YUV444P', u'quality': 75}
    833 2018-11-02 15:34:38,096 send_delayed for wid 2, batch delay is 40ms, elapsed time is 41ms
    834 2018-11-02 15:34:38,101 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.9 ms, request time: 4.1 ms, frame delay=0ms
    835 2018-11-02 15:34:38,102 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    836 2018-11-02 15:34:38,102 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    837 2018-11-02 15:34:38,110 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    838 2018-11-02 15:34:38,114 update_encoding_options(False) wid=2, want_alpha=False, speed=93, quality=85, bandwidth-limit=0, lossless threshold: 58 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    839 2018-11-02 15:34:38,114 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    840 2018-11-02 15:34:38,114 identify_video_subregion(1636, 959, 180, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840), (254305.9121144, 3, 27, 1542, 840), (254305.980578711, 3, 27, 1542, 840), (254306.023403588, 3, 27, 1542, 840), (254306.080442028, 3, 27, 1542, 840), (254306.138120773, 3, 27, 1542, 840), (254306.180227414, 3, 27, 1542, 840), (254306.226216848, 3, 27, 1542, 840), (254306.300137204, 3, 27, 1542, 840), (254306.3555247, 3, 27, 1542, 840), (254306.398411768, 3, 27, 1542, 840), (254306.45181701, 3, 27, 1542, 840), (254306.495310643, 3, 27, 1542, 840), (254306.535049009, 3, 27, 1542, 840), (254306.575116322, 3, 27, 1542, 840), (254306.624620193, 3, 27, 1542, 840), (254306.666689384, 3, 27, 1542, 840), (254306.712642382, 3, 27, 1542, 840), (254306.782550698, 3, 27, 1542, 840), (254306.829932492, 3, 27, 1542, 840), (254306.889199471, 3, 27, 1542, 840), (254306.939899881, 3, 27, 1542, 840), (254307.013382361, 3, 27, 1542, 840), (254307.156670535, 3, 27, 1542, 840), (254307.199632298, 3, 27, 1542, 840), (254307.232650257, 3, 27, 1542, 840), (254307.278145914, 3, 27, 1542, 840), (254307.32953546, 3, 27, 1542, 840), (254307.385313569, 3, 27, 1542, 840), (254307.424847349, 3, 27, 1542, 840), (254307.47266029, 3, 27, 1542, 840), (254307.528546476, 3, 27, 1542, 840), (254307.572627196, 3, 27, 1542, 840), (254307.616676938, 3, 27, 1542, 840), (254307.661437913, 3, 27, 1542, 840), (254307.709902383, 3, 27, 1542, 840), (254307.762077649, 3, 27, 1542, 840), (254307.793653473, 3, 27, 1542, 840), (254307.837918686, 3, 27, 1542, 840), (254307.869631324, 3, 27, 1542, 840), (254307.918181873, 3, 27, 1542, 840), (254307.975707812, 3, 27, 1542, 840), (254308.00298798, 3, 27, 1542, 840), (254308.032981436, 3, 27, 1542, 840), (254308.084280327, 3, 27, 1542, 840), (254308.141611996, 3, 27, 1542, 840), (254308.188627639, 3, 27, 1542, 840), (254308.247306051, 3, 27, 1542, 840), (254308.288355728, 3, 27, 1542, 840), (254308.340309263, 3, 27, 1542, 840), (254308.401546193, 3, 27, 1542, 840), (254308.448516184, 3, 27, 1542, 840), (254308.509124105, 3, 27, 1542, 840), (254308.586308769, 3, 27, 1542, 840), (254308.641068902, 3, 27, 1542, 840), (254308.701582252, 3, 27, 1542, 840), (254308.764746672, 3, 27, 1542, 840), (254308.829314485, 3, 27, 1542, 840), (254308.906502168, 3, 27, 1542, 840), (254308.970194303, 3, 27, 1542, 840), (254309.067249178, 3, 27, 1542, 840), (254309.162869301, 3, 27, 1542, 840), (254309.249410348, 3, 27, 1542, 840), (254309.322883425, 3, 27, 1542, 840), (254309.379826153, 3, 27, 1542, 840), (254309.427956288, 3, 27, 1542, 840), (254309.482383883, 3, 27, 1542, 840), (254309.548618244, 3, 27, 1542, 840), (254309.596088377, 3, 27, 1542, 840), (254309.652977925, 3, 27, 1542, 840), (254309.699497315, 3, 27, 1542, 840), (254309.756268713, 3, 27, 1542, 840), (254309.817073154, 3, 27, 1542, 840), (254309.863914926, 3, 27, 1542, 840)], maxlen=400))
    841 2018-11-02 15:34:38,116 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 119165760, 0) inregion=100%, inwindow=82%, ratio=1.2, score=105
    842 2018-11-02 15:34:38,116 score((119165760, 0))=105, damaged=100%
    843 2018-11-02 15:34:38,142 send_delayed for wid 2, batch delay is 36ms, elapsed time is 40ms
    844 2018-11-02 15:34:38,147 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.3 ms, request time: 4.1 ms, frame delay=0ms
    845 2018-11-02 15:34:38,161 compress:  59.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.6%  ( 5059KB to   183KB), sequence   147, client_options={u'speed': 93, u'frame': 115, u'pts': 6965, 'csc': 'YUV444P', u'quality': 75}
    846 2018-11-02 15:34:38,162 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    847 2018-11-02 15:34:38,162 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    848 2018-11-02 15:34:38,189 send_delayed for wid 2, batch delay is 36ms, elapsed time is 36ms
    849 2018-11-02 15:34:38,195 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 42.9 ms, request time: 5.4 ms, frame delay=0ms
    850 2018-11-02 15:34:38,209 compress:  46.6ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   2.8%  ( 5059KB to   139KB), sequence   148, client_options={u'speed': 93, u'frame': 116, u'pts': 7011, 'csc': 'YUV444P', u'quality': 85}
    851 2018-11-02 15:34:38,209 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    852 2018-11-02 15:34:38,210 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    853 2018-11-02 15:34:38,236 send_delayed for wid 2, batch delay is 36ms, elapsed time is 36ms
    854 2018-11-02 15:34:38,240 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 41.4 ms, request time: 4.1 ms, frame delay=0ms
    855 2018-11-02 15:34:38,254 compress:  44.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.9%  ( 5059KB to    93KB), sequence   149, client_options={u'speed': 93, u'frame': 117, u'pts': 7058, 'csc': 'YUV444P', u'quality': 85}
    856 2018-11-02 15:34:38,255 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    857 2018-11-02 15:34:38,256 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    858 2018-11-02 15:34:38,284 send_delayed for wid 2, batch delay is 36ms, elapsed time is 37ms
    859 2018-11-02 15:34:38,289 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 42.3 ms, request time: 4.3 ms, frame delay=0ms
    860 2018-11-02 15:34:38,299 compress:  43.2ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.1%  ( 5059KB to    54KB), sequence   150, client_options={u'speed': 93, u'frame': 118, u'pts': 7104, 'csc': 'YUV444P', u'quality': 85}
    861 2018-11-02 15:34:38,300 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    862 2018-11-02 15:34:38,301 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    863 2018-11-02 15:34:38,326 send_delayed for wid 2, batch delay is 36ms, elapsed time is 36ms
    864 2018-11-02 15:34:38,330 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 40.0 ms, request time: 3.0 ms, frame delay=0ms
    865 2018-11-02 15:34:38,341 compress:  39.5ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   0.4%  ( 5059KB to    21KB), sequence   151, client_options={u'speed': 93, u'frame': 119, u'pts': 7153, 'csc': 'YUV444P', u'quality': 85}
    866 2018-11-02 15:34:38,342 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    867 2018-11-02 15:34:38,342 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    868 2018-11-02 15:34:38,375 compress:  32.9ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   0.1%  ( 5059KB to     6KB), sequence   152, client_options={u'speed': 93, u'frame': 120, u'pts': 7195, 'csc': 'YUV444P', u'quality': 85}
    869 2018-11-02 15:34:38,382 send_delayed for wid 2, batch delay is 36ms, elapsed time is 38ms
    870 2018-11-02 15:34:38,389 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.5 ms, request time: 6.6 ms, frame delay=0ms
    871 2018-11-02 15:34:38,390 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    872 2018-11-02 15:34:38,390 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    873 2018-11-02 15:34:38,436 send_delayed for wid 2, batch delay is 36ms, elapsed time is 36ms
    874 2018-11-02 15:34:38,443 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 43.5 ms, request time: 5.3 ms, frame delay=0ms
    875 2018-11-02 15:34:38,443 compress:  53.4ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   0.9%  ( 5059KB to    46KB), sequence   153, client_options={u'speed': 93, u'frame': 121, u'pts': 7250, 'csc': 'YUV444P', u'quality': 85}
    876 2018-11-02 15:34:38,445 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    877 2018-11-02 15:34:38,446 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    878 2018-11-02 15:34:38,489 send_delayed for wid 2, delaying again because of backlog: 1 packets, batch delay is 36, elapsed time is 37ms
    879 2018-11-02 15:34:38,491 compress:  44.7ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   1.9%  ( 5059KB to    94KB), sequence   154, client_options={u'speed': 93, u'frame': 122, u'pts': 7305, 'csc': 'YUV444P', u'quality': 85}
    880 2018-11-02 15:34:38,494 send_delayed for wid 2, batch delay is 36ms, elapsed time is 42ms
    881 2018-11-02 15:34:38,497 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 45.6 ms, request time: 3.0 ms, frame delay=0ms
    882 2018-11-02 15:34:38,498 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    883 2018-11-02 15:34:38,498 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    884 2018-11-02 15:34:38,525 compress:  27.1ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   3.0%  ( 5059KB to   150KB), sequence   155, client_options={u'speed': 93, u'frame': 123, u'pts': 7362, 'csc': 'YUV444P', u'quality': 85}
    885 2018-11-02 15:34:38,552 send_delayed for wid 2, batch delay is 36ms, elapsed time is 37ms
    886 2018-11-02 15:34:38,556 process_damage_region: wid=2, adding pixel data to encode queue (1542x840  -  auto), elapsed time: 41.2 ms, request time: 3.5 ms, frame delay=0ms
    887 2018-11-02 15:34:38,556 make_data_packet: image=XShmImageWrapper(BGRX: 3, 27, 1542, 840), damage data: (2, 3, 27, 1542, 840, 'auto')
    888 2018-11-02 15:34:38,557 do_video_encode(auto, XShmImageWrapper(BGRX: 3, 27, 1542, 840), {'av-sync': True})
    889 2018-11-02 15:34:38,580 compress:  23.8ms for 1542x840  pixels at    3,27   for wid=2     using      h264 with ratio   2.2%  ( 5059KB to   111KB), sequence   156, client_options={u'speed': 93, u'frame': 124, u'pts': 7420, 'csc': 'YUV444P', u'quality': 85}
    890 2018-11-02 15:34:38,677 send_delayed_regions: bytes_cost=276104, bytes_threshold=941354, pixel_count=272008
    891 2018-11-02 15:34:38,678 send_delayed_regions: merged=[R(0, 0, 1636, 27), R(0, 27, 3, 840), R(1545, 27, 91, 840), R(0, 867, 1636, 91)], merged_bytes_cost=276104, bytes_cost=276104, merged_pixel_count=272008, pixel_count=272008
    892 2018-11-02 15:34:38,678 nonvideo(100, rgb24 not a supported video encoding)
    893 2018-11-02 15:34:38,678 send_delayed_regions: using full window update 1636x959 as rgb24, from <bound method WindowVideoSource.get_refresh_encoding of WindowVideoSource(2 : (1636, 959))>
    894 2018-11-02 15:34:38,679 process_damage_region: wid=2, adding pixel data to encode queue (1636x959  - rgb24), elapsed time: 1.5 ms, request time: 0.3 ms, frame delay=0ms
    895 2018-11-02 15:34:38,679 make_data_packet: image=XShmImageWrapper(BGRX: 0, 0, 1636, 959), damage data: (2, 0, 0, 1636, 959, 'rgb24')
    896 2018-11-02 15:34:38,693 rgb_encode using level=1 for 6275696 pixels at  50 speed, lz4 compressed 1636x959  in rgb24/BGRX: 6275696 bytes down to 206204
    897 2018-11-02 15:34:38,693 compress:  13.8ms for 1636x959  pixels at    0,0    for wid=2     using     rgb24 with ratio   3.3%  ( 6128KB to   201KB), sequence   157, client_options={'lz4': 1, 'rgb_format': 'BGRX'}
    898 2018-11-02 15:34:38,755 send_delayed for wid 2, batch delay is 36ms, elapsed time is 36ms
    899 2018-11-02 15:34:38,869 send_delayed for wid 2, batch delay is 36ms, elapsed time is 150ms
    900 2018-11-02 15:34:38,870 send_delayed_regions: bytes_cost=19804, bytes_threshold=941354, pixel_count=17756
    901 2018-11-02 15:34:38,870 send_delayed_regions: merged=[R(775, 915, 772, 23)], merged_bytes_cost=18780, bytes_cost=19804, merged_pixel_count=17756, pixel_count=17756
    902 2018-11-02 15:34:38,872 process_damage_region: wid=2, adding pixel data to encode queue ( 772x23   - rgb24), elapsed time: 153.8 ms, request time: 2.0 ms, frame delay=0ms
    903 2018-11-02 15:34:38,872 send_delayed_regions: sent 1 regions using ['rgb24']
    904 2018-11-02 15:34:38,873 make_data_packet: image=XShmImageWrapper(BGRX: 775, 915, 772, 23), damage data: (2, 775, 915, 772, 23, 'rgb24')
    905 2018-11-02 15:34:38,874 rgb_encode using level=1 for 71024 pixels at  93 speed, lz4 compressed  772x23   in rgb24/BGRX: 71024 bytes down to  4149
    906 2018-11-02 15:34:38,874 compress:   0.5ms for  772x23   pixels at  775,915  for wid=2     using     rgb24 with ratio   5.8%  (   69KB to     4KB), sequence   158, client_options={'bucket': 0, 'lz4': 1, 'store': 317, 'rgb_format': 'BGRX'}
    907 2018-11-02 15:34:39,110 recalculate_delays() wids=(2,), focus=2, maximized=[], fullscreen=[]
    908 2018-11-02 15:34:39,113 update_encoding_options(False) wid=2, want_alpha=False, speed=93, quality=95, bandwidth-limit=0, lossless threshold: 58 / 5, rgb auto threshold=32768 (min=2048, max=32768), get_best_encoding=<bound method WindowVideoSource.get_best_encoding_video of WindowVideoSource(2 : (1636, 959))>
    909 2018-11-02 15:34:39,114 VideoSubregion(rectangle(3, 27, 1542, 840)).identify_video_subregion(..)
    910 2018-11-02 15:34:39,114 identify_video_subregion(1636, 959, 190, deque([(254287.397855935, 0, 0, 1636, 959), (254287.995273672, 0, 0, 1636, 959), (254288.024387709, 0, 0, 2, 1), (254288.030089837, 2, 0, 1634, 1), (254288.030777816, 0, 1, 1636, 958), (254288.052971693, 0, 0, 1636, 959), (254291.788524529, 0, 0, 36, 23), (254292.097136198, 0, 0, 36, 23), (254292.36957685, 0, 0, 36, 23), (254293.667273312, 2, 941, 1512, 16), (254293.671456776, 0, 0, 1514, 27), (254293.671808022, 0, 27, 3, 840), (254293.672151403, 0, 867, 1514, 48), (254293.672454237, 0, 915, 797, 3), (254293.672750699, 0, 918, 4, 17), (254293.673067767, 792, 918, 5, 17), (254293.67336485, 0, 935, 797, 3), (254293.673656113, 0, 938, 1514, 3), (254293.673941777, 0, 941, 2, 16), (254293.677739449, 797, 915, 794, 23), (254293.692276924, 1514, 0, 122, 27), (254293.692718462, 1589, 27, 47, 840), (254293.693063648, 1514, 867, 122, 48), (254293.693467416, 1591, 915, 45, 23), (254293.693778396, 1514, 938, 122, 19), (254293.694093585, 0, 957, 1636, 2), (254293.694396357, 4, 918, 788, 17), (254293.703045708, 3, 27, 1586, 840), (254294.381923767, 797, 915, 781, 23), (254294.383420883, 0, 0, 1636, 27), (254294.383792321, 0, 27, 3, 840), (254294.384162876, 1589, 27, 47, 840), (254294.384587092, 0, 867, 1636, 48), (254294.384910512, 0, 915, 797, 3), (254294.386648331, 1578, 915, 58, 3), (254294.387086555, 0, 918, 4, 17), (254294.387656002, 792, 918, 5, 17), (254294.387976387, 1578, 918, 58, 17), (254294.388725021, 0, 935, 797, 3), (254294.389064018, 1578, 935, 58, 3), (254294.389384282, 0, 938, 1636, 21), (254294.389704002, 4, 918, 788, 17), (254294.391759895, 3, 27, 1586, 840), (254298.094389684, 3, 27, 1542, 840), (254298.701898771, 3, 27, 1542, 840), (254298.831121625, 3, 27, 1542, 840), (254299.469715849, 3, 27, 1542, 840), (254299.58351041, 3, 27, 1542, 840), (254299.690640483, 3, 27, 1542, 840), (254299.794880884, 3, 27, 1542, 840), (254300.469492529, 3, 27, 1542, 840), (254300.599347508, 3, 27, 1542, 840), (254300.691646806, 3, 27, 1542, 840), (254300.787936281, 3, 27, 1542, 840), (254301.454171401, 3, 27, 1542, 840), (254301.61276286, 3, 27, 1542, 840), (254301.713304489, 3, 27, 1542, 840), (254301.784890883, 3, 27, 1542, 840), (254301.855964937, 3, 27, 1542, 840), (254302.485823155, 3, 27, 1542, 840), (254302.569455041, 3, 27, 1542, 840), (254302.643817582, 3, 27, 1542, 840), (254302.740817741, 3, 27, 1542, 840), (254302.829451423, 3, 27, 1542, 840), (254302.959070254, 3, 27, 1542, 840), (254303.473700302, 3, 27, 1542, 840), (254303.543526215, 3, 27, 1542, 840), (254303.60909981, 3, 27, 1542, 840), (254303.673738724, 3, 27, 1542, 840), (254303.740827069, 3, 27, 1542, 840), (254303.798008105, 3, 27, 1542, 840), (254303.854271936, 3, 27, 1542, 840), (254303.915508824, 3, 27, 1542, 840), (254303.976209703, 3, 27, 1542, 840), (254304.044129815, 3, 27, 1542, 840), (254304.109219542, 3, 27, 1542, 840), (254304.177598695, 3, 27, 1542, 840), (254304.242387428, 3, 27, 1542, 840), (254304.310043975, 3, 27, 1542, 840), (254304.369524832, 3, 27, 1542, 840), (254304.432775809, 3, 27, 1542, 840), (254304.492484986, 3, 27, 1542, 840), (254304.552144126, 3, 27, 1542, 840), (254304.620612472, 3, 27, 1542, 840), (254304.681091512, 3, 27, 1542, 840), (254304.738711429, 3, 27, 1542, 840), (254304.798753994, 3, 27, 1542, 840), (254304.8597675, 3, 27, 1542, 840), (254304.924352396, 3, 27, 1542, 840), (254304.989145284, 3, 27, 1542, 840), (254305.036590133, 3, 27, 1542, 840), (254305.085908275, 3, 27, 1542, 840), (254305.142351581, 3, 27, 1542, 840), (254305.191461417, 3, 27, 1542, 840), (254305.249179739, 3, 27, 1542, 840), (254305.296783793, 3, 27, 1542, 840), (254305.344731774, 3, 27, 1542, 840), (254305.392861588, 3, 27, 1542, 840), (254305.446298242, 3, 27, 1542, 840), (254305.495267676, 3, 27, 1542, 840), (254305.544113208, 3, 27, 1542, 840), (254305.592877299, 3, 27, 1542, 840), (254305.650541629, 3, 27, 1542, 840), (254305.715300885, 3, 27, 1542, 840), (254305.767926888, 3, 27, 1542, 840), (254305.818054709, 3, 27, 1542, 840), (254305.869449619, 3, 27, 1542, 840), (254305.9121144, 3, 27, 1542, 840), (254305.980578711, 3, 27, 1542, 840), (254306.023403588, 3, 27, 1542, 840), (254306.080442028, 3, 27, 1542, 840), (254306.138120773, 3, 27, 1542, 840), (254306.180227414, 3, 27, 1542, 840), (254306.226216848, 3, 27, 1542, 840), (254306.300137204, 3, 27, 1542, 840), (254306.3555247, 3, 27, 1542, 840), (254306.398411768, 3, 27, 1542, 840), (254306.45181701, 3, 27, 1542, 840), (254306.495310643, 3, 27, 1542, 840), (254306.535049009, 3, 27, 1542, 840), (254306.575116322, 3, 27, 1542, 840), (254306.624620193, 3, 27, 1542, 840), (254306.666689384, 3, 27, 1542, 840), (254306.712642382, 3, 27, 1542, 840), (254306.782550698, 3, 27, 1542, 840), (254306.829932492, 3, 27, 1542, 840), (254306.889199471, 3, 27, 1542, 840), (254306.939899881, 3, 27, 1542, 840), (254307.013382361, 3, 27, 1542, 840), (254307.156670535, 3, 27, 1542, 840), (254307.199632298, 3, 27, 1542, 840), (254307.232650257, 3, 27, 1542, 840), (254307.278145914, 3, 27, 1542, 840), (254307.32953546, 3, 27, 1542, 840), (254307.385313569, 3, 27, 1542, 840), (254307.424847349, 3, 27, 1542, 840), (254307.47266029, 3, 27, 1542, 840), (254307.528546476, 3, 27, 1542, 840), (254307.572627196, 3, 27, 1542, 840), (254307.616676938, 3, 27, 1542, 840), (254307.661437913, 3, 27, 1542, 840), (254307.709902383, 3, 27, 1542, 840), (254307.762077649, 3, 27, 1542, 840), (254307.793653473, 3, 27, 1542, 840), (254307.837918686, 3, 27, 1542, 840), (254307.869631324, 3, 27, 1542, 840), (254307.918181873, 3, 27, 1542, 840), (254307.975707812, 3, 27, 1542, 840), (254308.00298798, 3, 27, 1542, 840), (254308.032981436, 3, 27, 1542, 840), (254308.084280327, 3, 27, 1542, 840), (254308.141611996, 3, 27, 1542, 840), (254308.188627639, 3, 27, 1542, 840), (254308.247306051, 3, 27, 1542, 840), (254308.288355728, 3, 27, 1542, 840), (254308.340309263, 3, 27, 1542, 840), (254308.401546193, 3, 27, 1542, 840), (254308.448516184, 3, 27, 1542, 840), (254308.509124105, 3, 27, 1542, 840), (254308.586308769, 3, 27, 1542, 840), (254308.641068902, 3, 27, 1542, 840), (254308.701582252, 3, 27, 1542, 840), (254308.764746672, 3, 27, 1542, 840), (254308.829314485, 3, 27, 1542, 840), (254308.906502168, 3, 27, 1542, 840), (254308.970194303, 3, 27, 1542, 840), (254309.067249178, 3, 27, 1542, 840), (254309.162869301, 3, 27, 1542, 840), (254309.249410348, 3, 27, 1542, 840), (254309.322883425, 3, 27, 1542, 840), (254309.379826153, 3, 27, 1542, 840), (254309.427956288, 3, 27, 1542, 840), (254309.482383883, 3, 27, 1542, 840), (254309.548618244, 3, 27, 1542, 840), (254309.596088377, 3, 27, 1542, 840), (254309.652977925, 3, 27, 1542, 840), (254309.699497315, 3, 27, 1542, 840), (254309.756268713, 3, 27, 1542, 840), (254309.817073154, 3, 27, 1542, 840), (254309.863914926, 3, 27, 1542, 840), (254309.914874518, 3, 27, 1542, 840), (254309.9613265, 3, 27, 1542, 840), (254310.009097301, 3, 27, 1542, 840), (254310.052461096, 3, 27, 1542, 840), (254310.105902495, 3, 27, 1542, 840), (254310.161420771, 3, 27, 1542, 840), (254310.214173036, 3, 27, 1542, 840), (254310.276996996, 3, 27, 1542, 840), (254310.480684772, 775, 915, 759, 23), (254310.48139778, 1534, 915, 13, 23)], maxlen=400))
    911 2018-11-02 15:34:39,117 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 104917680, 17756) inregion=99%, inwindow=82%, ratio=1.2, score=105
    912 2018-11-02 15:34:39,117 testing      current video region        rectangle(3, 27, 1542, 840):  99% in,   0% out,  82% of window, damaged ratio=1.00, score=105
    913 2018-11-02 15:34:39,117 identify video: most=100% damage count={R(3, 27, 1542, 840): MutableInteger(81)}
    914 2018-11-02 15:34:39,118 identify video: score most damaged area rectangle(3, 27, 1542, 840)=105%
    915 2018-11-02 15:34:39,118 merged regions scores: {R(3, 27, 1542, 840): 105, None: 0}
    916 2018-11-02 15:34:39,118 keeping existing video region rectangle(3, 27, 1542, 840) with score 105
    917 2018-11-02 15:34:39,118 scoreinout(1636, 959, rectangle(3, 27, 1542, 840), 104917680, 17756) inregion=99%, inwindow=82%, ratio=1.2, score=105
    918 2018-11-02 15:34:39,119 score((104917680, 17756))=105, damaged=100%
    919 ^C
    920 2018-11-02 15:34:39,824 got signal SIGINT, exiting
    921 2018-11-02 15:34:39,825 Disconnecting client Protocol(unix-domain socket:/run/user/250/xpra/curry-57):
    922 2018-11-02 15:34:39,825  server shutdown
    923 2018-11-02 15:34:39,828 encoding_totals for wid=1 with primary encoding=auto : {'h264': [3, 1602616], 'rgb24': [29, 2352329]}
    924 2018-11-02 15:34:39,829 encode_ended()
    925 2018-11-02 15:34:39,829 encoding_totals for wid=2 with primary encoding=auto : {'h264': [127, 165044576], 'h265': [22, 34480336], 'rgb24': [9, 7864860], 'delta': [1, 17756]}
    926 2018-11-02 15:34:39,830 encoding_totals for wid=6 with primary encoding=auto : {'rgb24': [1, 47806], 'rgb32': [1, 47806]}
    927 2018-11-02 15:34:39,835 xpra client 1 disconnected.
    928 2018-11-02 15:34:39,959 encode_ended()
    929 2018-11-02 15:34:39,959 encode_ended()
    930 2018-11-02 15:34:39,959 killing xvfb with pid 74677
    931 2018-11-02 15:34:39,960 removing socket /run/user/250/xpra/curry-57
    932 (II) Server terminated successfully (0). Closing log file.
    93312
    934 }}}