xpra icon
Bug tracker and wiki

Opened 5 months ago

Closed 4 months ago

#2845 closed defect (fixed)

disable video scaling when the video pipeline can't honour it

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: encodings Version: 3.0.x
Keywords: Cc:

Description

Seen when testing for #1310: the new pixel transforms (ie: r210 to YUV444P10) don't handle scaling, and this causes video errors:

get_video_pipeline_options(['vp9'], 1041, 775, 'r210', False) last params=(['vp9'], 1041, 775, 'r210'), full_csc_modes={b'h264': (b'ARGB', b'BGRA', b'BGRX', b'GBRP', b'GBRP10', b'RGB', b'XRGB', b'YUV420P', b'YUV422P', b'YUV444P', b'YUV444P10', b'r210'), b'vp8': (b'YUV420P',), b'h265': (b'BGRX', b'GBRP', b'GBRP10', b'RGB', b'YUV420P', b'YUV422P', b'YUV444P', b'YUV444P10', b'r210'), b'mpeg4': (b'YUV420P',), b'mpeg1': (b'YUV420P',), b'mpeg2': (b'YUV420P',), b'vp9': (b'YUV420P', b'YUV444P', b'YUV444P10'), b'webp': (b'BGRA', b'BGRX', b'RGBA', b'RGBX')}
get_video_pipeline_options(['vp9'], 1041, 775, 'r210') speed: 92 (min 30), quality: 95 (min 30)
 no matching colorspace specs for r210 - direct (no csc)
scaling ((2, 3)) not supported by vpx(YUV420P to vp9)
 no score data for ('YUV420P', cython(r210 to YUV420P), vpx(YUV420P to vp9), 1041, 775, (2, 3), '..')
 no matching colorspace specs for BGR48 - via BGR48
scaling ((2, 3)) not supported by vpx(YUV444P10 to vp9)
 no score data for ('YUV444P10', cython(r210 to YUV444P10), vpx(YUV444P10 to vp9), 1041, 775, (2, 3), '..')
get_video_pipeline_options(['vp9'], 1041, 775, 'r210') scores=[]
Error: no video pipeline options found for r210 30-bit at 1041x775
Error: failed to setup a video pipeline for vp9 encoding with source format r210
 all encoders: vpx
 supported CSC modes: YUV420P, YUV444P, YUV444P10
 supported encoders: vpx
 encoders CSC modes: YUV420P, YUV444P, YUV444P10

Change History (1)

comment:1 Changed 4 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done in r26990.

Note: See TracTickets for help on using tickets.