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 2 of Ticket #1346


Ignore:
Timestamp:
10/26/16 09:07:10 (5 years ago)
Author:
Antoine Martin
Comment:

I'm not sure what's happening here, I cannot reproduce it. The YUV420P context replaces the BGRX one when the heuristics have decided that this is "real video" and therefore should be encoded as such. (#800, #1135) I suspect that the problem may well go away if you run with XPRA_B_FRAMES=0. It could be related to the client's capabilities, in particular how many CPU / threads are available. Does it help if you run the server with: XPRA_X264_THREADS=1 and XPRA_X264_SLICED_THREADS=0? (and keeping b-frames enabled)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1346

    • Property Owner changed from Antoine Martin to alas
  • Ticket #1346 – Description

    initial v2  
    22222016-10-25 17:15:30,114   type = avcodec
    2323}}}
    24 
    25 Server-side:
    26 {{{
    27 2016-10-25 17:15:27,997 client 3: Error: avcodec error -35 decoding 7928 bytes of h264 data:
    28 2016-10-25 17:15:27,998 client 3:  'Resource temporarily unavailable'
    29 2016-10-25 17:15:27,998 client 3:  frame 0
    30 2016-10-25 17:15:27,999 client 3:  options={'pts': 0, 'encoding': 'h264', 'type': 'IDR', 'frame': 0, 'delayed': 1, 'csc': 'YUV420P', 'paint': False, 'flush': 0, 'quality': 60, 'speed': 73}
    31 2016-10-25 17:15:27,999 client 3:  decoder state:
    32 2016-10-25 17:15:28,000 client 3:   decoder_height = 360
    33 2016-10-25 17:15:28,000 client 3:   encoding = h264
    34 2016-10-25 17:15:28,002 client 3:   colorspace = YUV420P
    35 2016-10-25 17:15:28,002 client 3:   actual_colorspace = YUV420P
    36 2016-10-25 17:15:28,003 client 3:   height = 360
    37 2016-10-25 17:15:28,003 client 3:   decoder_width = 640
    38 2016-10-25 17:15:28,004 client 3:   width = 640
    39 2016-10-25 17:15:28,006 client 3:   version = (57, 48, 101)
    40 2016-10-25 17:15:28,006 client 3:   formats = ['YUV422P', 'BGRX', 'GBRP', 'RGB', 'YUV420P', 'BGRA', 'ARGB', 'XRGB', 'YUV444P']
    41 2016-10-25 17:15:28,006 client 3:   frames = 0
    42 2016-10-25 17:15:28,006 client 3:   type = avcodec
    43 }}}