xpra icon
Bug tracker and wiki

Opened 3 years ago

Last modified 4 weeks ago

#1310 assigned enhancement

vpx 10-bit colour encoding support

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.1
Component: encodings Version: trunk
Keywords: 10-bit colour vpx Cc:


Follow up from #909, we may want to wait for vp10 to come out too.
The API documentation is very limited but both gstreamer and ffmpeg have support for it - which we could re-use via the enc_ffmpeg encoder (#1107).

Change History (6)

comment:1 Changed 3 years ago by Antoine Martin

libvpx needs to be compiled with --enable-vp9-highbitdepth, CONFIG_VP9_HIGHBITDEPTH should be set and the image formats we can use are "Image uses 16bit framebuffer":


I believe those formats store the the YUV channels in the high 10/12 bits of each 16bit value. Wasting quite a bit of space and requiring a CSC step to go from R210 to this format.. sigh.

Note: vpx now also supports alpha channel: VPX_IMG_FMT_HAS_ALPHA.

Also worth considering colorspace bits (#1155): enum vpx_color_space.

Last edited 3 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 3 years ago by Antoine Martin

Milestone: 3.02.1

Somewhat blocked by rpath issues: #1405

comment:3 Changed 2 years ago by Antoine Martin

Milestone: 2.13.0
Status: newassigned

re-scheduling - the 16-bit per channel reformatting constraint is costly.

comment:4 Changed 19 months ago by Antoine Martin

Milestone: 3.03.1

comment:5 Changed 7 months ago by Antoine Martin

Milestone: 3.14.0

Milestone renamed

comment:6 Changed 4 weeks ago by Antoine Martin

Milestone: 4.04.1
Note: See TracTickets for help on using tickets.